KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Base

Shulin Cao, Jiaxin Shi, Liangming Pan, Lunyiu Nie, Yutong Xiang +4 more
7/8/2020
164 citations
cs.CL
benchmark-dataset

Official code: shijx12/KQAPro_Baselines (139 stars, Python, MIT, last commit 2024-07-15).

Abstract

Complex question answering over knowledge base (Complex KBQA) is challenging because it requires various compositional reasoning capabilities, such as multi-hop inference, attribute comparison, set operation. Existing benchmarks have some shortcomings that limit the development of Complex KBQA: 1) they only provide QA pairs without explicit reasoning processes; 2) questions are poor in diversity or scale.

Show full abstract

To this end, we introduce KQA Pro, a dataset for Complex KBQA including ~120K diverse natural language questions. We introduce a compositional and interpretable programming language KoPL to represent the reasoning process of complex questions. For each question, we provide the corresponding KoPL program and SPARQL query, so that KQA Pro serves for both KBQA and semantic parsing tasks. Experimental results show that SOTA KBQA methods cannot achieve promising results on KQA Pro as on current datasets, which suggests that KQA Pro is challenging and Complex KBQA requires further research efforts. We also treat KQA Pro as a diagnostic dataset for testing multiple reasoning skills, conduct a thorough evaluation of existing models and discuss further directions for Complex KBQA. Our codes and datasets can be obtained from https://github.com/shijx12/KQAPro_Baselines.

View on arXivView PDF

Code Implementations(1)

MIT

Pytorch implementation of baseline models of KQA Pro, a large-scale dataset of complex question answering over knowledge base.

13920PythonFeb 20, 20202 years agoMIT
bartdatasetkbqaseq2seqsparql

Similar Papers

Cite this paper

@article{cao2020pro,
  title  = {KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Base},
  author = {Shulin Cao and Jiaxin Shi and Liangming Pan and Lunyiu Nie and Yutong Xiang and Lei Hou and Juanzi Li and Bin He and Hanwang Zhang},
  year   = {2020},
  eprint = {2007.03875},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.03875}
}

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/2007.03875.svg)](https://codeofpaper.com/paper/2007.03875)

Discussion