Please see similar answer at : https://stackoverflow.com/a/14254214/1060044
I have a requirement where I have pattern like below:
MATCH (b:Label1{id:123})<--(Label2)<--(a:Label3) WHERE NOT (a)<--(Label4) return a;
I am getting syntax error with this query. Is there any efficient way to achieve this?
I am using neo4j community version 2.1.2