Skip to content

Instantly share code, notes, and snippets.

@stardustnrust
Last active August 29, 2015 14:07
Show Gist options
  • Save stardustnrust/87f402239d89090b327f to your computer and use it in GitHub Desktop.
Save stardustnrust/87f402239d89090b327f to your computer and use it in GitHub Desktop.

The Vane Sisters

Modeling the Graph

OUR DATASET

CREATE
//People
(cynthia:Person{name:'Cynthia Vane'}),
(d:Person{name:'D'}),
(narrator:Person{name:'Narrator'}),
(sybil:Person{name:'Sybil Vane'}),
(wilde:Person{name:'Oscar Wilde'}),
(tolstoy:Person{name:'Leo Tolstoy'}),
(paul:Person {name:'Paul'}),
(Betty:Person{name:'Betty Brown'}),
(page:Person{name:'Mrs. Page'}),
(lever:Person{name:'Mr.Lever'}),
(porlock:Person{name:'Porlock'}),
(moore:Person{name:'John and Bill Moore'}),
(myers:Person{name:'Frederic Myers'}),
(owen:Person{name:'Robert Dale Owen'}),
(fox:Person{name:'Fox Sisters'}),
(wallace:Person{name:'Alfred Russell Wallace'}),
(duncan:Person{name:'Mr. Duncan'}),
(valevski:Person{name:'Valevsky'}),
(blavatsky:Person{name:'Madame Blavatsky'}),

//Profession
(ghost:Profession{name:'ghost'}),
(writer:Profession{name:'writer'}),
(student:Profession{name:'student'}),
(professor:Profession{name:'professor'}),
(character:Profession{name:'character'}),
(spiritualist:Profession{name:'spiritualist'}),
(librarian:Profession{name:'librarian'}),

//Places
(por:Place{name:'Porlock'}),
(restaurant:Place{name:'Restaurant'}),
(albany:Place{name:'Albany'}),
(boston:Place{name:'Boston'}),
(town:Place{name:'SmallHillyTown'}),
(kelly:Place{name:'KellyRoad'}),
(newyork:Place{name:'NewYork'}),
(library:Place{name:'PublicLibrary'}),


//Events
(seance:Event{name:'Seance'}),
(chance:Event{name:'Chance Meeting'}),
(lexington:Event{name:'LexingtonFire'}),

//Themes
(spiritualism:Theme{name:'Spiritualism'}),
(afterlife:Theme{name:'AfterLife'}),
(automatic:Theme{name:'AutomaticWriting'}),

//Works
(grey:Works{name:'PicturesofDorian_Grey'}),
(tatar:Works{name:'TheTatarTermagent'}),
(psychicwilde:Works{name:'PsychicMessagesfromOscarWilde'}),
(phenomena:Works{name:'ResearchesinthePhenomena'}),

//Words
(termagant:Word{name:'Termagant'}),
(snails:Word{name:'Snails'}),
(coldwater:Word{name:'ColdWater'}),
(vacuum:Word{name:'VacuumCleaner'}),

//Relationships
(cynthia)-[:KNEW]->(D),
(cynthia)-[:KNEW]->(narrator),
(cynthia)-[:KNEW]->(sybil),
(sybil)-[:KNEW]->(narrator),
(D)-[:KNEW]->(narrator),
(wilde)-[:WAS_A]->(ghost),
(wilde)-[:WROTE]->(grey),
(tolstoy)-[:WAS_A]->(ghost),
(owen)-[:WAS_A]->(ghost)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment