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 language. It is actual code within your programming language.
HN user
spmallette
11 karma
Posts1
Comments3
Graph query languages: Cypher vs. Gremlin vs. nGQL 6 years ago
GremlinBin 10 years ago
GremlinBin is a new tool for working with the Gremlin graph traversal language from Apache TinkerPop. "Here you will be able to test and share your gremlin queries with the world."
The Gremlin Graph Traversal Language 11 years ago
For TinkerPop3, aiogremlin is probably the most current tooling for python/tinkerpop: https://github.com/davebshow/aiogremlin