Strange behavior in neo4j when I try to get all the nodes which relate with a master node
问题 I am trying to write a query which will give me all the nodes which are connected with a "master" node. Lets say that the node connect like this: A -> B B -> C C -> D C -> E B -> F What I want initially is to write a query which will return to me all the node's names under the master node A. All the nodes are related with a "contain" relationship. I wrote this query: MATCH (n {gid:'58749'})-[:contains*]-(z) RETURN z as names When I run this query in the neo4jServer I get a nice graph, which