NLQxform: A Language Model-based Question to SPARQL Transformer

Ruijie Wang, Zhiruo Zhang, Luca Rossetto, Florian Ruosch, Abraham Bernstein
11/8/2023
cs.CLcs.AI

No official code found. Best implementation: ruijie-wang-uzh/NLQxform (1 star, MIT, last commit 2025-05-05).

Abstract

In recent years, scholarly data has grown dramatically in terms of both scale and complexity. It becomes increasingly challenging to retrieve information from scholarly knowledge graphs that include large-scale heterogeneous relationships, such as authorship, affiliation, and citation, between various types of entities, e.g., scholars, papers, and organizations. As part of the Scholarly QALD Challenge, this paper presents a question-answering (QA) system called NLQxform, which provides an easy-to-use natural language interface to facilitate accessing scholarly knowledge graphs. NLQxform allows users to express their complex query intentions in natural language questions. A transformer-based language model, i.e., BART, is employed to translate questions into standard SPARQL queries, which can be evaluated to retrieve the required information. According to the public leaderboard of the Scholarly QALD Challenge at ISWC 2023 (Task 1: DBLP-QUAD - Knowledge Graph Question Answering over DBLP), NLQxform achieved an F1 score of 0.85 and ranked first on the QA task, demonstrating the competitiveness of the system.

View on arXivView PDF

Code Implementations(1)

MIT

This repository includes the code of our paper NLQxform: A Language Model-based Question to SPARQL Transformer.

11PythonFeb 5, 20241 years agoMIT

Similar Papers

Cite this paper

@article{wang2023nlqxform,
  title  = {NLQxform: A Language Model-based Question to SPARQL Transformer},
  author = {Ruijie Wang and Zhiruo Zhang and Luca Rossetto and Florian Ruosch and Abraham Bernstein},
  year   = {2023},
  eprint = {2311.07588},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.07588v1}
}

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

Discussion