pattern matching
Finding every part of the graph that fits a given pattern.
Example
Tom Hanks acted in two of these films and Tim Allen in one.
cypher
MATCH path = (:Person)-[:ACTED_IN]->(:Movie)
RETURN pathThe pattern fits three times: Tom Hanks with each of his two films, and Tim Allen with Toy Story. Each fit comes back as a row of its own.
Lessons that use this term
The lesson and course links below open in a new tab.
No published lesson uses this term yet.