Gene ologs: a categorical framework for Gene Ontology

arXiv:1909.11210 · q-bio.GN, math.CT · Submitted 2019-09-24 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Genomics Radio. Generated commentary on the latest computational biology and genomics papers.

Ines: We're looking at the paper: "Gene ologs: a categorical framework for Gene Ontology".

Paper summary: Ines: So we're wrapping up this look at Gene ologs today, and we need to talk about what this paper actually is—the title and who wrote it.

Ines: They're taking the existing Gene Ontology system that we use to describe gene functions and trying to put it into this new structure using category theory.

Marcus: So what that means is they're using math ideas to build a way to organize all those biological terms that is much more rigid.

Ines: They aren't just listing words; they are building a formal system where things like biological processes and molecular functions have defined mathematical roles, which helps computers reason about them better.

Marcus: That suggests they’re aiming for a level of structure that goes beyond just having a big hierarchy diagram in OWL. It's about defining exactly how those different pieces of information connect to each other.

Yuki: It sounds interesting that they are using category theory to organize gene functions, because as a population geneticist, I wonder if this structure can actually capture the real diversity we see in species.

Ines: Right, Yuki? I mean they’re trying to get beyond just the hierarchy we see in OWL and define how things truly relate mathematically.

Marcus: The paper says olog is a different language for ontology and it is based on category theory, which gives it this mathematical background that makes it rigorous yet expressive.

Yuki: I'm curious about the practical side of that rigor. Can we actually use this to tell the difference between similar biological functions across different species?

Ines: That’s a big question because GO is supposed to unify knowledge across different species, and if olog provides a better structure, it might help us see those connections more accurately.

Marcus: They introduce concepts like types for objects and arrows for aspects, where an arrow shows the relationship between two types with a text description along the arrow.

Yuki: So instead of just saying "this gene does this function," they are defining a strict rule about how those functions are connected across different biological domains.

Conclusion: Ines: We’re wrapping up this look at Gene ologs today, and we need to talk about what this paper actually is—the title and who wrote it.

Marcus: It’s titled "Gene ologs: a categorical framework for Gene Ontology," written by authors who are really focused on the theory side of things.

Yuki: I'm still thinking about what the next step is for this framework, because right now it seems like we have a strong starting point, but it needs to connect to real data from populations.

Ines: Right, Yuki? The paper lays out the types and aspects and how facts are declared using a communicative diagram with a check-mark to indicate the equivalence of two paths.

Marcus: And they introduce the idea of connecting two Gene ologs using a functor, which is like a structure-preserving mapping from one category to another.

Yuki: So if we can connect different Gene ologs that are based on different biological systems, that’s useful for seeing how functions transfer between species.

Ines: That’s the point. The paper suggests that when two Gene ologs share common ground, they can be merged into one unified structure.

Marcus: They also mention a command ground between two Gene ologs C and D referring to a third Gene olog B that sends meaningful functors to both C and D, allowing communications beyond simple sticking together.

Yuki: It sounds like the paper is setting up the language for how we can eventually compare these different biological knowledge systems in a very structured way.

Ines: So the implication is that this isn't just a new vocabulary; it's a new mathematical tool to structure all that biological data, which opens doors for much deeper analysis of gene function.

Centre for Neural Circuits and Behaviour, University of Oxford · Department of Physiology, Anatomy and Genetics, University of Oxford

q-bio.GN, math.CT

Submitted: 2019-09-24

Updated: 2026-11-21

Comments: 15 pages, 7 figures, 2 tables

Project page: http://noctua.geneontology.org

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 84/100

The gist: Gene Ontology (GO) is now widely represented in the Semantic Web standard Web Ontology Language (OWL)…

Key concepts

Gene Ontology (GO)
GO classifies gene functions into three main areas: biological process (what the gene does), molecular function (the biochemical activity), and cellular component (where the function occurs). It is a standard system for organizing gene information.
Olog
Olog is an ontology language based on category theory. It treats objects as 'types' and relationships as 'aspects.' This framework offers a mathematically rigorous way to define knowledge representation, ensuring strong expressive power.
Aspects
In the Gene ologs framework, aspects are arrows between two types that describe a property or relationship between them. These must be functional, meaning every element in the starting type has exactly one corresponding element in the ending type.
Functor
A functor is a structure-preserving mapping between two Olog categories. This concept allows researchers to compare different Gene ologs to identify semantic similarities, such as seeing how 'TOR signalling' relates to 'cAMP-mediated signalling'.

Terminology

Summary

Gene Ontology (GO) is now widely represented in the Semantic Web standard Web Ontology Language (OWL), but olog offers a complementary and potentially better framework based on category theory for gene function annotation. p. 0

Where the paper says it

It provides a way to unify biological knowledge across different species via a dynamic and controlled vocabulary. GO is now widely represented in the Semantic Web standard Web Ontology Language (OWL).

Gene Ontology and its OWL representation

