Re:Introducing OpenCypher, the open graph query language pro...
by okram on Thursday October 22, 2015 @06:57PM
(#10435720)
This is an exact replica in Gremlin3:
However, this can be expressed in a much simpler form as you don't need all the variables. Simply do:
[ Parent
| on HN ]
Re:Introducing OpenCypher, the open graph query language pro...
by cheerfulstoic on Thursday October 22, 2015 @09:43PM
(#10436342)
Sometimes you do need the labels, depending on what you're trying to query for. If, for example, a person could have acted in both plays and movies, sometimes you might want one or the other specifically.