22. Using Relate
START turtles = node(1,2,3,4)
RELATE turtles-[r:LOVE]->pizza Cypher
The Ninja Turtles
love pizza
A pizza node and 4
relationships are
created
23. Using Relate again
START turtles = node(1,2,3,4)
RELATE turtles-[r:LOVE]-(pizza Cypher
{name:’Supreme’})
The Ninja Turtles
love pizza
A pizza node with
name “Supreme”
and 4 relationships
are created
There existed a number of different ways to query a graph database. This one aims to make querying easy, and to produce queries that are readable. We looked at alternatives - SPARQL, SQL, Gremlin and other...