CodyKochmann / graphdb

sqlite based graph database for storing native python objects and their relationships to each other
MIT License
192 stars 10 forks source link

Integration with Gremlin-Python for Apache Tinkerpop #9

Open bkmeneguello opened 6 years ago

bkmeneguello commented 6 years ago

Gremlin DSL is a standard language for graph querying. https://pypi.python.org/pypi/gremlinpython http://tinkerpop.apache.org/docs/current/reference/#gremlin-python http://tinkerpop.apache.org/docs/current/dev/provider/

CodyKochmann commented 6 years ago

@bkmeneguello This is really interesting. I've never heard of this before. Thanks for sharing it.

When you say integration, do you mean adding tinkerpops syntax to graphdb or do you mean setting graphdb up to use tinkerpop as its backend?

bkmeneguello commented 6 years ago

Thinkerpop has an specification named Blueprints, that allows graph databases to implement, like a driver, and works over some primitive operations like index and element fetching. You just need to map these primitives to your database internals then tinkerpop shell can talk to your db using gremlin language, but you needn't to parse or deal with language specificities.

Em Dom, 18 de mar de 2018 14:01, Cody Kochmann notifications@github.com escreveu:

@bkmeneguello https://github.com/bkmeneguello This is really interesting. I've never heard of this before. Thanks for sharing it.

When you say integration, do you mean adding tinkerpops syntax to graphdb or do you mean setting graphdb up to use tinkerpop as its backend?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CodyKochmann/graphdb/issues/9#issuecomment-374016200, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQuOH59HCeM36U9B7Gs5dMsgbUtj4LJks5tfpLpgaJpZM4R3aMp .

CodyKochmann commented 6 years ago

I'll have to poke around a little. If you know of any other python based databases that have done this before, lemme know. All the examples Ive found so far are in java.