AutoSchema Improves Text-to-SPARQL Querying for Diverse Knowledge Graphs

Yiming Zhang, Koji Tsuda· August 17, 2026 View original

Key takeaways

  • Live schema grounding allows AI agents to dynamically query heterogeneous knowledge graphs.
  • AutoSchema improves query accuracy and efficiency compared to methods relying on pre-curated metadata.
  • This approach reduces the manual effort in managing complex data schemas.
  • It shows promise for handling undocumented or irregular knowledge graphs.

Who benefits

Life SciencesHealthcarePharmaceuticalsData AnalyticsResearch

Summary

AutoSchema is a new framework that enables AI agents to query heterogeneous knowledge graphs directly by dynamically inspecting live schemas, rather than relying on pre-curated metadata files. It improves accuracy and efficiency in biomedical and chemistry knowledge graph question answering.

Traditional methods for AI agents to query complex knowledge graphs, especially in life sciences, often depend on meticulously crafted metadata files. These files, like TogoMCP, help language models understand the diverse schemas and identifiers across different data sources. However, creating and maintaining these metadata files is a labor-intensive process, requiring significant human and AI assistance for drafting, validation, and review. A new approach, called "live schema grounding," aims to overcome this limitation. This method allows an agent to directly obtain the necessary schema information from the live endpoints of the knowledge graphs as needed for a specific query. The proposed framework, AutoSchema, implements this by inspecting live schemas, mapping entity names from a question to graph identifiers, exploring relation paths, and dynamically finding connections between resources during iterative query construction. Evaluations against the TogoMCP framework show that AutoSchema significantly improves factoid accuracy in biomedical knowledge graph question answering and offers consistent gains in longitudinal BioASQ evaluations. It also reduces the number of tool calls and budget exhaustion, demonstrating greater efficiency. Preliminary studies further suggest its capability to handle irregular and previously undocumented graphs without requiring prior schema curation.

Why it matters

This research offers a more efficient and adaptable way for AI agents to interact with complex, heterogeneous data sources, reducing the manual effort required for schema management and improving query accuracy.

How to implement this in your domain

  1. 1Investigate integrating live schema grounding frameworks like AutoSchema into existing data integration pipelines.
  2. 2Evaluate the potential for reducing manual metadata curation efforts for internal knowledge graphs.
  3. 3Pilot AutoSchema or similar techniques for specific domain-specific question-answering systems.
  4. 4Explore its applicability for real-time data exploration and analytics over diverse enterprise data.

Original post by Yiming Zhang, Koji Tsuda

"arXiv:2608.14228v1 Announce Type: new 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…"

View on X

Originally posted by Yiming Zhang, Koji Tsuda on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses