Suppose I have a csv file with data in the format (Subject
, relation
, Object
).
Is it possible to load this into neo4j as a graph modeled such that the subject and object become nodes and the relation between them is the relation from the triple? Essentially while loading from the csv, I want to load the subject and object as individual nodes and the relation is the one joining them.
(subject)-[:relation]->(object)
My csv is in the format ent1,state,ent2 a,is,b . . .