1.4 · Lesson

Pattern Matching

CypherNeo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it. is a declarative query language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows.

This pattern finds all nodesA vertex in a graph. In a property graph it can carry labels and properties. with a labelA tag on a node that groups it with other nodes of the same kind. A node can carry more than one. of Person, that have an outgoing ACTED_IN relationshipA named, directed connection between two nodes. Every relationship has a type, a start node and an end node. to a node with a label of :Movie: