How to retrieve nodes for multiple depth relationships Neo4j Database Cypher?
问题 Assuming that there is a simple graph as follows, (City {name:gotham})<-[:LOCATED]-(Tower {name:abc})<-[:LOCATED]-(Bank:{name:CityBank}) (City {name:gotham})<-[:LOCATED]-(Cinema {name:MainHall}) (City {name:gotham})<-[:LOCATED]-(Bank {name:ComBank}) How can i get all banks located in City named Gotham in Neo4j Database (including CityBank and comBank)? I tried following pattern, it returned all the nodes LOCATED in City named gotham (Including Cinema as well) MATCH (City{name:'Gotham'})<--