Let’s take the example in the following site:
https://console.neo4j.org/
After creating an edge with:
match (n{name:"Neo"})-->(t{name:"Trinity"}) create (t)-[:LOVES]->(n)
We get the following graph:
The following query:
match (a)-->(b)-->(c) return a,b,c
Returns a result where a==c:
But the next query:
match (a)-->(b)<--(c) return a,b,c
Doesn’t. I’d expect it to return every edge, since if a==c, then (a)–>(b)<–(c) is equivalent to “(a)–>(b)”. Where do I get it wrong?