-
-
Save ikwattro/f99c1ed085673065fcb4e850526ccd49 to your computer and use it in GitHub Desktop.
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
CREATE | |
(zhen:Person {name: 'Zhen'}), | |
(praveena:Person {name: 'Praveena'}), | |
(michael:Person {name: 'Michael'}), | |
(arya:Person {name: 'Arya'}), | |
(karin:Person {name: 'Karin'}), | |
(zhen)-[:FRIENDS]->(arya), | |
(zhen)-[:FRIENDS]->(praveena), | |
(praveena)-[:WORKS_WITH]->(karin), | |
(praveena)-[:FRIENDS]->(michael), | |
(michael)-[:WORKS_WITH]->(karin), | |
(arya)-[:FRIENDS]->(karin) |
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
{ | |
"kind": "Database", | |
"name": "adar", | |
"dropIfExists": true, | |
"indexes": { | |
"fulltext": [ | |
{ | |
"labels": [ | |
"Person" | |
], | |
"properties": [ | |
"name" | |
], | |
"name": "Person" | |
} | |
] | |
}, | |
"constraints": { | |
"unique": [ | |
{ | |
"label": "Person", | |
"property": "name" | |
} | |
] | |
}, | |
"seeds": ["https://gist.githubusercontent.com/ikwattro/f99c1ed085673065fcb4e850526ccd49/raw/ab9b7378c6a0c2eca805fddc7b16134039709bf2/adamic-adar-demo.cypher"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment