Forked from suellenstringer-hye/networkanalysisworkshop
Last active
September 25, 2015 16:49
-
-
Save quisqualis/9c991606419ff9c361d2 to your computer and use it in GitHub Desktop.
scworkshop
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
= Network analysis with Neo4j | |
:neo4j-version: 2.1.0 | |
:author: Suellen Stringer-Hye | |
:twitter: @suellenshye | |
:tags: domain:education, use-case:network analysis | |
//graph | |
=== OUR DATASET | |
[source, cypher] | |
---- | |
CREATE | |
//Map | |
(a:Map{name:'Province'}), | |
(b:Map{name:'City'}), | |
(c:Map{name:'Empire'}), | |
//Size | |
(d:Size{name:'Province'}), | |
(e:Size{name:'City'}), | |
(f:Size{name:'Empire'}), | |
//Relationships | |
(a)-[:OCCUPIED]->(b), | |
(c)-[:OCCUPIED]->(d), | |
(c)-[:OCCUPIED]->(f) | |
---- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment