4 ms·
> Why We Need a Common Graph Query Language > I believe that graph query language is Cypher. I, and others, believe gremlin is that common graph query languag
by klapinat0r 11y ago
> Why We Need a Common Graph Query Language
> I believe that graph query language is Cypher.
I, and others, believe gremlin is that common graph query language.
My first meet with graph databases was in fact Neo4j, but quickly pivoted to Titan, and now using Cayley for smaller projects (although its Cassandra model will make an interesting future).
All except Neo4j supported gremlin, which to me is expressive, formal and actual-human readable.
Cypher looks cool, and has intuitive method of writing the edge query parts, but while it looks hip, I didn't find it obvious nor human parsable. Human readable yes. You recognize the terms, but translating it into an AST is simpler and easier in gremlin than in Cypher (in my opinion)
- okram 11y agoGremlin3 is now apart of Apache and nearly every graph vendor supports TinkerPop3 (or in the process of migrating to TinkerPop3). http://tinkerpop.incubator.apache.org/ http://tinkerpop.incubator.apache.org/ Next, with TinkerPop/Gremlin you not only get a language but a virtual machine that can execute other languages (e.g. SPARQL) http://www.datastax.com/dev/blog/the-benefits-of-the-gremlin-graph-traversal-machine http://www.datastax.com/dev/blog/the-benefits-of-the-gremlin... . The virtual machine executes over OLTP graph databases (Titan, Neo4j, OrientDB, etc.) and over OLAP graph processors (Spark, Giraph, etc.).
- optimuspaul 11y agoGremlin is certainly more readable in my opinion. Cypher has always felt like it was trying to hard to be different.
- okram 11y agohttp://www.slideshare.net/slidarko/the-gremlin-traversal-language http://www.slideshare.net/slidarko/the-gremlin-traversal-lan...
- iamtherhino 11y agoNeo4j does support Gremlin: https://github.com/neo4j-contrib/gremlin-plugin https://github.com/neo4j-contrib/gremlin-plugin Gremlin was originally developed by Neo4j co-founder Peter Neubaurer and Marko Rodriguez (Titan founder) while they were both working at Neo4j.
- th0ma5 11y agoI was thinking / hoping that language was SPARQL.
- okram 11y agohttps://github.com/dkuppitz/sparql-gremlin https://github.com/dkuppitz/sparql-gremlin