Let’s define a biological entity (e.g.,
Organism) to be a variable that takes values from a vocabulary of terms with biological meaning.
There are different roughly equivalent vocabularies for the same entity. For example, one can describe organism with the vocabulary of the scientific names, the vocabulary of the common names, or the vocabulary of ontology IDs for the same organism.
There are different versions & sources of these vocabularies.
Terms in the vocabularies have different granularity, and are often hierarchical.
Typically, vocabularies are based on a given version of a public reference ontology, but contain additional “custom” terms corresponding to “new knowledge” absent from reference ontologies. For example, new cell types or states, new synthetic genes, etc.
The central class
Bionty models 3 of the 4 above-mentioned properties of biological entities:
Biontyobject comes with a table of terms in which each column corresponds to an alternative vocabulary for the entity.
Every table is versioned & has a tracked reference source (typically, a public ontology).
Most tables have a children column that allows mapping hierarchies.
Adding user-defined records amounts to managing bioregistries, and we recommend using Bionty’s SQL extension (lnschema_bionty).