質問

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.

役に立ちましたか?

解決

MATCH (somenode)-->(neighbor)-[r]->(neighborsNeighbor)<--(somenode)
RETURN r
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top