What does the following Cypher query express? a. Return all of Barts friends, and their friends as

Question:

What does the following Cypher query express?

MATCH (bart:User {name:'Bart'})-[:KNOWS*2]->(f) WHERE NOT((bart)-[:KNOWS]->(f)) RETURN f

a. Return all of Bart’s friends, and their friends as well.

b. Do not return Bart’s friends, but return their friends.

c. Do not return Bart’s friends, but return their friends if Bart does not know them.

d. Return Bart’s friends who have exactly one other friend.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: