bioRxivBioinformaticsPreprint
ddkg.skill: A Compositional Agent Skill for Translating Biomedical and Bioinformatics Questions into Cypher for the Data Distillery Knowledge Graph
Deanne M. TayloriD, Aditya M. Lahiri, Benjamin J. SteariD, Taha Mohseni AhooyiiD, Yuanchao Zhang, Asif ChinwallaiD, Shiping ZhangiD, Chris NemarichiD, J. Alan Simmons, Jonathan C. SilversteiniD
Abstract
Biomedical knowledge graphs can connect information across genes, phenotypes, tissues, pathways, experiments, and clinical resources, but they are difficult to query correctly without detailed knowledge of the graph. Large language models can help write Cypher code for knowledge graphs, yet a query focused on a bioinformatics task that looks reasonable may still use the wrong identifier, relationship direction, source, intermediate node, or output unit if the user is not completely trained on the schema. We developed ddkg.skill, an Agent Skill that can be loaded into a compatible LLM session to support querying of the NIH Common Fund Data Ecosystem Data Distillery Knowledge Graph (DDKG), a biomedical property graph integrating more than 180 ontologies, over 40 genomics datasets, and dozens of additional cross-domain biomedical datasets. Rather than utilizing a simple markdown prompt, ddkg.skill contains a controller, a compositional library of DDKG-specific references and structured tables, primary documentation, validated query patterns, a routing table, and a Python script that checks the internal links among these materials. The skill build for the December 2025 DDKG release contains 38 bundled files and 239 routing relationships and is identified by checksum so users can state the exact build used to compose a query. The evaluation reported here was performed separately on an earlier build with 38 files and 227 routing entries. In that orthogonal nine-test evaluation against a live December 2025 DDKG instance, five of seven tests targeting sources absent from the worked examples produced correct executed results. The evaluation also exposed a failed query, a cross-source comparison that was not biologically well posed, and errors in the skills own reference material that informed later revisions. The skill guides an AI through entity resolution, graph inspection, query construction, and validation for biomedical and bioinformatics queries, while keeping the DDKG itself as the source of returned results. This design provides a portable and versioned method for giving general-purpose AI systems practical knowledge of a complex biomedical knowledge graph to empower complex bioinformatics data integration. Three executed biomedical use cases further demonstrate cross-species phenotype-to-expression querying, genomic overlap between 4DN chromatin-loop anchors and GTEx eQTLs, and integration of congenital heart phenotype associations with ClinVar and GTEx heart evidence.
- research focus: software / tool
- research focus: benchmarking
- research focus: database / resource
- approach: experimental assay
- Citations
- 0
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
- Task Splitting and Prompt Engineering for Cypher Query Generation in Domain-Specific Knowledge Graphs
Saber Soleymani, Nathan Gravel, … Natarajan Kannan·bioRxiv·Apr 23, 2025
- The Data Distillery: A Graph Framework for Semantic Integration and Querying of Biomedical Data
Taha Mohseni Ahooyi, Benjamin J. Stear, … Deanne M. Taylor·bioRxiv·Aug 11, 2025
- TogoMCP: Natural Language Querying of Life-Science Knowledge Graphs via Schema-Guided LLMs and the Model Context Protocol
Akira R. Kinjo, Yasunori Yamamoto, … Takatomo Fujisawa·DatabasePeer-reviewed·Jan 1, 2026
- Automating Biomedical Knowledge Graph Construction For Context-Aware Scientific Inference
Yikai Zheng, Wanquan Liu, … Yixue Li·bioRxiv·Aug 21, 2026
- BioKEEN: A library for learning and evaluating biological knowledge graph embeddings
Mehdi Ali, Charles Tapley Hoyt, … Hajira Jabeen·BioinformaticsPeer-reviewed·Feb 15, 2019