here is how my graph looks like:
I would like to get the property ‘value’ of the vertex ‘String’ by only traversing the edge ‘UID’ from the vertex ‘PageTemplate’ and the current state. The edge ‘STATE_OF’ has two properties ‘from’ and ‘to’.
My query attempt:
SELECT FROM (TRAVERSE out(‘UID’).out(‘STATE_OF’)[to = 922337203685477] FROM PageTemplate)
It returns the vertex ‘PageTemplate’ and I don’t unterstand completely the command TRAVERSE. After FROM you specify the begin of the traversal. In my case I should use ‘PageTemplate’, but the result is I get the vertex ‘PageTemplate’ back and not the vertex/property I traverse to. What do I have to change?
Many thanks in advance