Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Roosevelt Family Geneology - completed
= Roosevelt Family Geneaology
:neo4j-version: 2.1.0
:author: Suellen Stringer-Hye
:twitter: @suellenshye
:tags: domain:education, use-case:geneaology
== Completed Graph
//graph
=== OUR DATASET
[source, cypher]
----
CREATE
//People
(claus:Person{name:'Claus Martenszen Van Rosenvelt'}),
(nicholas:Person{name:'Nicholas Roosevelt'}),
(johannes:Person{name:'Johannes Roosevelt'}),
(jacobus:Person{name:'Jacobus Roosevelt'}),
(james:Person{name:'James Roosevelt'}),
(cornelius:Person{name:'Cornelius Roosevelt'}),
(isaac:Person{name:'Isaac I Roosevelt'}),
(james3:Person{name:'James Roosevelt'}),
(isaac2:Person{name:'Isaac II Roosevelt'}),
(james2:Person{name:'James II Roosevelt'}),
(eleanor:Person{name:'Eleanor Roosevelt'}),
(franklin:Person{name:'Franklin D. Roosevelt'}),
(theodore:Person{name:'Theodore Roosevelt'}),
(martha:Person{name:'Martha Bulloch'}),
(annar:Person{name:'Anna Roosevelt'}),
(theodore2:Person{name:'Teddy Roosevelt'}),
(corrine:Person{name:'Corrine'}),
(elliott:Person{name:'Elliott'}),
(anna:Person{name:'Anna Hall'}),
(rebecca:Person{name:'Rebecca Howland'}),
(sara:Person{name:'Sara Delano'}),
(alice:Person{name:'Alice H. Lee'}),
(edith:Person{name:'Edith K. Carow'}),
(alice2:Person{name:'Alice II'}),
(theodore3:Person{name:'Theodore III'}),
(kermit:Person{name:'Kermit'}),
(ethel:Person{name:'Ethel'}),
(archibald:Person{name:'Archibald'}),
(quentin:Person{name:'Quentin'}),
//Places
(oyster:Location{name:'Oyster Bay'}),
(hyde:Location{name:'Hyde Park'}),
//Relationships
(claus)-[:WAS_FATHER_OF]->(nicholas),
(claus)-[:WAS_GRANDFATHER_OF]->(johannes),
(claus)-[:WAS_GREAT_GRANDFATHER_OF]->(jacobus),
(claus)-[:WAS_GREAT_GREAT_GRANDFATHER_OF]->(james),
(claus)-[:WAS_GREAT_GREAT__GREAT_GRANDFATHER_OF]->(cornelius),
(claus)-[:WAS_GREAT_GREAT__GREAT_GRANDFATHER_OF]->(theodore),
(claus)-[:WAS_GREAT_GREAT__GREAT_GREAT_GRANDFATHER_OF]->(theodore2),
(eleanor)-[:WAS_WIFE_OF]->(franklin),
(eleanor)-[:WAS_COUSIN_OF]->(franklin),
(eleanor)-[:WAS_NIECE_OF]->(theodore),
(franklin)-[:WAS_HUSBAND_OF]->(eleanor),
(franklin)-[:WAS_COUSIN_OF]->(theodore),
(theodore2)-[:WAS_COUSIN_OF]->(franklin),
(theodore2)-[:WAS_UNCLE_OF]->(eleanor),
(theodore2)-[:WAS_FROM]->(oyster),
(eleanor)-[:WAS_FROM]->(oyster),
(eleanor)-[:WAS_FROM]->(hyde),
(franklin)-[:WAS_FROM]->(hyde)
----
== Class Assignment
We then handed out the following assignment and asked everyone to add additional elements to the family tree.
image::http://www.library.vanderbilt.edu/webimages/assets/roosevelt.jpg[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment