Assuming we have a CSV that has nodes with various relationship types. Is there an option to load the CSV in one query allowing each relationship type to be displayed as the relationship name without breaking up the CSV to separate files (one per relationship type)? (We don't want to add the relationship type as a property to the Edge).
Id1 | Id2 | RelationshipType
1 | 2 | type1
1 | 3 | type2
2 | 3 | type1
...
We want to later on display & query the data with queries similar to below:
MATCH l=(p:Id1) - [:type1] - (p:Id2) RETURN l;
MATCH l=(p:Id1) - [:type2] - (p:Id2) RETURN l;