paper-with-me

Papers

Automating SPARQL Query Translations between DBpedia and Wikidata

2025-07-14 · Malte Christian Bartels, Debayan Banerjee, Ricardo Usbeck arxiv

This paper investigates whether state-of-the-art Large Language Models (LLMs) can automatically translate SPARQL between popular Knowledge Graph (KG) schemas. We focus on translations between the DBpedia and Wikidata KG, and later on DBLP and OpenAlex KG. This study addresses a notable gap in KG interoperability research by rigorously evaluating LLM performance on SPARQL-to-SPARQL translation. Two benchmarks are assembled, where the first align 100 DBpedia-Wikidata queries from QALD-9-Plus; the second contains 100 DBLP queries aligned to OpenAlex, testing generalizability beyond encyclopaedic KGs. Three open LLMs: Llama-3-8B, DeepSeek-R1-Distill-Llama-70B, and Mistral-Large-Instruct-2407 are selected based on their sizes and architectures and tested with zero-shot, few-shot, and two chain-of-thought variants. Outputs were compared with gold answers, and resulting errors were categorized. We find that the performance varies markedly across models and prompting strategies, and that translations for Wikidata to DBpedia work far better than translations for DBpedia to Wikidata.

📄 PDF Abstract BibTeX arXiv:2507.10045

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

An Evolutionary Algorithm to Learn SPARQL Queries for Source-Target-Pairs: Finding Patterns for Human Associations in DBpedia

2016-07-25 · Jörn Hees, Rouven Bauer, Joachim Folz, Damian Borth 외

Efficient usage of the knowledge provided by the Linked Data community is often hindered by the need for domain experts to formulate the right SPARQL queries to answer questions. For new questions they have to decide whi…

TrQuery: An Embedding-based Framework for Recommanding SPARQL Queries

2018-06-16 · Lijing Zhang, Xiaowang Zhang, Zhiyong Feng

In this paper, we present an embedding-based framework (TrQuery) for recommending solutions of a SPARQL query, including approximate solutions when exact querying solutions are not available due to incompleteness or inco…

Graph Matching

Modern Baselines for SPARQL Semantic Parsing

2022-04-27 · Debayan Banerjee, Pranav Ajit Nair, Jivat Neet Kaur, Ricardo Usbeck 외

In this work, we focus on the task of generating SPARQL queries from natural language questions, which can then be executed on Knowledge Graphs (KGs). We assume that gold entity and relations have been provided, and the …

Knowledge GraphsSemantic Parsing

Reducing the impact of out of vocabulary words in the translation of natural language questions into SPARQL queries

2021-11-04 · Manuel A. Borroto Santana, Francesco Ricca, Bernardo Cuteri

Accessing the large volumes of information available in public knowledge bases might be complicated for those users unfamiliar with the SPARQL query language. Automatic translation of questions posed in natural language …

Entity LinkingMachine Translationnamed-entity-recognitionNamed Entity Recognition+3

A Graph Traversal Based Approach to Answer Non-Aggregation Questions Over DBpedia

2015-10-16 · Chenhao Zhu, Kan Ren, Xuan Liu, Haofen Wang 외

We present a question answering system over DBpedia, filling the gap between user information needs expressed in natural language and a structured query interface expressed in SPARQL over the underlying knowledge base (K…

Question Answering