This doesn't return anything
This returns stuff:
This returns stuff too:
And so does this:
I thought that the "." at the end of each statement terminates the pattern. But in query 1, it seems the property path in the third pattern is somehow added to the second pattern. Adding parens doesn't help
These queries are all syntactically incorrect as the parser trips over a lack of namespace definitions.
However, after mocking up some prefixes we see the following algebra tree for the first query:
It looks as if the name generated for the anonymous intermediate variable in the path expression is accidentally reused for the two property paths.
They are valid at the endpoint given in Environment (that repo knows the prefixes and will add them)
Shouldn't the end of line be this to test my query 1?
Yep, has been fixed.