Graph Setup (Geoff or Cypher)
(Neo) {"name": "Neo" } (Morpheus) {"name":"Morpheus"} (Trinity) {"name":"Trinity"} (Cypher) {"name":"Cypher"} (Smith) {"name" : "Agent Smith"} (Architect) {"name":"The Architect"} (0)-[:ROOT]->(Neo) (Neo)-[:KNOWS]->(Morpheus) (Neo)-[:LOVES]->(Trinity) (Morpheus)-[:KNOWS]->(Trinity) (Morpheus)-[:KNOWS]->(Cypher) (Cypher)-[:KNOWS]->(Smith) (Smith)-[:CODED_BY]->(Architect)
Initial Query (Cypher)
start neo=node(1) match neo-[r?]-other return neo,type(r), other
Test Run Query
remove root node
Version:
current
1.9
1.8
1.7
Load Database