One picture, one query
The 30-second Cypher tour
A pattern is the shape of the data you want, drawn in ASCII:
(a:Person)-[:KNOWS]->(b:Person)
- Parentheses = nodes.
- Square brackets between dashes = a typed relationship.
>(or<) sets direction; a bare-is undirected.
MATCH binds the variables; RETURN shapes the result.