3

The neo4j example data does not work in the most recent version 2.1.2 of neo4j as documented here and here. They are built for 1.9 and apparently can only be upgraded to 2.0, not 2.1. Is there a way to extract the raw data as a csv or cypher file (with a bunch of CREATE statements) from either the tarballs (which contain a graph.db, which I do not understand) or the associated github repositories (which I also do not understand)?

Community
  • 1
  • 1
user3243135
  • 800
  • 1
  • 7
  • 28

1 Answers1

3

It's up to us to update the datasets, thanks for pointing it out, I think we'll also put them into versioned subdirectories, so it is easier to see which version they are in.

In general for small enough datasets, you can use the neo4j-shell and the "dump" command to generate cypher statements.

Also in the neo4j browser you can actually download the query results as CSV.

I also wrote a set of helper tools for the neo4j shell that allows you to export and import data as csv, graphml and other formats.

Michael Hunger
  • 41,339
  • 3
  • 57
  • 80