paper-with-me

홈 › Papers

A Comprehensive Evaluation of Neural SPARQL Query Generation from Natural Language Questions

2023-04-16 · Papa Abdou Karim Karou Diallo, Samuel Reyd, Amal Zouaq

In recent years, the field of neural machine translation (NMT) for SPARQL query generation has witnessed significant growth. Incorporating the copy mechanism with traditional encoder-decoder architectures and using pre-trained encoder-decoders and large language models have set new performance benchmarks. This paper presents various experiments that replicate and expand upon recent NMT-based SPARQL generation studies, comparing pre-trained language models (PLMs), non-pre-trained language models (NPLMs), and large language models (LLMs), highlighting the impact of question annotation and the copy mechanism and testing various fine-tuning methods using LLMs. In particular, we provide a systematic error analysis of the models and test their generalization ability. Our study demonstrates that the copy mechanism yields significant performance enhancements for most PLMs and NPLMs. Annotating the data is pivotal to generating correct URIs, with the "tag-within" strategy emerging as the most effective approach. Additionally, our findings reveal that the primary source of errors stems from incorrect URIs in SPARQL queries that are sometimes replaced with hallucinated URIs when using base models. This does not happen using the copy mechanism, but it sometimes leads to selecting wrong URIs among candidates. Finally, the performance of the tested LLMs fell short of achieving the desired outcomes.

📄 PDF Abstract BibTeX arXiv:2304.07772

Code (0)

등록된 구현이 없습니다.

Tasks

DecoderMachine TranslationNMTTAGTranslation

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

Evaluation of SPARQL query generation from natural language questions

2013-09-01 · WS 2013 9 · K. Bretonnel Cohen, Jin-Dong Kim

InteracSPARQL: An Interactive System for SPARQL Query Refinement Using Natural Language Explanations

2025-11-03 · Xiangru Jian, Zhengyuan Dong, M. Tamer Özsu arxiv

In recent years, querying semantic web data using SPARQL has remained challenging, especially for non-expert users, due to the language's complex syntax and the prerequisite of understanding intricate data structures. To…

From Graph Retrieval to Schema Realization: Counterfactual Validation for Text-to-SPARQL over Heterogeneous Knowledge Graphs

2025-08-03 · Chengxiao Dai, Yue Xiu, Dusit Niyato arxiv

Text-to-SPARQL maps natural-language questions to executable SPARQL queries over RDF knowledge graphs. While standard evaluations often fix the target graph in advance, practical knowledge graph question answering (KGQA)…

Graph Question AnsweringKnowledge Graphs

SPARQL-LLM: Real-Time SPARQL Query Generation from Natural Language Questions

2025-12-16 · Panayiotis Smeros, Vincent Emonet, Ruijie Wang, Ana-Claudia Sima 외 arxiv

The advent of large language models is contributing to the emergence of novel approaches that promise to better tackle the challenge of generating structured queries, such as SPARQL queries, from natural language. Howeve…

Knowledge Graphs

GGC: Selective Query Correction for Reliable Text-to-SPARQL Generation

2026-07-30 · Ziyi Yang, Thanh-Son Nguyen, Tuan Anh Nguyen, Lihui Chen arxiv

Large language models (LLMs) have demonstrated strong capabilities in structured query generation, making them a natural choice for Text-to-SPARQL, which translates natural language questions into executable SPARQL queri…

Knowledge Graphs