Graph query languages: Cypher vs. Gremlin vs. nGQL
nebula-graph.io
Graph query languages: Cypher vs. Gremlin vs. nGQL
1–10 of 66 posts
Re: Graph query languages: Cypher vs. Gremlin vs. nGQL
#2Re: Graph query languages: Cypher vs. Gremlin vs. nGQL
#3Re: Graph query languages: Cypher vs. Gremlin vs. nGQL
#4Re: Graph query languages: Cypher vs. Gremlin vs. nGQL
#5I rather like Cypher, easy to get into with the (node)-[edge]->(node) construction, difficult in the middle (until you realise that WITH is very different to SQL's), then a delight. Gremlin, so they let Java's horrible camelCase leak into their syntax? Oh my ...
Overuse of WITH does make it a bit more imperative, but also makes it easy to shape the result in the form you want it in. Cypher has been a joy to work with. Gremlin, by comparison, does not attract me at all.
Re: Graph query languages: Cypher vs. Gremlin vs. nGQL
#6I rather like Cypher, easy to get into with the (node)-[edge]->(node) construction, difficult in the middle (until you realise that WITH is very different to SQL's), then a delight. Gremlin, so they let Java's horrible camelCase leak into their syntax? Oh my ...
Re: Graph query languages: Cypher vs. Gremlin vs. nGQL
#7For application developers, having access to general public Knowledge Graphs like DBPedia and WikiData can be a very good resource.
While I am also a big fan of more general graph databases like Neo4J, not even mentioning SPARQL is such a HUGE OMISSION that I have to suspect some commercially motivated bias in this article.
The decision of which graph data platform to use is not always black and white. Use SPARQL with a RDF/OWL data store or a more general graph data store like Neo4J as appropriate. Learn both technologies.
Re: Graph query languages: Cypher vs. Gremlin vs. nGQL
#8Is anybody still using SPARQL?
As I mentioned in another comment, the SPARQL endpoints for WikiData and DBPedia are fantastic resources, for some projects.
Re: Graph query languages: Cypher vs. Gremlin vs. nGQL
#9I rather like Cypher, easy to get into with the (node)-[edge]->(node) construction, difficult in the middle (until you realise that WITH is very different to SQL's), then a delight. Gremlin, so they let Java's horrible camelCase leak into their syntax? Oh my ...
You write Gremlin in the programming language of your choice and with that comes the idioms of that language. For Java that means, camelCased syntax as that is what Java developers expect. So a function like hasLabel("person") looks right to them. In C#, that same function is HasLabel("person") and in Clojure it is (has-label :person) and so on. Gremlin isn't meant to be an embedded string within your programming lan…
Re: Graph query languages: Cypher vs. Gremlin vs. nGQL
#10Is anybody still using SPARQL?
Also, much of the work in validation (SHACL, Shex) of graphs leverages SPARQL so it's not going anwhere soon. I would like to see it evolve to allow more vertex based searches without the need for extensions though.