Last active
April 9, 2024 15:25
-
-
Save suellenstringer-hye/36df9aaeadd87cdd1ecd952c3a5bab89 to your computer and use it in GitHub Desktop.
Ancient Gods
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
= Ancient Gods Geneaology | |
:neo4j-version: 2.1.0 | |
:author: Suellen Stringer-Hye | |
:twitter: @suellenshye | |
:tags: domain:education, use-case:geneaology | |
== Class Assignment | |
image::http://www.library.vanderbilt.edu/webimages/assets/gods2.gif[] | |
//graph | |
=== OUR DATASET | |
[source, cypher] | |
---- | |
CREATE | |
//People | |
(chaos:Person{name:'Chaos'}), | |
(nyx:Person{name:'Nyx'}), | |
(erebus:Person{name:'Erebus'}), | |
//Relationships | |
(chaos)-[:WAS_HUSBAND_OF]->(nyx), | |
(nyx)-[:WAS_WIFE_OF]->(chaos), | |
(chaos)-[:WAS_FATHER_OF]->(erebus), | |
(nyx)-[:WAS_MOTHER_OF]->(erebus), | |
(erebus)-[:WAS_HUSBAND_OF]->(nyx) | |
---- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment