AutoSchema: Live Schema Grounding for Agentic Text-to-Sparql over Heterogeneous Knowledge Graphs

📅 2026-08-14
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the challenges of schema maintenance and semantic alignment in SPARQL querying over heterogeneous knowledge graphs by proposing a training-free, real-time schema anchoring framework. Through dynamic endpoint probing, entity mapping, and path exploration, this approach enables agents to achieve zero-shot adaptive query construction on unseen graphs without reliance on predefined schemas. Experimental results demonstrate that the framework significantly improves factual accuracy and reduces tool invocation frequency in biomedical KGQA tasks. Furthermore, it successfully transfers to undocumented knowledge graphs, effectively resolving cross-resource semantic alignment and cold-start issues.
📝 Abstract
Life science knowledge graphs make large collections of structured data available through SPARQL, but each resource uses its own schema, identifiers, and links. TogoMCP helps language model agents query these resources by providing curated Metadata Interoperability Exchange files. Creating and maintaining these files still requires language model assisted drafting, validation, and manual review. We study \emph{live schema grounding}, where an agent obtains the schema evidence needed for a question directly from the current endpoints. We present \textsc{autoschema}, a general framework for live schema grounding that requires no training. It inspects live schemas, maps entity names in a question to graph identifiers, explores relation paths, and finds possible connections between resources during iterative query construction. We use TogoMCP as our main comparison framework. We evaluate \textsc{autoschema} on Resource Focused Biomedical KGQA, Multi Resource Biomedical KGQA, Longitudinal Biomedical Semantic QA over BioASQ Task B, and Chemistry Knowledge Graph Transfer to a previously undocumented RDF graph. \textsc{autoschema} improves mean factoid accuracy over TogoMCP in the biomedical KGQA tasks and gives consistent gains in the longitudinal BioASQ evaluation. It also reduces iteration budget exhaustion and uses fewer tool calls on average in the core evaluation. The transfer study gives preliminary evidence that live schema grounding can support irregular and previously unseen graphs without first creating a curated schema file.
Problem

Research questions and friction points this paper is trying to address.

Live Schema Grounding
Heterogeneous Knowledge Graphs
Text-to-SPARQL
Agentic QA
Schema Interoperability
Innovation

Methods, ideas, or system contributions that make the work stand out.

Live Schema Grounding
Text-to-SPARQL
Training-free Framework
Heterogeneous Knowledge Graphs
Agentic Query Construction