0

I want to get the first hop neighbour nodes of some given set of nodes. After getting all the neighbour nodes, i want to get all the relationships existing between these neighbour nodes. I am not able to write cypher query for this.

tstorms
  • 4,941
  • 1
  • 25
  • 47
Sandeep
  • 53
  • 1
  • 7

1 Answers1

2
MATCH (somenode)-->(neighbor)-[r]->(neighborsNeighbor)<--(somenode)
RETURN r
Jacob Davis-Hansson
  • 2,603
  • 20
  • 26