How to load the rdf data?


(HEYOU) #1

hi,

I hope to load the rdf data however it doesn’t work, can someone help me ?

error like this :

also I use dgraphloader , it doesn’t work,


(janardhan reddy) #2

It seems like the file is not present in the directory. You need to download the file or use the correct path.


(HEYOU) #3

Thanks

I download file and new question happens like , what’s problem?


(janardhan reddy) #4

You seem to be running dgraph zero, server and loader in different containers. So you should use appropriate address instead of localhost or run all of them in same container.


(HEYOU) #5

Thanks, janardhan
You are right
the 3 in different containers.
But how to run all of them in one? I am fresh in docker


(janardhan reddy) #6

I don’t know how to do it using docker compose. @pawan knows it better.

You can do it manually though. First start zero, then use docker exec -it <containerid> <command> to start dgraph and ratel.
You can get the container id of zero by running docker ps command.


(HEYOU) #7

Thanks very much! janardhan
it works after I do as your first way.
I will try to use docker compose later.

Here is the nice place to solve my problem.
thanks again.


(system) #8

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.