Search code examples
neo4jgraph-databasesneo4jclient

How to create a Neo4J data model from the relationla data format?


I've following row column data.

Space Mood detail

How can I model this into Neo4J?


Solution

  • Whilst I agree with @kayess that the question is very broad - from a 'guidelines' point of view - Neo4j does provide some information regarding going from RDBMS to Neo4j - Neo4j Data Import - Moving from RDBMS to Graph

    The basic gist from your columns is two types of Node - Space and Mood with a Relationship of your choosing - maybe something like HAS_MOOD so you have something like:

    (:Space {Name: 'Living Room'})-[:HAS_MOOD]->(:Mood {Name: 'Cheerful'})