foodkg / foodkg.github.io

Apache License 2.0
83 stars 42 forks source link

Ontofox not work on foodkg #18

Open Limtle opened 2 years ago

Limtle commented 2 years ago

I use https://github.com/foodkg/foodkg.github.io/blob/master/src/prep-scripts/ontofox/configs/foodon.txt this file on http://ontofox.hegroup.org/ an error has occured during the retrieval process. Have any suggestion for me. Thanks

pablosolanoc commented 2 years ago

Happened the same thing to me, does anyone have any solution ?

pablosolanoc commented 2 years ago

Finally found a solution, in the "/src/prep-scripts/ontofox/query-ontofox.py" file set the link from http to https. So the eleventh line should be:

response = requests.post('https://ontofox.hegroup.org/service.php', files=files)

shiyohlk commented 1 year ago

I also solved this problem same as above. you can check it here .

3.Remote Ontofox access without using the Ontofox web page: An example command line code to use this script is here: "curl -s -F file=@"/tmp/input.txt" -o /tmp/output.owl https://ontofox.hegroup.org/service.php". Note: Here http:// has been changed to https:// since March 20, 2022. Please change accordingly.

Jnmz commented 4 months ago

Can you offer the Knowledge Graph data, such as usda-links.trig, foodon-links.trig, foodkg-core.trig or the Recipe1M raw dataset ?please