In gremlin is it possible to store a vertex ID inside another vertex? For instance if I created a vertex like this
g.
addV('my_vertex_label').property(id,'my_vertex_id').
property('anotherVertexID','other_vertex_id')
and then queried it
V('my_vertex_id').properties('anotherVertexID').value()
it will return
["other_vertex_id"]
is there anyway I can query the other vertex like this:
V(V('my_vertex_id').properties('anotherVertexID').value())
Note that I am using AWS Neptune
so the query must be pure gremlin no java/groovy