How can I write reflexive relationship query using Cypher? For example, I have defined a directional relationship named follows which is used between User nodes. What I am looking for is finding the users that follow each other.
Here is what I have tried:
MATCH (x:User)-[:FOLLOWS]->(y:User), y-[:FOLLOWS]->x
Detail regarding Neo4j:
Version: 3.5.2
Edition: Community