Using Pattern Comprehension
1.6 · Challenge

Using Pattern Comprehension

Here is a query that returns the actors who acted in movies between the years 2000 and 2005. The query returns actors born on or after 1980:

This query returns 413 Actor rows. Using this as a starting point, rewrite the query above to use Full definition for pattern (opens in a new tab)A graph structure written in Cypher, such as a node joined to another node by a relationship. comprehension instead of collect():