Cypher query to find nodes that are not related to other node by property
问题 Consider the following DB structure: For your convenience, you can create it using: create (p1:Person {name: "p1"}),(p2:Person {name: "p2"}),(p3:Person {name: "p3"}),(e1:Expertise {title: "Exp1"}),(e2:Expertise {title: "Exp2"}),(e3:Expertise {title: "Exp3"}),(p1)-[r1:Expert]->(e1),(p1)-[r2:Expert]->(e2),(p2)-[r3:Expert]->(e2),(p3)-[r4:Expert]->(e3),(p2)-[r5:Expert]->(e3) I want to be able to find all Person nodes that are not related to a specific Expertise node, e.g. "Exp2" I tried MATCH (p