HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

TempoQR: Temporal Question Reasoning over Knowledge Graphs

Costas Mavromatis Prasanna Lakkur Subramanyam Vassilis N. Ioannidis Soji Adeshina Phillip R. Howard Tetiana Grinberg Nagib Hakim George Karypis

TempoQR: Temporal Question Reasoning over Knowledge Graphs

Abstract

Knowledge Graph Question Answering (KGQA) involves retrieving facts from a Knowledge Graph (KG) using natural language queries. A KG is a curated set of facts consisting of entities linked by relations. Certain facts include also temporal information forming a Temporal KG (TKG). Although many natural questions involve explicit or implicit time constraints, question answering (QA) over TKGs has been a relatively unexplored area. Existing solutions are mainly designed for simple temporal questions that can be answered directly by a single TKG fact. This paper puts forth a comprehensive embedding-based framework for answering complex questions over TKGs. Our method termed temporal question reasoning (TempoQR) exploits TKG embeddings to ground the question to the specific entities and time scope it refers to. It does so by augmenting the question embeddings with context, entity and time-aware information by employing three specialized modules. The first computes a textual representation of a given question, the second combines it with the entity embeddings for entities involved in the question, and the third generates question-specific time embeddings. Finally, a transformer-based encoder learns to fuse the generated temporal information with the question representation, which is used for answer predictions. Extensive experiments show that TempoQR improves accuracy by 25--45 percentage points on complex temporal questions over state-of-the-art approaches and it generalizes better to unseen question types.

Code Repositories

czy1999/MultiTQ
pytorch
Mentioned in GitHub
czy1999/SubGTR
pytorch
Mentioned in GitHub
cmavro/tempoqr
Official
pytorch
Mentioned in GitHub

Benchmarks

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
TempoQR: Temporal Question Reasoning over Knowledge Graphs | Papers | HyperAI