Exploring Sequence-to-Sequence Models for SPARQL Pattern Composition

Anand Panchbhai, Tommaso Soru, Edgard Marx
10/21/2020
7 citations
cs.CLcs.AIcs.DB

Official code: LiberAI/NSpM (226 stars, Python, MIT, last commit 2026-05-20).

Abstract

A booming amount of information is continuously added to the Internet as structured and unstructured data, feeding knowledge bases such as DBpedia and Wikidata with billions of statements describing millions of entities. The aim of Question Answering systems is to allow lay users to access such data using natural language without needing to write formal queries.

Show full abstract

However, users often submit questions that are complex and require a certain level of abstraction and reasoning to decompose them into basic graph patterns. In this short paper, we explore the use of architectures based on Neural Machine Translation called Neural SPARQL Machines to learn pattern compositions. We show that sequence-to-sequence models are a viable and promising option to transform long utterances into complex SPARQL queries.

View on arXivView PDF

Code Implementations(1)

LiberAI/NSpMOfficial100%
MIT

🤖 Neural SPARQL Machines for Knowledge Graph Question Answering.

22684Python, ShellAug 18, 20176 months agoMIT
deep-learningkbqakgqaknowledge-graphlinked-data+10 more

Similar Papers

Cite this paper

@article{panchbhai2020exploring,
  title  = {Exploring Sequence-to-Sequence Models for SPARQL Pattern Composition},
  author = {Anand Panchbhai and Tommaso Soru and Edgard Marx},
  year   = {2020},
  eprint = {2010.10900},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.10900}
}

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/2010.10900.svg)](https://codeofpaper.com/paper/2010.10900)

Discussion