KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Base
Preprint
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. 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.Keywords
All Related Versions
This publication has 32 references indexed in Scilit:
- From Paraphrasing to Semantic Parsing: Unsupervised Semantic Parsing via Synchronous Semantic Decoding2021
- Stepwise Reasoning for Multi-Relation Question Answering over Knowledge Graph with Weak Supervision2020
- Message Passing for Hyper-Relational Knowledge Graphs2020
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension2020
- Benefits of Intermediate Annotations in Reading Comprehension2020
- Improving Multi-hop Question Answering over Knowledge Graphs using Knowledge Base Embeddings2020
- Unsupervised Dual Paraphrasing for Two-stage Semantic Parsing2020
- Linguistic generalization and compositionality in modern artificial neural networksPhilosophical Transactions of the Royal Society B: Biological Sciences, 2019
- Complex Program Induction for Querying Knowledge Bases in the Absence of Gold ProgramsTransactions of the Association for Computational Linguistics, 2019
- Knowledge Graph Embedding Based Question Answering2019