I am considering replacing the MySQL database with the neo4j database. I am starting out with neo4j and would like to know how to batch paste my current MySQL data into the neo4j database so that I can experiment and start learning about neo4j.
relational database consists of four tables: Person, Organism, Story, Links. Links describe the relationship between the rows in the other three tables.
Links: ID, FromTable, FromID, ToTable, ToID, LinkType
Person: ID, property_2, property_1, etc.
Organism: ID, property_A, property_B, etc.
Story: ID, property_x, property_y
each identifier field is an automatically incrementing integer starting at 1 for each table
In case this is not obvious, the link between the person with ID 3 and the story with ID 42 will contain a line in the link table ID = auto-increment, FromTable = Person, FromID = 3, ToTable = Story, ToID = 42. Despite the fact that I use the terms "from" and "to", the actual links are not really "directed" in practice.
I looked at Michael Hunger batch-import , but it looks like it only works with one node table and one relationship table, while I am looking to import three different types of nodes and one list of relations between them.
I have neo4j and it works. Any advice to get me started will be very appreciated.
I am not familiar with Java, although I use Python and bash shell scripts. After the initial import, I will use the RESTful interface with Javascript.