Created
September 13, 2016 10:39
-
-
Save ecpplus/87a9b239110093cbb7239a58711ea282 to your computer and use it in GitHub Desktop.
create neo4j sample data
This file contains hidden or 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
MERGE (station:Station {name: '海岸1'}); | |
MERGE (station:Station {name: '海岸2'}); | |
MERGE (station:Station {name: '海岸3'}); | |
MERGE (station:Station {name: '山b'}); | |
MERGE (station:Station {name: '山c'}); | |
MERGE (station:Station {name: '山d'}); | |
MERGE (station:Station {name: '町C'}); | |
MERGE (station:Station {name: '海岸1'}); | |
MERGE (station:Station {name: '町A'}); | |
MERGE (station:Station {name: '町B'}); | |
MERGE (station:Station {name: '町C'}); | |
MERGE (station:Station {name: '町D'}); | |
MERGE (station:Station {name: '町E'}); | |
MERGE (station:Station {name: '山d'}); | |
MERGE (station:Station {name: '大都会'}); | |
MATCH (from:Station { name: '海岸1' }) | |
MATCH (dest:Station { name: '海岸2' }) | |
MERGE (from)-[:Section{minutes:3, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '海岸2' }) | |
MATCH (dest:Station { name: '海岸1' }) | |
MERGE (from)-[:Section{minutes:3, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '海岸2' }) | |
MATCH (dest:Station { name: '海岸3' }) | |
MERGE (from)-[:Section{minutes:5, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '海岸3' }) | |
MATCH (dest:Station { name: '海岸2' }) | |
MERGE (from)-[:Section{minutes:5, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '海岸3' }) | |
MATCH (dest:Station { name: '山b' }) | |
MERGE (from)-[:Section{minutes:3, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '山b' }) | |
MATCH (dest:Station { name: '海岸3' }) | |
MERGE (from)-[:Section{minutes:3, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '山b' }) | |
MATCH (dest:Station { name: '山c' }) | |
MERGE (from)-[:Section{minutes:5, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '山c' }) | |
MATCH (dest:Station { name: '山b' }) | |
MERGE (from)-[:Section{minutes:5, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '山c' }) | |
MATCH (dest:Station { name: '山d' }) | |
MERGE (from)-[:Section{minutes:4, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '山d' }) | |
MATCH (dest:Station { name: '山c' }) | |
MERGE (from)-[:Section{minutes:4, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '山d' }) | |
MATCH (dest:Station { name: '町C' }) | |
MERGE (from)-[:Section{minutes:5, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町C' }) | |
MATCH (dest:Station { name: '山d' }) | |
MERGE (from)-[:Section{minutes:5, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '海岸1' }) | |
MATCH (dest:Station { name: '町A' }) | |
MERGE (from)-[:Section{minutes:5, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町A' }) | |
MATCH (dest:Station { name: '海岸1' }) | |
MERGE (from)-[:Section{minutes:5, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町A' }) | |
MATCH (dest:Station { name: '町B' }) | |
MERGE (from)-[:Section{minutes:7, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町B' }) | |
MATCH (dest:Station { name: '町A' }) | |
MERGE (from)-[:Section{minutes:7, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町B' }) | |
MATCH (dest:Station { name: '町C' }) | |
MERGE (from)-[:Section{minutes:4, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町C' }) | |
MATCH (dest:Station { name: '町B' }) | |
MERGE (from)-[:Section{minutes:4, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町C' }) | |
MATCH (dest:Station { name: '町D' }) | |
MERGE (from)-[:Section{minutes:3, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町D' }) | |
MATCH (dest:Station { name: '町C' }) | |
MERGE (from)-[:Section{minutes:3, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町D' }) | |
MATCH (dest:Station { name: '町E' }) | |
MERGE (from)-[:Section{minutes:8, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '町E' }) | |
MATCH (dest:Station { name: '町D' }) | |
MERGE (from)-[:Section{minutes:8, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '山d' }) | |
MATCH (dest:Station { name: '大都会' }) | |
MERGE (from)-[:Section{minutes:13, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '大都会' }) | |
MATCH (dest:Station { name: '山d' }) | |
MERGE (from)-[:Section{minutes:13, kind:'各停'}]->(dest); | |
MATCH (from:Station { name: '海岸1' }) | |
MATCH (dest:Station { name: '海岸3' }) | |
MERGE (from)-[:Section{minutes:4, kind:'急行'}]->(dest); | |
MATCH (from:Station { name: '海岸3' }) | |
MATCH (dest:Station { name: '海岸1' }) | |
MERGE (from)-[:Section{minutes:4, kind:'急行'}]->(dest); | |
MATCH (from:Station { name: '海岸3' }) | |
MATCH (dest:Station { name: '山d' }) | |
MERGE (from)-[:Section{minutes:6, kind:'急行'}]->(dest); | |
MATCH (from:Station { name: '山d' }) | |
MATCH (dest:Station { name: '海岸3' }) | |
MERGE (from)-[:Section{minutes:6, kind:'急行'}]->(dest); | |
MATCH (from:Station { name: '海岸1' }) | |
MATCH (dest:Station { name: '町C' }) | |
MERGE (from)-[:Section{minutes:10, kind:'急行'}]->(dest); | |
MATCH (from:Station { name: '町C' }) | |
MATCH (dest:Station { name: '海岸1' }) | |
MERGE (from)-[:Section{minutes:10, kind:'急行'}]->(dest); | |
MATCH (from:Station { name: '町C' }) | |
MATCH (dest:Station { name: '町E' }) | |
MERGE (from)-[:Section{minutes:6, kind:'急行'}]->(dest); | |
MATCH (from:Station { name: '町E' }) | |
MATCH (dest:Station { name: '町C' }) | |
MERGE (from)-[:Section{minutes:6, kind:'急行'}]->(dest); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment