Date
1 - 7 of 7
how to load a CSV file into janusgraph
Elizabeth <hlf...@...>
Hi all, I am new to Janusgraph, I have dived into docs of Janusgraph for almost two weeks, nothing found. I could only gather the scatted information and most of the time it will prompt some errors. Could anyone supply a complete example of bulk loading or loading a CSV file into Janusgraph, please? Any little help is appreated! Best regards, Elis. |
|
HadoopMarc <m.c.d...@...>
Hi Elizabeth, For JanusGraph you should also take into account the TinkerPop documentation. A relevant pointer for you is: https://groups.google.com/forum/#!searchin/gremlin-users/csv%7Csort:relevance/gremlin-users/AetuGcLiBxo/KW966WAyAQAJ Cheers, Marc Op woensdag 14 juni 2017 18:44:16 UTC+2 schreef Elizabeth:
|
|
Elizabeth <hlf...@...>
Hi Marc, Thanks so much for your information, however, I was wondering is there any complete code example about how to use "bulk-loading" in Janusgraph without Hadoop? Thanks again! Elis On Thursday, June 15, 2017 at 9:59:10 PM UTC+8, HadoopMarc wrote:
|
|
HadoopMarc <m.c.d...@...>
Hi Elizabeth, OK, another resource I dug up by searching for CSV on the gremlin user list: http://www.datastax.com/dev/blog/powers-of-ten-part-i Translation to JanusGraph should be straightforward. HTH, Marc Op woensdag 21 juni 2017 11:15:51 UTC+2 schreef Elizabeth:
|
|
Rohit Jain <rohit.j...@...>
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. Thanks! Rohit |
|
Robert Dale <rob...@...>
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:
|
|
a.mar...@...
For adding vertex, this is using gremlin use something like this
On Wednesday, June 14, 2017 at 9:44:16 AM UTC-7, Elizabeth wrote:
|
|