A Universal Question-Answering Platform for Knowledge Graphs

Reham Omar, Ishika Dhall, Panos Kalnis, Essam Mansour
3/1/2023
cs.AIcs.CLcs.DB

No official code found. Best implementation: CoDS-GCS/KGQAn (15 stars, last commit 2024-09-25).

Abstract

Knowledge from diverse application domains is organized as knowledge graphs (KGs) that are stored in RDF engines accessible in the web via SPARQL endpoints. Expressing a well-formed SPARQL query requires information about the graph structure and the exact URIs of its components, which is impractical for the average user. Question answering (QA) systems assist by translating natural language questions to SPARQL. Existing QA systems are typically based on application-specific human-curated rules, or require prior information, expensive pre-processing and model adaptation for each targeted KG. Therefore, they are hard to generalize to a broad set of applications and KGs. In this paper, we propose KGQAn, a universal QA system that does not need to be tailored to each target KG. Instead of curated rules, KGQAn introduces a novel formalization of question understanding as a text generation problem to convert a question into an intermediate abstract representation via a neural sequence-to-sequence model. We also develop a just-in-time linker that maps at query time the abstract representation to a SPARQL query for a specific KG, using only the publicly accessible APIs and the existing indices of the RDF store, without requiring any pre-processing. Our experiments with several real KGs demonstrate that KGQAn is easily deployed and outperforms by a large margin the state-of-the-art in terms of quality of answers and processing time, especially for arbitrary KGs, unseen during the training.

View on arXivView PDF

Code Implementations(1)

CoDS-GCS/KGQAnCommunity100%
157HTML, RubyFeb 8, 20212 years agoNOASSERTION

Similar Papers

Cite this paper

@article{omar2023universal,
  title  = {A Universal Question-Answering Platform for Knowledge Graphs},
  author = {Reham Omar and Ishika Dhall and Panos Kalnis and Essam Mansour},
  year   = {2023},
  eprint = {2303.00595},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.00595v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.00595.svg)](https://codeofpaper.com/paper/2303.00595)

Discussion