← Latest papers
🤖 machine learning

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

The paper presents AutoSchema, a training-free framework for live schema grounding that enables language model agents to directly inspect heterogeneous knowledge graph endpoints and construct SPARQL queries without relying on pre-curated schema files, demonstrating improved accuracy and efficiency over existing methods like TogoMCP in biomedical and chemistry domains.

Original authors: Yiming Zhang, Koji Tsuda

Published 2026-08-17
📖 3 min read☕ Coffee break read

Original authors: Yiming Zhang, Koji Tsuda

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine the internet of science as a massive, chaotic library where every book is written in a different language, uses its own unique filing system, and has a librarian who speaks a dialect no one else understands. This is the reality of Knowledge Graphs in life sciences. Instead of a single, giant database, scientists have thousands of specialized "graphs" (digital maps of facts) for things like genes, diseases, and drugs. Each graph is a treasure trove of information, but they are all built differently. One might call a drug "Drug A," while another calls it "Compound X," and they might link them to diseases in completely different ways.

To ask a computer a question like "Which drugs treat this specific cancer?" you need to translate your natural English into a strict, computer-readable code called SPARQL. It's like trying to ask a librarian for a book, but you have to know the exact Dewey Decimal number, the specific shelf code, and the precise spelling of the author's name in the catalog. If you get even one tiny detail wrong, the computer returns nothing. For years, the solution was to have a human (or a smart AI) write a giant, perfect "reference guide" for every single library before you could even start asking questions. But what if the library changes its shelves overnight? Or what if it's a brand-new library no one has ever seen? That's the problem this paper tackles: how can a computer agent figure out the rules of a library while it's standing inside it, without needing a pre-written manual?

The paper introduces a new framework called AutoSchema, which acts like a super-smart, curious detective for these scientific libraries. Instead of waiting for a human to write a static "reference guide" (which the authors call an MIE file) that might become outdated, AutoSchema lets the AI agent go directly to the "live" database and peek around. When the agent has a question, it doesn't guess the rules; it asks the database itself, "Hey, what are your shelves called? How do you spell this gene? What connects this drug to that disease?" It gathers this evidence in real-time, right when the question is asked.

The researchers tested this detective against the old method (which relies on those pre-written reference guides) using a variety of tough biomedical questions. They found that AutoSchema was generally better at finding the right answers. In tests involving genes and diseases, the new method got the facts right more often and made fewer mistakes than the old way. It also used fewer "tool calls" (fewer attempts to ask the database questions) and didn't get stuck in loops as often. The authors suggest that this approach is especially helpful when dealing with messy, irregular, or brand-new databases where no reference guide exists yet. However, they are careful to note that while the results are promising, the "bridge" feature (which helps connect two different libraries) wasn't used much in their tests, and more experiments are needed to be sure it works perfectly in every scenario.

In short, the paper argues that instead of relying on a static, pre-written map that might be wrong or outdated, we should let our AI agents explore the territory live. By grounding their questions in the actual, current state of the database, they can navigate the complex, shifting landscape of life science data more accurately and efficiently. It's a shift from "memorizing the map" to "learning the terrain as you walk it."

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →