Cypher
Cypher
is a Query Language for Labeled Property Graphs. It is aimed to be easily readable by both humans and machines. It’s also designed to look familiar to people that know SQL.
Consider the following Cypher
Query to find out who (or what) John Doe is in love with:
cypher
The different Labeled Property Graph’s aspects can easily be recognized in this query:
- The
Node
that has theLabel
“Person” and aProperty
“name” that equal “John Doe” - That has a
Relationship
“LOVES” to another node, - that other
Node
we assign to a variable “whom”, - which we return.