Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.04 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.04 KB

GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphs

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]

Requirements

  • Python 3.7
  • PyTorch 1.7
  • tqdm
  • tensorboardX

Reproduce the Results

  1. Download the datasets here.
  2. Run the scripts in gamma.sh.

Citation

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}
}

Acknowledgement

We refer to the code of KGReasoning. Thanks for their contributions.