[Paper Review] A Benchmark for Generalizable and Interpretable Temporal Question Answering over Knowledge Bases
This paper introduces TempQA-WD, a benchmark dataset for temporal Knowledge Base Question Answering (KBQA) over Wikidata and Freebase, featuring SPARQL queries and intermediate annotations (entity/relation linking, lambda expressions) to enable interpretable and generalizable models. The benchmark reveals significant performance gaps in existing systems, with F1 scores below 0.4 on complex questions, highlighting the need for improved temporal reasoning and generalization across knowledge bases.
Knowledge Base Question Answering (KBQA) tasks that involve complex reasoning are emerging as an important research direction. However, most existing KBQA datasets focus primarily on generic multi-hop reasoning over explicit facts, largely ignoring other reasoning types such as temporal, spatial, and taxonomic reasoning. In this paper, we present a benchmark dataset for temporal reasoning, TempQA-WD, to encourage research in extending the present approaches to target a more challenging set of complex reasoning tasks. Specifically, our benchmark is a temporal question answering dataset with the following advantages: (a) it is based on Wikidata, which is the most frequently curated, openly available knowledge base, (b) it includes intermediate sparql queries to facilitate the evaluation of semantic parsing based approaches for KBQA, and (c) it generalizes to multiple knowledge bases: Freebase and Wikidata. The TempQA-WD dataset is available at https://github.com/IBM/tempqa-wd.
Motivation & Objective
- To address the lack of datasets that support interpretable, generalizable temporal KBQA across multiple knowledge bases.
- To fill the gap in existing benchmarks that lack SPARQL queries and intermediate reasoning annotations for temporal questions.
- To enable evaluation of semantic parsing-based approaches by providing gold-standard intermediate outputs (entity/relation linking, lambda expressions).
- To promote research on complex temporal reasoning (e.g., before/after, overlap, intervals) beyond simple single-hop or multi-hop reasoning.
- To support generalization across KBs by providing parallel annotations on both Wikidata and Freebase.
Proposed method
- Adapted the TempQuestions dataset to Wikidata, creating a new benchmark called TempQA-WD with parallel annotations on both Wikidata and Freebase.
- Annotated all questions with executable SPARQL queries to support evaluation of semantic parsing and reasoning pipelines.
- Provided intermediate annotations for a subset of questions, including gold-standard entity linking, relation linking, and lambda calculus representations.
- Used Typed Lambda Calculus with custom temporal functions (e.g., before, after, interval, overlap, teenager) to formally represent temporal semantics.
- Evaluated baseline performance using SYGMA, a pipeline-based KBQA system, with ablation studies on entity linking, relation linking, and SPARQL generation.
- Employed GERBIL for standard KBQA metrics (precision, recall, F1) and conducted category-wise analysis by question complexity.
Experimental results
Research questions
- RQ1How well do existing KBQA systems generalize to temporal reasoning tasks on Wikidata compared to Freebase?
- RQ2To what extent do intermediate annotations (e.g., entity/relation linking, lambda expressions) improve the interpretability and performance of temporal KBQA systems?
- RQ3What is the performance gap in temporal KBQA for complex questions involving multiple temporal events or combined reasoning (e.g., temporal + spatial or class hierarchy)?
- RQ4How do entity linking and relation linking errors impact overall system accuracy in temporal KBQA?
- RQ5Can models trained on one KB (e.g., Freebase) be effectively adapted to another (e.g., Wikidata) for temporal reasoning tasks?
Key findings
- The baseline SYGMA system achieved an F1 score of 0.32 on the TempQA-WD test set, indicating substantial room for improvement in temporal KBQA.
- TEQUILLA, a system trained on Freebase, achieved an F1 of 0.48 on TempQA-WD, showing limited generalization to Wikidata despite parallel annotations.
- Performance dropped significantly on complex questions (F1 = 0.38) compared to simple questions (F1 = 0.38), though the latter were more frequent, suggesting a need for better handling of complex reasoning.
- Ablation studies showed that using ground-truth entity linking (GT-EL) increased F1 from 0.47 to 0.60, highlighting the critical role of accurate entity linking in temporal QA.
- When both ground-truth entity and relation linking were used (GT-RL), F1 reached 0.92, indicating that errors in linking are a major bottleneck in current systems.
- The highest possible performance (F1 = 1.0) was achieved with ground-truth SPARQL, confirming that the core challenge lies in accurate semantic parsing and reasoning, not in answer retrieval.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.