Skip to content

Instantly share code, notes, and snippets.

@humorless
Created August 30, 2023 10:46
Show Gist options
  • Save humorless/8e913382b0f083e3677a76c6c4db7b7f to your computer and use it in GitHub Desktop.
Save humorless/8e913382b0f083e3677a76c6c4db7b7f to your computer and use it in GitHub Desktop.
My practice of Cypher
Find People Born in the Fifties
Using the sandbox on the right, write and execute a query to return people born in the 1950’s (1950 - 1959) that are both Actors and Directors.
How many Person nodes are returned?
```
MATCH(p:Actor)
WHERE p:Director AND date('1950-01-01') <= date(p.born) < date('1959-12-31')
RETURN count(p)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment