Neo4j workspace data importer - how to import multiple strings from a single cell in a column?

Hi,

I use the data importer in Neo4j workspace to create sociagrams (people with relations).

How do I import multiple strings from a single cell in a column using the data importer?

Rows in the csv file:
Name-> Relation with
Person1-> Person2;Person3;Person4
Person2-> Person1;Person3;Person4
Person3-> Person1;Person2;Person4
Person4-> Person1;Person2;Person3

It is very easy to create nodes from names and build a model for the relations but I cant find a way to split the multiple strings in the csv file.

All the best
Nils

As far as I know, this isn't possible yet with Data Importer.

I split the data, creating a new row for each relationship, so in your example:

id_of_origin, id_of_target
Person1, Person2
Person1, Person3
Person1, Person4

(and so on)

1 Like