Abstract
Temporal Question Answering (Temporal KGQA) faces a significant "heterogeneity gap" between the complex temporal expressions in natural language and the rigid structures of Knowledge Graphs (KGs). This paper presents SF-TQA, a novel framework that moves beyond simple timestamp matching to a "Semantic Framework of Temporal Constraints" (SF-TCons). By identifying intrinsic connections between events—such as shared entities or sequential order—SF-TQA can answer questions even when explicit dates are missing. The system achieves state-of-the-art results on the TempQuestions and TimeQuestions benchmarks.
The Challenge of Temporal Heterogeneity
Traditional Temporal KGQA systems often struggle with questions where temporal intent is expressed through relations rather than specific dates. For instance, in the question "Where was John Lennon standing when he was shot?", a KG might lack a timestamp for the "standing" event. Most existing systems attempt to resolve this by converting temporal intents into quantitative filters (e.g., date ranges), which fails when numerical data is absent.
SF-TQA addresses this by modeling intrinsic temporal relations. It recognizes that being "shot" and "standing" are related because they involve the same person at the same moment, regardless of whether a specific time is recorded in the database.
The SF-TQA Framework
The core of the system is the Semantic Framework of Temporal Constraints (SF-TCons), which categorizes temporal intents into six Interpretation Structures (IS):
- Quantitative Structures (IS-1 to IS-3): These handle comparison (before/after), ordering (first/last), and direct attribute queries (e.g., "7th book").
- Intrinsic Structures (IS-4 to IS-6): These capture "Same Entity" relations (events sharing a subject), "Part-of" relations (sub-events), and "Sequent Structures" (events that naturally follow one another, such as political succession).
The SF-TQA pipeline operates in three stages:
- Constraint Evocation: Identifying temporal signals using a fine-tuned BERT model and TimeML standards.
- Constraint Grounding: Exploring the KG to find graph paths that match the identified Interpretation Structures, transforming abstract intents into executable queries.
- Query Ranking: A BERT-based ranker scores candidate queries to select the most semantically accurate match for the original question.
Experimental Results
The model was evaluated on two major benchmarks: TempQuestions (Freebase-based) and TimeQuestions (Wikidata-based). SF-TQA established new state-of-the-art (SOTA) performance:
- TempQuestions: Achieved a Hit@1 of 41.2%, a 5.0% improvement over the previous best, TEQUILA.
- TimeQuestions: Achieved an F1 score of 52.7%, significantly outperforming the previous SOTA (EXAQT) at 45.6%.
Ablation studies confirmed that removing intrinsic interpretation structures (IS-4 to IS-6) led to a significant drop in performance, highlighting the necessity of modeling non-numerical connections.
Key Insights and Future Directions
The primary contribution of SF-TQA is the realization that temporal logic in KGs is often structural. By treating temporal signals as triggers for specific graph patterns, the system can answer previously "unsolvable" questions.
However, limitations remain. The system is dependent on the underlying completeness of the KG; if a fact is entirely missing, the system cannot reason its way to an answer. Future work may involve hybrid approaches that combine KGs with raw web text and moving toward end-to-end differentiable models to reduce pipeline error propagation.
Summary updated