An open source knowledge graph ecosystem for the life sciences

Tiffany J. Callahan, Ignacio J. Tripodi, Adrianne L. Stefanski, Luca Cappelletti, Sanya B. Taneja, Jordan M Wyrwa, Elena Casiraghi, Nicolas Matentzoglu, Justin Reese, Jonathan C. Silverstein, Charles Tapley Hoyt, Richard D. Boyce, Scott A. Malec, Deepak Unni, Marcin P. Joachimiak, Peter N. Robinson, Chris Mungall, Emanuele Cavalleri, Tommaso Fontana, Giorgio Valentini, Marco Mesiti, Lucas A. Gillenwater, Brook Santangelo, Nicole Vasilevsky, Robert Hoehndorf, Tellen D. Bennett, Patrick Ryan, George Hripcsak, Michael G. Kahn, Michael Bada, William A. Baumgartner, Lawrence Hunter

Abstract

Translational research requires data at multiple scales of biological organization. Advancements in sequencing and multi-omics technologies have increased the availability of these data, but researchers face significant integration challenges. Knowledge graphs (KGs) are used to model complex phenomena, and methods exist to construct them automatically. However, tackling complex biomedical integration problems requires flexibility in the way knowledge is modeled. Moreover, existing KG construction methods provide robust tooling at the cost of fixed or limited choices among knowledge representation models. PheKnowLator (Phenotype Knowledge Translator) is a semantic ecosystem for automating the FAIR (Findable, Accessible, Interoperable, and Reusable) construction of ontologically grounded KGs with fully customizable knowledge representation. The ecosystem includes KG construction resources (e.g., data preparation APIs), analysis tools (e.g., SPARQL endpoint resources and abstraction algorithms), and benchmarks (e.g., prebuilt KGs). We evaluated the ecosystem by systematically comparing it to existing open-source KG construction methods and by analyzing its computational performance when used to construct 12 different large-scale KGs. With flexible knowledge representation, PheKnowLator enables fully customizable KGs without compromising performance or usability.

Introduction

Biomedical research is currently characterized by an explosion of data, ranging from genomic sequences to clinical records. While Knowledge Graphs (KGs) offer a powerful framework for integrating these disparate "data silos," existing construction tools often impose a "one-size-fits-all" approach. Researchers are frequently forced to choose between simple graphs, which are amenable to machine learning but lack semantic depth, and complex ontologies, which are rich in logic but computationally intensive. PheKnowLator (Phenotype Knowledge Translator) addresses this gap by providing an open-source ecosystem designed to automate the construction of large-scale, FAIR KGs with fully customizable knowledge representation.

The PheKnowLator Ecosystem

The PheKnowLator ecosystem is built on three modular pillars: Construction Resources, Benchmarks, and Tools. This architecture allows for a streamlined workflow from raw data ingestion to the generation of analysis-ready knowledge graphs.

Overview of the PheKnowLator ecosystem architecture
  1. Construction Resources: Includes APIs and a universal file parser capable of handling over 30 distinct file types for data cleaning and identifier mapping.
  2. Benchmarks: A collection of pre-built KGs that serve as gold standards for algorithm testing.
  3. Tools: Support for downstream analysis via Jupyter Notebooks, SPARQL endpoints, and cloud-based storage.

A key innovation is the OWL-NETS algorithm, which performs "semantic abstraction." This process flattens complex logical expressions into hybrid formats that maintain semantic grounding while remaining compatible with standard graph algorithms like node2vec.

Flexible Knowledge Representation

PheKnowLator allows researchers to tune three critical parameters during the construction process to suit specific machine learning or reasoning tasks:

  • Knowledge Model: Users can choose between TBox (class-based) or ABox (instance-based) architectures.
  • Relation Strategy: Options include standard directed edges or the inference of inverse and bidirectional relations.
  • Semantic Abstraction: The degree to which complex logical axioms are simplified into a hybrid graph format.

To demonstrate this flexibility, the authors constructed the PKT Human Disease benchmark KGs, consisting of 12 different versions of a massive KG integrated from 12 OBO Foundry ontologies (e.g., GO, ChEBI, Mondo) and 31 Linked Open Data sets (e.g., UniProt, STRING).

Key Results and Performance

PheKnowLator was evaluated against 16 other open-source KG construction tools. It distinguished itself by providing the most comprehensive support for ontology quality assessment and deep metadata logging, ensuring high reproducibility.

Comparison of PheKnowLator with other life science KG construction tools

The system demonstrated impressive scalability, successfully building KGs with up to 13.8 million nodes and 41.1 million triples. Despite this scale, the construction process remained efficient, averaging 6.5 hours for the most intensive steps. This performance makes monthly updates feasible as new biological data becomes available.

Conclusion and Future Directions

PheKnowLator provides a robust, flexible, and FAIR ecosystem for life science knowledge graph construction. While the system currently requires significant memory (up to 147 GB RAM for large builds) and a working knowledge of Semantic Web technologies, it has already proven its utility in real-world applications, such as sub-phenotyping rare diseases. Future work will focus on integrating newer standards like BioLink and developing a graphical user interface to lower the barrier to entry for non-programmers.

Summary updated

BibTeX
@inproceedings{callahan2024open,
  author = {Tiffany J. Callahan and Ignacio J. Tripodi and Adrianne L. Stefanski and Luca Cappelletti and Sanya B. Taneja and Jordan M Wyrwa and Elena Casiraghi and Nicolas Matentzoglu and Justin Reese and Jonathan C. Silverstein and Charles Tapley Hoyt and Richard D. Boyce and Scott A. Malec and Deepak Unni and Marcin P. Joachimiak and Peter N. Robinson and Chris Mungall and Emanuele Cavalleri and Tommaso Fontana and Giorgio Valentini and Marco Mesiti and Lucas A. Gillenwater and Brook Santangelo and Nicole Vasilevsky and Robert Hoehndorf and Tellen D. Bennett and Patrick Ryan and George Hripcsak and Michael G. Kahn and Michael Bada and William A. Baumgartner and Lawrence Hunter},
  title = {{An open source knowledge graph ecosystem for the life sciences}},
  booktitle = {Scientific},
  year = {2024},
  doi = {10.1038/s41597-024-03171-w},
}
Figure