This is the code of paper GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphs. Dong Yang, Peijun Qing, Yang Li, Haonan Lu, Xiaodong Lin. EMNLP 2022. [arXiv]
- Python 3.7
- PyTorch 1.7
- tqdm
- tensorboardX
- Download the datasets here.
- Run the scripts in
gamma.sh
.
If you find this code useful, please consider citing the following paper.
@inproceedings{EMNLP2022_GAMMAE,
author = {Dong Yang and Peijun Qing and Yang Li and Haonan Lu and Xiaodong Lin},
booktitle = {Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing},
title = {GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphs},
year = {2022}
}
We refer to the code of KGReasoning. Thanks for their contributions.