Skip to content

Instantly share code, notes, and snippets.

@SimonGoring
Created February 11, 2017 00:45
Show Gist options
  • Select an option

  • Save SimonGoring/6b2874741ad60cfcc3dbfb439ef8d8b6 to your computer and use it in GitHub Desktop.

Select an option

Save SimonGoring/6b2874741ad60cfcc3dbfb439ef8d8b6 to your computer and use it in GitHub Desktop.
Every person associated with multiple institutions in the NSF database
MATCH (n:person)-[r:employed_by]->(:institution)
WITH n, count(r) AS count
WHERE count > 1
MATCH (n)-[r:employed_by]->(m:institution)
RETURN n,r,m;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment