-
Notifications
You must be signed in to change notification settings - Fork 1
Graph Queries
akollegger edited this page Oct 16, 2012
·
5 revisions
Graph challenges, to be composed in Cypher. Answer these questions:
- Find yourself in the graph
- hint: use the
usersindex
- hint: use the
- Find your friends
- hint: use the
matchclause
- hint: use the
- Find the friends of your friends
- hint: extended
match
- hint: extended
- Find people in your extended network (up to 3 away) looking for a job
- hint: use a variable length path and the
whereclause
- hint: use a variable length path and the
- Make a recommendation to yourself for a new person to follow
- hint: remember the graph patterns
- Find another workshop partcipant in the graph
- Find the shortest path from you to another workshop participant
- Find the most popular user in the graph
- Find the most popular project in the graph
- Create a node for your location, then relate all users at that location to the node
To submit, create a gist and list it on Graph Query Gists (NO PEEKING at other people's answers!)
- Github as Social - the simple data model
- Github expanded Social - the expanded data model
- Cypher Reference - graph query language reference