One-shot-Relational-Learning icon indicating copy to clipboard operation
One-shot-Relational-Learning copied to clipboard

How is file rel2candidates.json created

Open ZhtWan opened this issue 1 year ago • 4 comments

For function of wiki_candidate() in data.py, rel2candidates.json is created by a file named 'instance_of' which was read to find some entities, but I was wondering how does the file 'instance_of' come? Thanks!

ZhtWan avatar Jul 15 '23 13:07 ZhtWan

Same question here

yoyozz88 avatar Sep 04 '23 06:09 yoyozz88

Do you know whether the triples in the dataset file e1rel_e2 are triples of the entire background KG or triples of tasks in the train,valid or test ?

shannon-paul avatar Apr 11 '24 11:04 shannon-paul

Do you know whether the triples in the dataset file e1rel_e2 are triples of the entire background KG or triples of tasks in the train,valid or test ?

I think it's the latter (only include train/valid/test tasks) if you follow the code provided.

ZhtWan avatar Apr 12 '24 08:04 ZhtWan

Thank you for the response :)

shannon-paul avatar Apr 12 '24 12:04 shannon-paul