Biolink Model
Biolink Model: https://w3id.org/biolink/biolink-model.yaml
Quickstart docs:
For a good overview of the biolink-model, watch Chris Mungall's talk at ICBO 2020.
- Browse the model: https://biolink.github.io/biolink-model
Refer to the following resources for a quick introduction to the Biolink Model:
- Introduction to the Biolink Datamodel
- Biolink Model - A community driven data model for life sciences (Biocuration 2020)
See also the Biolink Model Documentation for help in understanding, curating, and working with the model.
Installation
The default install pulls in pydantic and linkml-runtime. It is enough to use both generated
Python datamodels (biolink_model.datamodel.pydanticmodel_v2 and
biolink_model.datamodel.model), build a SchemaView, run the generate_viz_json script, and
access the bundled schema and prefix-map data files (biolink_model/schema/*.yaml,
biolink_model/prefixmaps/*.json) as package data (for example, with importlib.resources):
pip install biolink-model
Additional functionality is available through extras:
| Extra | Adds | Use it for |
|---|---|---|
scripts |
linkml, rdflib, curies |
The model generation/maintenance scripts under src/biolink_model/scripts/ (invoked via the Makefile) |
docs |
mkdocs, mkdocs-material, mkdocs-mermaid2-plugin |
Building the documentation site |
all |
all of the above | Everything |
pip install "biolink-model[scripts]" # generation/maintenance scripts
pip install "biolink-model[all]" # everything
Introduction
The purpose of the Biolink Model is to provide a high-level datamodel of biological entities (genes, diseases, phenotypes, pathways, individuals, substances, etc), their properties, relationships, and enumerate ways in which they can be associated.
The representation is independent of storage technology or metamodel (Solr documents, neo4j/property graphs, RDF/OWL, JSON, CSVs, etc). Different mappings to each of these are provided.
The specification of the Biolink Model is a single YAML file built using linkml. The basic elements of the YAML are:
- Class Definitions: definitions of upper level classes representing both 'named thing' and 'association'
- Slot Definitions: definitions of slots (aka properties) that can be used to relate members of these classes to other classes or data types. Slots collectively refer to predicates, node properties, and edge properties
The model itself is being used in the following projects:
- NCATS Biomedical Data Translator
- Monarch Initiative
- KG-COVID-19
- KG Microbe
- Illuminating the Druggable Genome
Organization
The main source of truth is biolink-model.yaml. This is a YAML file that is intended to be relatively simple to view and edit in its native form.
The yaml definition is currently used to derive:
- JSON Schema
- Python dataclasses
- ProtoBuf definitions
- GraphQL
- OWL
- RDF Shape Expressions
- JSON-LD context
- SHACL Shapes
- ShEx Shapes
Citing Biolink Model
Unni DR, Moxon SAT, Bada M, Brush M, Bruskiewich R, Caufield JH, Clemons PA, Dancik V, Dumontier M, Fecho K, Glusman G, Hadlock JJ, Harris NL, Joshi A, Putman T, Qin G, Ramsey SA, Shefchek KA, Solbrig H, Soman K, Thessen AE, Haendel MA, Bizon C, Mungall CJ, The Biomedical Data Translator Consortium (2022). Biolink Model: A universal schema for knowledge graphs in clinical, biomedical, and translational science. Clin Transl Sci. Wiley; 2022 Jun 6; https://onlinelibrary.wiley.com/doi/10.1111/cts.13302
Metadata
Release files for biolink-model 4.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| biolink_model-4.4.6.tar.gz | 4.1 MB | Without provenance | Details for biolink_model-4.4.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biolink_model-4.4.6-py3-none-any.whl | Python 3 | none | any | Details for biolink_model-4.4.6-py3-none-any.whl |
Total release size: 4.5 MB
Release files / biolink_model-4.4.6.tar.gz
| Download URL | biolink_model-4.4.6.tar.gz |
|---|---|
| Size | 4.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fec7249cfbc19a6a3a1ddd2757a9f86fd893b50210a47847364255ddd919946
|
|
BLAKE2b-256 checksum How to use checksums |
1fe73726cdfd6fe1e56b36166f520627fe5cdf503a891407ddb55e7e90bdb2c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / biolink_model-4.4.6-py3-none-any.whl
| Download URL | biolink_model-4.4.6-py3-none-any.whl |
|---|---|
| Size | 371.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22359ced4f7f6f8a335000584bbf619d3596ff691b8b0f41aa852360b41cfc3c
|
|
BLAKE2b-256 checksum How to use checksums |
de36d352b574c274d8098ae6e7d3ddddd24f3f23f68345d659a4e52056e27d38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for biolink-model 4.4.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.