Description: From RDBMS to Graph, using a classic retail dataset
MATCH (p:Product)-[:PART_OF]->(:Category)-[:PARENT*0..]->
(:Category {categoryName:$category})
RETURN p.productName as product
This is for Neo4j version: 3.5,4.0
The database is also available on https://demo.neo4jlabs.com:7473
Username "northwind", password: "northwind", database: "northwind"
Rendered guide available via: :play https://guides.neo4j.com/northwind/index.html
Unrendered guide: documentation/northwind.neo4j-browser-guide
Load graph data via the following:
Import flat files (csv, json, etc) using Cypher’s LOAD CSV
, APOC library, or other methods.
-
Drop the file into the
Files
section of a project in Neo4j Desktop. Then choose the option toCreate new DBMS from dump
option from the file options. -
Use the neo4j-admin tool to load data from the command line with the command below.
bin/neo4j-admin load --from data/northwind-40.dump [--database "database"]
-
Upload the dump file to Neo4j Aura via https://console.neo4j.io/#import-instructions