Forked from suellenstringer-hye/networkanalysisworkshop
Last active
September 25, 2015 19:08
-
-
Save brownht1/605ae99747b4b5e7019f 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 | |
//People | |
(a:Person{name:'Donald Trump'}), | |
(b:Person{name:'Barack Obama'}), | |
(c:Person{name:'Hilary Clinton'}), | |
//Places | |
(d:Location{name:'New York'}), | |
(e:Location{name:'Washington DC'}), | |
//Relationships | |
(a)-[:OPPOSES]->(b), | |
(c)-[:OPPOSES]->(a), | |
(a)-[:LIVES_IN]->(d), | |
(b)-[:LIVES_IN]->(e) | |
---- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment