Created
June 26, 2015 17:56
-
-
Save suellenstringer-hye/f6e23080a61aa7303bd7 to your computer and use it in GitHub Desktop.
Borges
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
= Frozen and Tangled 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/frozen_geneology.jpg[] | |
//graph | |
=== OUR DATASET | |
[source, cypher] | |
---- | |
CREATE | |
//People | |
(elsa:Person{name:'Queen Elsa'}), | |
(anna:Person{name:'Anna'}), | |
(kristof:Person{name:'Kristof'}), | |
//Films | |
(frozen:Film{name:'Frozen'}), | |
(tangled:Film{name:'Tangled'}), | |
(tarzan:Film{name:'Tarzan'}), | |
//Relationships | |
(elsa)-[:IS_OLDER_SISTER_OF]->(anna), | |
(anna)-[:IS_YOUNGER_SISTER_OF]->(elsa), | |
(kristof)-[:IS_BOYFRIEND_OF]->(anna) | |
---- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment