ASCII-Art Patterns

Cypher reads as a picture of the data you want.

0/2 done

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.

Reading in progress · 0 of 2 activities done