CREATE (me {name:"Andreas"}), (heather {name:"Heather"}), (jest {title:"Infinite Jest"}), (me)-[:knows]->(heather), (heather)-[:likes]->(jest)which creates, in order, a node “me” with a name “Andreas”, a node “heather” with a name “Heather”, a node “jest” representing a book titled “Infinite Jest”, and then the relationships… that “me” knows “heather” and “heather” likes “jest”. These relationships and nodes can be queried efficiently using existing Cypher commands. The Cypher query language is command-line accessible from the Neo4j shell or programatically from the Java or Python APIs. Read the full article.
Keywords: cypher