Targeted Extraction of Temporal Facts from Textual Resources for Improved Temporal Question Answering over Knowledge Bases

Nithish Kannen, Udit Sharma, Sumit Neelam, Dinesh Khandelwal, Shajith Ikbal, Hima Karanam, L. Venkata SubramaniamarXiv 2022

Abstract

Knowledge Base Question Answering (KBQA) systems have the goal of answering complex natural language questions by reasoning over relevant facts retrieved from Knowledge Bases (KB). One of the major challenges faced by these systems is their inability to retrieve all relevant facts due to factors such as incomplete KB and entity/relation linking errors. In this paper, we address this particular challenge for systems handling a specific category of questions called temporal questions, where answer derivation involve reasoning over facts asserting point/intervals of time for various events. We propose a novel approach where a targeted temporal fact extraction technique is used to assist KBQA whenever it fails to retrieve temporal facts from the KB. We use $\lambda$-expressions of the questions to logically represent the component facts and the reasoning steps needed to derive the answer. This allows us to spot those facts that failed to get retrieved from the KB and generate textual queries to extract them from the textual resources in an open-domain question answering fashion. We evaluated our approach on a benchmark temporal question answering dataset considering Wikidata and Wikipedia respectively as the KB and textual resource. Experimental results show a significant $\sim$30% relative improvement in answer accuracy, demonstrating the effectiveness of our approach.

Introduction

Answering complex temporal questions like "Who was the President of the United States during World War 2?" requires a system to perform multi-step reasoning over distinct pieces of information: a list of U.S. Presidents and their respective terms, and the specific time interval for WWII. While Knowledge Base Question Answering (KBQA) systems are adept at structured reasoning, they frequently fail when the underlying database is incomplete—for instance, if Wikidata lacks the exact start and end dates for a historical event.

Conversely, text-based Open-Domain QA systems have access to vast amounts of data but often struggle with the logical "overlap" reasoning required for temporal constraints. This paper proposes a hybrid "targeted extraction" approach that uses logical representations to identify exactly which temporal facts are missing from a KB and retrieves them from raw text (Wikipedia) to complete the reasoning chain.

Methodology

The authors introduce a modular pipeline that combines the reliability of structured KBs with the broad coverage of unstructured text. The process is designed as a "late-stage assistance" model rather than early fusion to minimize noise.

System architecture for targeted temporal fact extraction.
  1. Semantic Parsing and Decomposition: The system converts a natural language question into a logical $\lambda$-expression using Abstract Meaning Representation (AMR). This expression is then split into a Main-$\lambda$ (the core question) and an Aux-$\lambda$ (the temporal constraint).
  2. Targeted Extraction: If the KB fails to provide the temporal interval for the Aux-$\lambda$, the system converts that specific logical component back into a simple natural language query (e.g., "When was World War 2?").
  3. Retrieval and Reasoning: This query is sent to an extraction pipeline using a BERT-based Reading Comprehension model to find dates in Wikipedia. These extracted dates are plugged back into the original logical expression, and a Temporal Reasoner performs the final logic to produce the answer.

Experimental Results

The approach was evaluated using the TempQA-WD and TempQuestions datasets, with Wikidata as the KB and Wikipedia as the textual source. The hybrid approach (KB+Text) demonstrated significant performance gains over standalone systems.

Performance comparison of the proposed KB+Text approach against baselines.

As shown in the results, the proposed system achieved an F1 score of 0.416 on the TempQA-WD dataset, compared to 0.321 for the KB-only baseline—a ~30% relative improvement. It also notably outperformed pure Retrieval-Augmented Generation (RAG) models (0.252 F1), highlighting that structured reasoning remains superior to pure text generation for complex temporal queries. Interestingly, a baseline that always took temporal facts from text (KB+TemporalText) performed worse (0.212 F1), validating the "targeted" nature of the proposed fallback mechanism.

Key Insights and Future Work

A core contribution of this work is using logic as a diagnostic tool. By employing $\lambda$-calculus, the system doesn't just recognize failure; it identifies the specific knowledge gap. This allows for a "surgical strike" on textual resources, leveraging highly accurate Reading Comprehension models to find specific dates.

While effective, the system faces limitations such as lexical mismatches between different KB schemas and the complexity of a multi-step pipeline where errors can propagate. Future research will explore extending this targeted extraction to other missing information types, such as spatial locations or causal relationships, to further enhance the robustness of KBQA systems.

Summary updated

BibTeX
@misc{kannen2022targeted,
  author = {Nithish Kannen and Udit Sharma and Sumit Neelam and Dinesh Khandelwal and Shajith Ikbal and Hima Karanam and L. Venkata Subramaniam},
  title = {{Targeted Extraction of Temporal Facts from Textual Resources for Improved Temporal Question Answering over Knowledge Bases}},
  year = {2022},
  eprint = {2203.11054},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.11054},
}
Figure