Last active
May 1, 2017 20:58
-
-
Save brownht1/e61c19828062169c92eb to your computer and use it in GitHub Desktop.
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
= MENTORS AS SEPARATE NODES | |
=== OUR DATASET | |
[source, cypher] | |
---- | |
CREATE | |
//People | |
(trautwein:Person{name:'Paul Trautwein'}), | |
//Books | |
(rough_rider:Book{name:'Rough Rider'}), | |
//Publishers | |
(nexus:Publisher{name:'Nexus Press'}), | |
//Places | |
(mount_saint_marys:Place{name:'Mount Saint Marys University'}), | |
(GA:Place{name:'GA'}), | |
//WROTE | |
(trautwein)-[:WROTE]->(rough_rider), | |
//PUBLISHED_BY | |
(rough_rider)-[:PUBLISHED_BY]->(nexus), | |
//PUBLISHED_IN | |
(rough_rider)-[:PUBLISHED_IN]->(GA), | |
//TEACHES_AT | |
(trautwein)-[:TEACHES_AT]->(mount_saint_marys) | |
---- | |
//graph | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment