apoorvumang / CronKGQA

ACL 2021: Question Answering over Temporal Knowledge Graphs
MIT License
92 stars 19 forks source link

How is the event.pkl file obtained and what are the meanings of the fields in it? #10

Open czy1999 opened 2 years ago

czy1999 commented 2 years ago

Hello, thank you for your work, I found the event variable in the dataset while reading the code, but I looked at its output carefully, I don't understand what he means, I hope to get your answer, thanks! event

I tried to match the triples in event with the ternary in wikidata, but failed

apoorvumang commented 2 years ago

can you please elaborate how you got that file?

czy1999 commented 2 years ago

The file name of the pkl is event_list_all.pickle, This file is extracted from the data.zip provided with the project

filepath: CronKGQA/data/wikidata_big/kg/tkbc_processed_data/wikidata_big/event_list_all.pickle

This file is used in the TemporalDataset class in CronKGQA/tkbc/datasets.py as self.event