Hi guys, So I am just starting with Dgraph and I am having trouble getting going. I am trying to build this recommendation engine from this blogpost (https://blog.dgraph.io/post/recommendation/). Can you please tell me where I am going wrong?
I have loaded the movieLens dataset (out.rdf.gz) from the github link provided in the tutorial. I loaded the data by downloading the file and placing it it my dgraph directory. Then I ran the command:
docker exec -it dgraph dgraph live -r out.rdf.gz --zero localhost:5080 -c 1
in my terminal. Am I loading the dataset correctly? I cannot find much documentation on how to properly load data into Dgraph.
Next, when I try to run the queries (specifically the second snippet of code) into http://localhost:8000/, I get this error:
: Predicate rated doesn’t have reverse edge
I don’t understand why I am getting this error because the ‘rated’ edge is in fact bi-directional. Can anyone explain to what I am doing incorrectly?
I have done the online tour/tutorial and read over the documentations but I am still having some trouble with Dgraph.