Evidence map›Paper›PMID 41965069›Full record

ArticleBioinformatics (Oxford, England)2026

Accurate SPARQL generation via in-context learning and schema-based query construction.

Hikaru Nagazumi, Yuki Moriya, Shuichi Kawashima, Toshiaki Katayama, Kana Shimizu

Abstract read
In one paragraph

Article in Bioinformatics (Oxford, England), 2026. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

5 authors.

Hikaru NagazumiFaculty of Science and Engineering, Waseda University, Shinjuku-ku, Tokyo 169-8555, Japan.ORCID 0009-0009-5679-7876
Yuki MoriyaDatabase Center for Life Science, Kashiwa, Chiba 277-0871, Japan.ORCID 0000-0001-8195-5893
Shuichi KawashimaDatabase Center for Life Science, Kashiwa, Chiba 277-0871, Japan.ORCID 0000-0001-7883-3756
Toshiaki KatayamaDatabase Center for Life Science, Kashiwa, Chiba 277-0871, Japan.ORCID 0000-0003-2391-0384
Kana ShimizuFaculty of Science and Engineering, Waseda University, Shinjuku-ku, Tokyo 169-8555, Japan.ORCID 0000-0001-6452-9091

Funding

No grant is acknowledged in the PubMed record.

6 · The paper itself

Abstract

motivationIntegrated analysis across biological databases is becoming increasingly important in life science research, leading many public databases to adopt Semantic Web technologies, also known as knowledge graphs. However, biological data possesses inherently complex and diverse structures, which makes the resulting Resource Description Framework (RDF) schemas intricate and difficult for non-expert users to master, preventing them from translating natural language questions into correct SPARQL queries. Although recent large language model (LLM)-based approaches show potential for automatic SPARQL query generation, they often suffer from structural hallucinations and require large-scale training data to capture schema-specific structures. In this study, we propose a novel framework that avoids hallucinations and requires no training data by combining LLM-based word extraction with a schema-based SPARQL query builder.

resultsThe LLM extracts variables and parameters from the user's question based on a predefined schema, and the query builder generates a syntactically correct SPARQL query accordingly. By providing a predefined schema in prompts, our method eliminates the need for training data. Experimental results on UniProt, Rhea, and Bgee demonstrate that our method outperforms baseline LLM-based methods using fine-tuning and prompt-tuning in terms of the similarity between search results obtained from generated and expert-written queries. Furthermore, we developed a proof-of-concept chatbot system that enables users to query RDF databases via natural language input, demonstrating the practical utility of our approach in improving access to biological data resources. AVAILABILITY AND IMPLEMENTATION: Experimental environment: https://github.com/scott2121/sparql_query_generator (DOI: https://doi.org/10.5281/zenodo.18539213). Chatbot: https://github.com/scott2121/sparql_query_chatbot (DOI: https://doi.org/10.5281/zenodo.18539225).

Indexed as

Computational BiologyNatural Language ProcessingSoftwareAlgorithmsDatabases, FactualLarge Language Models

Identifiers

PMID41965069
PMCPMC13163174

What OpenQuestion holds

Textmetadata
LicenceCC BY
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.