(Sorry for being a noob tainted with Neo4J thinking…)
This works on a graph with directed edges
SELECT * FROM vendor-(ISA)->descriptor WHERE from_id =="Ford"
I would have expected (with my Neo4J experience) that turning the query around should have worked:
SELECT * FROM descriptor<-(ISA)-vendor WHERE to_id == "manufacturer"
Encountered " "<" "< "" at line 1, column 25.
Was expecting one of:
<EOF>
"limit" ...
"order" ...
"where" ...
"-(" ...
Or I would have expected that leaving out the directionality of the edge should have worked too:
SELECT * FROM descriptor-(ISA)-vendor limit 3
Semantic Check Fails: The edge type ISA is not from descriptor to vendor!
I haven’t tried this out yet, but it seems that maybe if I define ISA
without a directionality, then these queries would work (of course, without >
or <
)?
But I wonder how that would square with an undirected edge that still defines a FROM and TO? (I’ll experiment with this later.)
Or is this another Built-in Query restriction that I’m encountering?
Sorry for my further confusion.