Last active
October 8, 2016 04:42
-
-
Save sfrechette/dd6f585c123f17136717 to your computer and use it in GitHub Desktop.
Sample Meetup Cypher (demo)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Model - Meetup | |
create (n1:Member {id:1, name: 'Daniel'}) | |
create (n2:Member {id:2, name: 'Stephane'}) | |
create (n3:Member {id:3, name: 'John'}) | |
create (n4:Member {id:4, name: 'Randy'}) | |
create (n5:Meetup {id:5, name: 'Ottawa SQL Server User Group'}) | |
create (n6:Meetup {id:6, name: 'Ottawa JavaScript'}) | |
create (n7:Meetup {id:7, name: 'Ottawa Visio User Group'}) | |
create (n8:Meetup {id:8, name: 'Ottawa Tableau User Group'}) | |
create (n9:Meetup {id:9, name: 'Dirty Dancing Ottawa'}) | |
create n1-[:IS_ORGANIZER]->n6 | |
create n2-[:IS_ORGANIZER]->n5 | |
create n2-[:IS_ORGANIZER]->n8 | |
create n3-[:IS_ORGANIZER]->n7 | |
create n3-[:IS_ORGANIZER]->n9 | |
create n1-[:IS_MEMBER]->n9 | |
create n3-[:IS_MEMBER]->n6 | |
create n3-[:IS_MEMBER]->n5 | |
create n4-[:IS_MEMBER]->n6 | |
create n4-[:IS_MEMBER]->n8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment