Given: 3 nodes labelled A, B, C
Graph: (A)-[1]-(B), (B)-[2]-(C), (A)-[2]-(C)
Desired: A query that returns nodes where relation name is not "2" starting from (A).
Tried:
Match (n:A)-[r]-(x) where type(r)<>"2" return n,r,x
AND
MATCH p=(n:A)--(y) WHERE ALL(z in relationships(p) WHERE type(z) <> "2" RETURN n,y
Though I get in the browser a graph that includes all relations from (A) including "2" - in this case (A)-[2]-(C)
Maybe just thinking wrong - how would I exclude a dedicated relation from the graph shown in the neo4j browser?