Ever wondered who are Darth Vader’s Friends of Friends? Check out sdg Blog, to learn about Neo4j and how to use it build the Star Wars social graph.
Traversing the Star Wars Social GraphCypher Query Language Cypher is becoming sufficiently mature and has become the de facto query language for manipulating and mutating the graph. Distilling Cypher down to its basic structure, it is an ASCII-art based query language where using ASCII-art sticks and arrows define the query string to execute against the database.
(Node) - [r:RelationshipType] -> (Node)So let’s see it in action! (Note: You can download this sample application in its entirety here on github if you are interested in reviewing the code locally or running the unit tests that will execute the methods and queries described below). Read the full article.