How to import relationships between nodes of the same label from a csv file in neo4j?
问题 I have two separate csv files that I need to import into my neo4j database. The first file contains all the nodes that I wish to import. The information is classified as follows: id, Name 1, Earth science To import it, I successfully used the following code: LOAD CSV WITH HEADERS FROM 'file:///Node_test.csv' AS line CREATE (:Discipline { id: toInt(line.id), name: line.Name}) Now, I want to import my relationship file and create all the relationship between the nodes I just imported. The