cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a unique relationship in Neo4j depending on multiple WHERE clauses via LOAD CSV

matthew_cash
Node Link

I need to create several relationships based off of circumstances in the CSV the data is being loaded from. This is for network interface connections (see picture).

agg connection

Here is an example of how the data would look in the CSV:

CSV Data

The PathInstance is unique to the TransPath in the CSV. There are many of these that will be in the graph.

Can someone help me in attempting to create the needed cypher/neo4j/apoc coding to make this happen? I just can't seem to wrap my head around this scenario.

0 REPLIES 0