title: Importing intra-dependent relationship in Neo4j
body: <p>My CSV structure is as follows:</p>
  
  <pre><code>Origin City   Destination City  Route  Sales
  A                     B           XYZ     $5
  B                     C           ZED    $50
  C                     A           FGH    $15
  </code></pre>
  
  <p>Origin and destination cities are from the same bucket i.e. there should be only 3 nodes in this case (A, B, and C) whereas relationship will have 2 properties: sales and route.</p>
  
  <p>When I use the:</p>
  
  <pre><code>LOAD CSV WITH HEADERS FROM 'file:///C:/citylist2.csv' as line fieldterminator ','
  MERGE (c:City {id: line.`Origin City`})
  MERGE (c)-[r:SALES{id: line.Route, sales: line.Sales}]-&gt;(c)
  </code></pre>
  
  <p>code then it creates a self-referencing flower graph. How d I solve this? I need 3 nodes and intra-node relationships with sales and route as properties.</p>