Introduction
Biomedical research is currently hindered by the fragmentation of data across disparate silos. While the volume of biological information is growing exponentially, it remains trapped in various databases with inconsistent formats, restrictive licensing, and heterogeneous underlying models. Knowledge Graphs (KGs) have emerged as a robust solution for integrating this data, representing entities such as genes, drugs, and diseases as nodes connected by relational edges.
However, existing KG construction tools often operate as "black boxes," offering fixed representations that do not allow researchers to evaluate how different data modeling strategies impact downstream discovery. To address this, we present PheKnowLator (Phenotype Knowledge TransLator), an open-source ecosystem designed to automate the construction of ontologically grounded KGs while providing the flexibility to systematically compare diverse knowledge representations.
The PheKnowLator Ecosystem
PheKnowLator is structured as a three-part semantic ecosystem intended to support the entire lifecycle of KG development and analysis:
- KG Construction Resources: A comprehensive suite of tools and APIs for downloading, cleaning, and mapping heterogeneous data. This includes a universal file parser capable of handling over 30 distinct file types.
- KG Benchmarks: A repository of prebuilt, "gold standard" KGs that allow the community to test and validate new algorithms.
- KG Tools: A set of analysis resources, including SPARQL endpoints and Jupyter Notebooks, designed to facilitate data querying and visualization.
Methodology: Flexible Knowledge Representation
The core innovation of PheKnowLator lies in its ability to toggle specific modeling parameters, allowing researchers to customize the graph's semantic depth. Users can choose between class-based (TBox) or instance-based (ABox) models and decide whether to utilize standard directed edges or infer inverse bidirectional relations.
Furthermore, the ecosystem introduces OWL-NETS (OWL Network Extraction for Topological Studies), a novel algorithm that "decodes" complex, logic-heavy Web Ontology Language (OWL) structures into simpler, hybrid graphs. This abstraction process ensures that the deep semantic knowledge contained within formal ontologies remains compatible with modern machine learning and graph embedding algorithms, which often struggle with high-logic expressivity.
Data Integration and Validation
The ecosystem was validated through the construction of a massive "Human Disease" KG. This build integrated:
- 12 OBO Foundry Ontologies: Including the Gene Ontology (GO), ChEBI (chemicals), and Mondo (diseases).
- 31 Linked Open Data (LOD) sets: Including ClinVar, UniProt, and Reactome.
- Experimental Data: Large-scale molecular data from the Human Protein Atlas and the GTEx project.
From this unified data pool, the authors generated 12 distinct benchmark KGs, each representing a unique combination of modeling parameters to test the effects of representation on graph topology.
Results and Key Insights
Impact of Representation
The study demonstrated that modeling choices significantly alter graph size and density. The largest benchmark KG (class-based with inverse relations) contained over 13.8 million nodes and 41.1 million triples. In contrast, versions processed via OWL-NETS were significantly leaner, successfully reducing the "logic tax" associated with formal OWL structures while preserving essential biological relationships.
Performance and FAIRness
Constructing these large-scale graphs is computationally intensive; the full graph construction step required approximately 6.5 hours and 118 GB of memory. Despite this intensity, PheKnowLator ensures reproducibility by adhering to FAIR (Findable, Accessible, Interoperable, Reusable) principles. Every build is versioned, containerized using Docker, and assigned unique identifiers, allowing researchers to replicate specific KG versions exactly.
Comparative Utility
When compared to 14 other open-source KG tools, PheKnowLator distinguished itself through its unique ability to generate multiple versions of the same KG for benchmarking and its specialized tools for assessing ontology quality. The ecosystem has already demonstrated real-world utility in toxicogenomics, drug-interaction hypothesis generation, and the development of RNA-based therapeutics.
Limitations and Future Directions
While PheKnowLator offers a powerful framework, current limitations include a reliance on developer-led qualitative assessments for tool comparisons. Future work will focus on integrating emerging standards such as BioLink and Bioregistry. Additionally, the team plans to transition from text-based configuration to more accessible Graphical User Interfaces (GUIs) and YAML-based configurations to support researchers with less coding expertise. To keep pace with growing data scales, the integration of high-performance embedding tools like GRAPE is also under consideration.
Summary updated