title: Neo4j - Unable to load Relations from csv
body: <p>I am trying to load the data from the csv and display the nodes along with the relations as the graph in Neo4j. I am able to load the entity1 and entity2 in Neo4j, but unable to load the relations from the csv.
  My csv file looks like this<a href="https://i.stack.imgur.com/gb4Q8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gb4Q8.png" alt="enter image description here"></a></p>
  
  <p>Below is my CYPHER Code</p>
  
  <pre><code>LOAD CSV WITH HEADERS FROM "file:////csvFiles/Fraud_Triplets_Neo4j.csv" AS csvLine
  MERGE (a:Subject {
   Object1:csvLine.Entity1
  ,display:csvLine.Entity1
   });
  
  
  LOAD CSV WITH HEADERS FROM
  "file:////csvFiles/Fraud_Triplets_Neo4j.csv" AS csvLine 
  MERGE (b:Object {  Object2:csvLine.Entity2 ,display:csvLine.Entity2  });
  
    LOAD CSV WITH HEADERS FROM "file:////csvFiles/Fraud_Triplets_Neo4j.csv" AS csvLine
  MATCH (a:Subject { Object1: csvLine.Entity1})
  MATCH (b:Object { Object2: csvLine.Entity2})
  MERGE ((a) -[:Relation{r:csvLine.Relation}]-&gt; (b))
  </code></pre>
  
  <p>I am getting <a href="https://i.stack.imgur.com/gZ4Ny.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gZ4Ny.png" alt="this graph"></a></p>
  
  <p>Kindly let me know, how should i specify relation from csv file.</p>