Database Reference
In-Depth Information
• It is accessible from the new Neo4j browser tool.
• It does not yet (at the time of writing this topic) allow for variable labels
and relationship types. This is somewhat important for us in this example,
as it will mean that we cannot immediately assign the right labels and
relationshiptypesfromthecurrentCSViles;wewillhavetoaddthese
aspropertiesirstandthenrunanothercypherquerytoixthis.
So,let'sgothroughtheimportofthesameilesusingthisinaltoolset:
The Load CSV process
Let's start by importing the nodes. Executing the following query in the Neo4j
browser works out very well:
//Loading CSV with Nodes
load csv with headers from
"file:/your/path/to/nodes.csv"
as nodes
create (n {id: nodes.Node, name: nodes.Name, type: nodes.Label})
return n
Executing this query in the Neo4j browser tool gives us the following result:
 
Search WWH ::




Custom Search