Create a node
CREATE (neo:Company) //create node with label 'Company'
CREATE (neo:Company {name: 'Neo4j', hq: 'San Mateo'}) //create node with properties
Create a relationship
CREATE (beginning_node)-[:edge_name{Attribute:1, Attribute:'two'}]->(ending_node)
Query Templates
Running neo...