Hi n4j folks,
I have a question regarding cypher syntax: I want to match a path and exclude a certain relationship path.
I tried it with:
match p=(:WProcedure) - [*1..50] -> (:WTask)
where all(rel in relationships(p) WHERE type(rel) <> "CONSISTS_OF")
As you can see, I want to exclude the rel type "CONSISTS_OF" but it does not work..
The statement excludes the only "CONSISTS_OF" relationships but if there are several relationships without the type "CONSISTS_OF", I receive the other types AND the ones with "CONSISTS_OF".
I hope you can help me on that one!
Your n4j ninja,