$\text{EFO}_{k}$-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operation

Hang Yin, Zihao Wang, Weizhi Fei, Yangqiu Song
7/15/2023
cs.AIcs.DBcs.LG

Official code: HKUST-KnowComp/EFOK-CQA (11 stars, MIT, last commit 2024-03-11).

Abstract

To answer complex queries on knowledge graphs, logical reasoning over incomplete knowledge is required due to the open-world assumption. Learning-based methods are essential because they are capable of generalizing over unobserved knowledge. Therefore, an appropriate dataset is fundamental to both obtaining and evaluating such methods under this paradigm. In this paper, we propose a comprehensive framework for data generation, model training, and method evaluation that covers the combinatorial space of Existential First-order Queries with multiple variables ($\text{EFO}_{k}$). The combinatorial query space in our framework significantly extends those defined by set operations in the existing literature. Additionally, we construct a dataset, $\text{EFO}_{k}$-CQA, with 741 types of query for empirical evaluation, and our benchmark results provide new insights into how query hardness affects the results. Furthermore, we demonstrate that the existing dataset construction process is systematically biased that hinders the appropriate development of query-answering methods, highlighting the importance of our work. Our code and data are provided in~\url{https://github.com/HKUST-KnowComp/EFOK-CQA}.

View on arXivView PDF

Code Implementations(1)

MIT

EFOK-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operation

111PythonJul 15, 20232 years agoMIT

Similar Papers

Cite this paper

@article{yin2023textefokcqa,
  title  = {$\text{EFO}_{k}$-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operation},
  author = {Hang Yin and Zihao Wang and Weizhi Fei and Yangqiu Song},
  year   = {2023},
  eprint = {2307.13701},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.13701v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.13701.svg)](https://codeofpaper.com/paper/2307.13701)

Discussion