DatabaseBioinformaticsPeer-reviewed journal article
TogoMCP: Natural Language Querying of Life-Science Knowledge Graphs via Schema-Guided LLMs and the Model Context Protocol
Akira R. KinjoiD, Yasunori YamamotoiD, Samuel Bustamante LarrietiD, José Emilio Labra GayoiD, Takatomo FujisawaiD
- Citations
- 1
- FWCI
- 3.40
- Field percentile
- top 6%
Abstract
Querying the RDF Portal knowledge graph maintained by DBCLS--which aggregates approximately 60 life-science databases--requires proficiency in both SPARQL and database-specific RDF schemas, placing this resource beyond the reach of most researchers. Large Language Models (LLMs) can, in principle, translate natural-language questions into executable SPARQL, but without schema-level context, they frequently fabricate non-existent predicates or fail to resolve entity names to database-specific identifiers. We present TogoMCP, a system that recasts the LLM as a protocol-driven inference engine orchestrating specialized tools via the Model Context Protocol (MCP). Two mechanisms are essential to its design: (i) the MIE (Metadata-Interoperability-Exchange) file, a concise YAML document that dynamically supplies the LLM with each target databases structural and semantic context at query time; and (ii) a two-stage workflow separating entity resolution via external REST APIs from schema-guided SPARQL generation. On a benchmark of 50 biologically grounded questions spanning five types and 23 databases, TogoMCP achieved a large improvement over an unaided baseline (Cohens d = 1.82, Wilcoxon p < 0.001), with win rates exceeding 80% for question types with precise, verifiable answers. An ablation study shows that all component configurations deliver significant improvements, with MIE schema files providing the largest marginal contribution on mean per-question score ({Delta} = +0.50 relative to a no-MIE condition, two-sided Wilcoxon p = 0.067; 90% bootstrap CI [+0.04, +0.94] excludes zero); a one-line instruction to load the relevant MIE file recovers the same mean improvement as a full procedural protocol, while the protocol additionally reduces downside risk (loss rate 1.6% vs. 4.8%, Fisher p = 0.036). These results suggest a general design principle: concise, dynamically delivered schema context is more valuable than complex orchestration logic for mean-score performance, while procedural guidance plays a complementary role in narrowing variance. Database URL: https://togomcp.rdfportal.org/
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Phenomics Assistant: An Interface for LLM-based Biomedical Knowledge Graph Exploration
Shawn T. O’Neil, Kevin Schaper, … Chris Mungall·bioRxiv·Jan 31, 2024
- ddkg.skill: A Compositional Agent Skill for Translating Biomedical and Bioinformatics Questions into Cypher for the Data Distillery Knowledge Graph
Deanne M. Taylor, Aditya M. Lahiri, … Jonathan C. Silverstein·bioRxiv·Oct 7, 2026
- AI-Driven Science Communication: Leveraging LLMs and Knowledge Graphs for Seamless Knowledge Exchange
Patrick Scheibe, Jana Schor·bioRxiv·Jul 4, 2025
- From Parametric Guessing to Graph-Grounded Answers: Building Reliable ChatGPT-like tools for Plant Science
Manoj Itharajula, Shan Chun Lim, Marek Mutwil·bioRxiv·Apr 6, 2026
- React-to-Me: A Conversational Interface for Interactive Exploration of the Reactome Pathway Knowledgebase.
Helia Mohammadi, Fatemeh Almodaresi, … Lincoln David Stein·bioRxiv·Dec 12, 2025
- Evaluation of search-enabled Pre-trained Large Language Models on retrieval tasks for the PubChem Database
Ash Sze, Soha Hassoun·Bioinformatics AdvancesPeer-reviewed·Dec 26, 2024