0
match (a:person {name:'John'} )-[r:KNOWS]->(b:person) return b

will give me all people known by John. How do I get all people NOT known by John?

Marty
  • 39,033
  • 19
  • 93
  • 162

1 Answers1

0

match (a:person {name:'John'} ), (b:person) where not a-[:KNOWS]->b return b