Skip to content

Instantly share code, notes, and snippets.

@stardustnrust
stardustnrust / roosevelt
Last active October 7, 2015 16:08
Roosevelt Family Geneaology
= Roosevelt Family Geneaology
== Modeling the Graph
image::http://www.emersonkent.com/images/roosevelt_family_tree.jpg[]
//graph
@stardustnrust
stardustnrust / gist:12e870ebb992b9ca917a
Created October 2, 2014 18:23
The Life You Save May Be Your Own _2
= The Life You Save May Be Your Own
== Modeling the Graph
//table
//graph
=== OUR DATASET
[source, cypher]
@stardustnrust
stardustnrust / lifeyousave
Last active August 29, 2015 14:07
The Life You Save May Be Your Own
= The Life You Save May Be Your Own
== Modeling the Graph
//graph
=== OUR DATASET
[source, cypher]

The Vane Sisters

Modeling the Graph

OUR DATASET

CREATE
//People
(cynthia:Person{name:'Cynthia Vane'}),
@stardustnrust
stardustnrust / vane
Last active August 29, 2015 14:07
TheVaneSisters
= The Vane Sisters
== Modeling the Graph
=== OUR DATASET
[source, cypher]
----
CREATE
//People
(cynthia:Person{name:'Cynthia Vane'}),
Queries for Divinity Data
MATCH (person)-[r:WROTE]->(article)
WITH article
MATCH (article)-[r:ISABOUT]->(topic)
RETURN *
MATCH (a)-[r:WROTE]->(article)
RETURN r AS rels,article.title
@stardustnrust
stardustnrust / americannabokov
Last active August 29, 2015 14:01 — forked from Pimsepinnen/peoplebooksandcities
Nabokov in America
= Nabokov in America
=== “Genius is non-conformity.”
― Vladimir Nabokov,
image::http://static.guim.co.uk/sys-images/Books/Pix/pictures/2009/7/8/1247059161848/Vladimir-Nabokov-001.jpg[]
== Modeling the Graph
image::http://www.library.vanderbilt.edu/webimages/LNO/datamodel.JPG[]