Re: how to load a CSV file into janusgraph

Robert Dale <rob...@...>

There are no ready to run tools for this. You will have to write a small script to parse the csv file, create vertexes and edges.

You can search for 'titan bulk load csv' for some loading strategies.

On Friday, August 11, 2017 at 4:48:25 PM UTC-4, Rohit Jain wrote:
Hi Elis,

Did you figure this out?  I am in the same predicament.  I have a simple graph of movies and persons who have acted or directed (edge) in those movies.  I have downloaded a sample of the IMDB database and now have a relational table with movie id, person id, and role in one table.  The role column indicates an actor or a director.  I have to generate the movie vertex entries with the movie id, the person vertex entries with the person id, and then create the edges between the movie and person ids, along with a role edge with a role property of actor or director.  Given I have almost 20,000 rows in that association table, I need to find a way to load the graph using csv files generated from that relational table.  And like you, I can't find any documentation on how to do that easily.  Would be grateful for any help.


Join to automatically receive all group messages.