YaooXu / GoG

Generate-on-Graph: Treat LLM as both Agent and KG for Incomplete Knowledge Graph Question Answering. EMNLP 2024 Main
31 stars 2 forks source link

I think the necessary documents are missing #1

Closed twrjie closed 5 months ago

twrjie commented 6 months ago

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?.

YaooXu commented 6 months ago

I have updated readme and uploaded processed data.

twrjie commented 6 months ago

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.

Snipaste_2024-05-24_16-55-50
YaooXu commented 6 months ago

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.

twrjie commented 6 months ago

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

Snipaste_2024-05-25_16-02-12
YaooXu commented 6 months ago

Make sure that you have deployed virtuoso correctly, see https://github.com/YaooXu/GoG/blob/main/Freebase/README.md.