Closed twrjie closed 5 months ago
I have updated readme and uploaded processed data.
Firstly, thanks for answering my question last time and uploading the new data, I'm actually new to this and now I'm running the file generate_samples_with_crucial_edges.py and I'm getting an error at line 250 results = sparql.query().convert() HTTP Error 502: Bad Gateway, but I can access the site http://210.75.240.139:18890/sparql and I would like to know what the problem is.
You should deploy the virtuoso service first and replace the "http://210.75.240.139:18890/sparql" with your service url, like http://127.0.0.1:8890/sparql.
Thanks again for taking the trouble to reply to my question, after I downloaded virtuoso, changed the address to http://127.0.0.1:8890/sparql, and after running the generate_samples_with_crucial_edges.py it appeared list index out of range
Make sure that you have deployed virtuoso correctly, see https://github.com/YaooXu/GoG/blob/main/Freebase/README.md.
After running the gog.py file, it shows that the data/cwq/data_with_ctyx1000-1_1.json file is missing, can you provide this file?.