11data.mql 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. insert into /test/cypher (id, name) values ("cypher:e1", "entity1" )
  2. ;
  3. insert into /test/cypher2 (id, name) values ("cypher2:e2", "entity2" )
  4. ;
  5. insert into /test/cypher3 (id, name) values ("cypher3:e3", "entity3" )
  6. ;
  7. insert into /test/cypher4 (id, name) values ("cypher4:e4", "entity4" )
  8. ;
  9. insert into /test/cypher5 (id, name) values ("cypher5:e5", "entity5" )
  10. ;
  11. insert into /test/cypher6 (id, name) values ("cypher6:e6", "entity6" )
  12. ;
  13. insert into /test/cypher7 (id, name) values ("cypher7:e7", "entity7" )
  14. ;
  15. insert into /test/cypher8 (id, name) values ("cypher8:e8", "entity8" )
  16. ;
  17. insert into /test/cypher9 (id, name) values ("cypher9:e9", "entity9" )
  18. ;
  19. create ("cypher:e1")-[:connect]->("cypher2:e2")
  20. ;
  21. create ("cypher3:e3")-[:connect]->("cypher2:e2")
  22. ;
  23. create ("cypher4:e4")-[:connect]->("cypher2:e2")
  24. ;
  25. create ("cypher5:e5")-[:connect]->("cypher4:e4")
  26. ;
  27. create ("cypher6:e6")-[:connect]->("cypher4:e4")
  28. ;
  29. create ("cypher7:e7")-[:connect]->("cypher5:e5")
  30. ;
  31. create ("cypher8:e8")-[:connect]->("cypher5:e5")
  32. ;
  33. create ("cypher8:e8")-[:connect]->("cypher6:e6")
  34. ;
  35. create ("cypher8:e8")-[:connect]->("cypher7:e7")
  36. ;
  37. create ("cypher9:e9")-[:connect]->("cypher8:e8")
  38. ;