zhiweihu1103 / QE-TEMP

[IJCAI2022] Type-aware Embeddings for Multi-Hop Reasoning over Knowledge Graphs
28 stars 3 forks source link

Some questions on datasets #7

Open rgnthn opened 3 months ago

rgnthn commented 3 months ago

Hello, sorry to bother you. I noticed that your code doesn't include a section for extracting typeset data from the dataset. Could you please provide that part of the code?

zhiweihu1103 commented 3 months ago

Only entities have type knowledge, while relations have type knowledge indirectly through the type graph we define. The type knowledge of entities is built-in in the FB15k and NELL-995 knowledge graphs, or can be directly extracted through rules based on the hierarchical definition structure of the entity. For example, for the entity concept_animal_pelagic_fishes in NELL-995, its type will be animal. For the type data of FB15k, you can pay attention to our KGET papers data, which contains the comparison information of entity types.