Create a graph database base on csv file

36 views
Skip to first unread message

Minh_Tiến

unread,
Jun 2, 2021, 12:34:22 AM6/2/21
to ArangoDB
Hi All,
I'm trying to get to know ArangoDB and using the Movielens  20M  data set to play with.

I've imported the Movies.csv to Movies Collection, Genome_Tags.csv to Tags and Tags.csv to TagLinks

I've created an Empty Edge Collection called MyTags and I'm trying to create links between Movies and Tags based on what is found in the TagLinks Collection.

for tl in taglinks
    for m in movies
        for t in tags
            filter m.movieId == tl.movieId And t.tag == tl.tag limit 100
        Insert { _from: m._id, _to: t._id } IN Mytags


I tried to build a graph but i failed image_2021_06_02T04_33_46_130Z.png. So if someone created a graph from csv file, can you help me. Thanks for any insight into my conundrum.

Reply all
Reply to author
Forward
0 new messages