The paper introduces the three main classes of GO: biological process, molecular function, and cellular component. A biological process describes a particular process that a gene or its product participates. p. 1

Where the paper says it

1 GO and OWL basics There are three main classes of GO: biological process, molecular function and cellular component. A biological process describes a particular process that a gene or its product participates.

A molecular function refers to the biochemical activity a gene product carries out. p. 1
Where the paper says it

The Drosophila gene DAT which encodes a dopamine transporter has its biological process denoted as “cellular ion homeostasis”. On the other side, a molecular function refers to the biochemical activity a gene product carries out.

Finally, the cellular component defines the location inside a cell where a gene product performs its function. p. 1
Where the paper says it

The DAT gene we just mentioned has its controlled vocabulary (CV) term (or GO term) “dopamine:sodium symporter activity” for its molecular funciton. Finally, the cellular component defines the location inside a cell where a gene product performs its function.

GO is primarily represented in OWL, which is based on logic and supports automated reasoning through computer programs OWL allows for restrictions on classes and properties, enabling verification of knowledge consistency and explicit making of implicit knowledge. p. 2
Where the paper says it

A great advantage of these logic rules is that OWL enables automated reasoning and inferencing through computer programs. Moreover, the consistency of knowledge in the GO can be verified and implicit knowledge be made explicit [Hastings, 2017, Hitzler et al.

In practice, GO terms can be organized in a hierarchical graph using OWL. p. 2
Where the paper says it

Moreover, the consistency of knowledge in the GO can be verified and implicit knowledge be made explicit [Hastings, 2017, Hitzler et al. In practice, GO terms can be organized in a hierarchical graph using OWL.

Standard GO annotation and GO-CAM model

A standard GO annotation associates a gene product with a specific GO term, where multiple terms can be assigned to one gene product and vice versa. To capture the layer of understanding where molecular function is related to other aspects like cellular component, the Causal Activity Models for Gene Ontology (GO-CAM) was created. p. 3

Where the paper says it

On the other hand, for a single gene product, its molecular function is mostly related to other aspects of GO such as the cellular component. In order to capture this layer of understanding, the Causal Activity Models for Gene Ontology (GO-CAM) was created.

The GO-CAM model combines standard GO annotations into an annotation network that better reveals semantic connections among different aspects of a gene or among different gene products. p. 3
Where the paper says it

In order to capture this layer of understanding, the Causal Activity Models for Gene Ontology (GO-CAM) was created. A GO-CAM model combines standard GO annotations to produce an annotation network that could better reveal the semantic connections among different aspects of a gene or among different gene products [TheGeneOntologyConsortium, 2019].

This model connects isolated individual GO annotations to provide a better understanding of a gene product through connected knowledge. p. 3
Where the paper says it

A GO-CAM model combines standard GO annotations to produce an annotation network that could better reveal the semantic connections among different aspects of a gene or among different gene products [TheGeneOntologyConsortium, 2019]. As an example, we show the individual GO annotations for the gene product Foxp1 in Figure 2.

Ologs for knowledge representation

Olog is a different ontology language grounded in category theory, which provides a rigorous formulation while maintaining strong expressive power for knowledge representation. Olog treats each olog as a category where objects and arrows are called types and aspects, respectively. p. 5

Where the paper says it

Olog uses a linguistic version of category theory. Each olog is treated as a category in which objects and arrows are called types and aspects, respectively.

An aspect describes a property of a type or the relationship between two types, denoted as an arrow between two types with text descriptions along the arrow. p. 6
Where the paper says it

An aspect describes a property of a type or a relationship between two types. In a Gene olog, an aspect is denoted as an arrow between two types, with text descriptions along the arrow.

For aspects to be composable, they must be functional relationships where each element in the domain has one and only one corresponding element in the codomain. p. 5
Where the paper says it

For example, a way to view a gene is that it is a fragment of DNA, so we can draw an olog to reflect this piece of knowledge: In order for the aspects to be composable, olog requires that aspects must be functional relationships. Basically, suppose two type A and B are sets, then an aspect f : A → B between them should be a functional map, which means that each element in A must have one and only one corresponding element in B [Spivak and Kent, 2012].

Facts are declarations of equivalence between two paths in an olog, such as declaring that two different ways to view a GO term are identical. p. 7
Where the paper says it

In Gene ologs, we can draw a “communicative diagram” with a check-mark “√ ” to indicate the equivalence of two paths. A fact often reflects that we can view a GO term from two different ways.

Gene ologs – an initial draft

The paper drafts an initial version of Gene ologs by adapting original framework definitions to GO. Types are represented as boxes containing a singular indefinite noun phrase, and most GO terms serve as types. p. 6

Where the paper says it

A type is an concept, which is represented as a box containing a singular indefinite noun phrase. In Gene ologs, most of the GO terms are types, and we just need to put “a” or “an” in front of the term, or slightly reorganize the words to convert the term description into a noun phrase.

Aspects are denoted as arrows between two types with text descriptions along the arrow. p. 6
Where the paper says it

An aspect describes a property of a type or a relationship between two types. In a Gene olog, an aspect is denoted as an arrow between two types, with text descriptions along the arrow.

Facts are drawn using a “communicative diagram” with a check-mark to indicate the equivalence of two paths. p. 7
Where the paper says it

A fact is a declaration of equivalence between two paths. In Gene ologs, we can draw a “communicative diagram” with a check-mark “√ ” to indicate the equivalence of two paths.

Instances refer to concrete objects of a type, and annotating a gene product with a GO term means stating that the gene is an instance of that type. p. 7
Where the paper says it

As a type represents a set of objects, an instance refers to a concrete object of that type. When we annotate a gene product with a GO term, we say that the gene is an instance of that type (GO term).

Products are defined as pairs from two types, denoted as A × B = (a, b) a ∈ A and b ∈ B. p. 7
Where the paper says it

When we annotate a gene product with a GO term, we say that the gene is an instance of that type (GO term). We define the product of two types (or sets) A and B, denoted A × B, as a set containing pairs of objects coming from A and B, respectively: A × B = {(a, b) | a ∈ A and b ∈ B}.

Comparison between two Gene ologs

Two Gene ologs can be connected using a functor, which is a structure-preserving mapping from one category to another. The concept of a functor allows for comparing two Gene ologs and observing semantic similarities, such as the equivalence of TOR signalling and cAMP-mediated signalling. p. 9

Where the paper says it

Figure 5: A functor between two Gene ologs The concept of a functor enables us to compare two Gene ologs and to better observe their semantic similarities. For example, in Figure 6, we can see a clear equivalence of TOR signalling and cAMP-mediated signalling, both of which are intracellular signalling transductions.

When two Gene ologs share common ground, they can be merged into one which is depicted in a unified structure. p. 9
Where the paper says it

, a part that is same in both, we can glue the two Gene ologs together. Apparently, the two Gene ologs in Figure 6 can be merged into one which is depicted in Figure 7 9

A command ground between two Gene ologs C and D refers to a third Gene olog B that sends meaningful functors to both C and D, allowing communications beyond simple sticking. p. 9
Where the paper says it

Figure 6: A simple functor example 4. 3 Merging two Gene ologs When two Gene ologs have a common ground, i.

Conclusion and future work

Category theory is considered the closest thing to a universal language of thought, providing a flexible yet rigorous framework for codifying knowledge. The authors introduce Gene olog as an initial step to exploit its application for Gene Ontology, covering basic settings like types, aspects, facts, and products. p. 6

Where the paper says it

1 Basic components In this section we will draft an initial version of the Gene ologs. We will introduce definitions from the original ologs framework [Spivak and Kent, 2012] and adapt them to Gene Ontology.

A more comprehensive and advanced construction should be considered in future work, especially concerning GO-CAM models. p. 3
Where the paper says it

On the other hand, for a single gene product, its molecular function is mostly related to other aspects of GO such as the cellular component. In order to capture this layer of understanding, the Causal Activity Models for Gene Ontology (GO-CAM) was created.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Gene Ontology representation can be improved by adopting ologs for GO to achieve a rigorous formulation while at the same time a strong expressive power for knowledge representation compared to OWL. This allows for novel perspectives on gene function by leveraging category theory's ability to handle non-binary knowledge, as suggested by the paper.

  2. The AI system can perform enhanced knowledge transfer across species because ologs offer a framework that is complementary, if not better than, OWL, which is useful for transforming the knowledge of gene functions for one species to another.

  3. The AI system can create more nuanced and connected models of gene function by using GO-CAM models built upon olog structures. This allows the AI to move beyond isolated annotations to reveal the semantic connections among different aspects of a gene or among different gene products.

Abstract

The Gene Ontology (GO) is the most widely used resource for the functional annotation of genes and gene products. It unifies biological knowledge across species through a dynamic, controlled vocabulary, and it is now primarily represented in the Web Ontology Language (OWL), a logic-based language that supports automated reasoning. Ologs (ontology logs), introduced by Spivak and Kent, offer a different language for knowledge representation, grounded in category theory: concepts are types, functional relationships are aspects, and declared equalities between paths are facts. Ologs come with features that are not part of the standard use of GO: path equations, universal constructions (products, coproducts, pullbacks and pushouts), a database reading in which instance data are set-valued functors, and functors with which ontologies can be compared and merged. In this work we take an initial step towards Gene ologs, i.e. ologs for GO. We fix conventions for reading GO terms as olog types, examine which GO relations can be represented as aspects and which must instead be represented as spans, illustrate each olog construction with GO examples, show that standard GO annotations and GO Causal Activity Models (GO-CAM) can be represented as olog instance data subject to checkable constraints, and describe how functors and pushouts can be used to compare and merge Gene ologs. We also discuss what ologs do not provide relative to OWL. We regard Gene ologs as complementary to, rather than a replacement for, the OWL representation of GO.

Related papers