Jump to content

Olog

From Wikipedia, the free encyclopedia

The theory ofologsis an attempt to provide a rigorous mathematical framework for knowledge representation, construction of scientific models and data storage usingcategory theory,linguistic and graphical tools. Ologs were introduced in 2012 byDavid Spivakand Robert Kent.[1]

Etymology

[edit]

The term "olog" is short for "ontologylog "." Ontology "derives fromonto-,from theGreekὤν,ὄντος"being; that which is", present participle of the verbεἰμί"be", and-λογία,-logia:science,study,theory.

Mathematical formalism

[edit]

An ologfor a given domain is acategorywhoseobjectsare boxes labeled with phrases (more specifically, singular indefinite noun phrases) relevant to the domain, and whosemorphismsare directed arrows between the boxes, labeled with verb phrases also relevant to the domain. These noun and verb phrases combine to form sentences that express relationships between objects in the domain.

In every olog, the objects exist within atarget category.Unless otherwise specified, the target category is taken to be,thecategory of sets and functions. The boxes in the above diagram represent objects of.For example, the box containing the phrase "an amino acid" represents the set of all amino acids, and the box containing the phrase "a side chain" represents the set of all side chains. The arrow labeled "has" that points from "an amino acid" to "a side chain" represents the function that maps each amino acid to its unique side chain.

Another target category that can be used is theKleisli categoryof thepower set monad.Given an,is then the power set of A. Thenatural transformationmapsto thesingleton,and the natural transformationmaps a set of sets to its union. TheKleisli categoryis the category with the objects matching those in,and morphisms that establishbinary relations.Given a morphism,and givenand,we define the morphismby saying thatwhenever.The verb phrases used with this target category would need to make sense with objects that are subsets: for example, "is related to" or "is greater than".

Another possible target category is the Kleisli category of probability distributions, called the Giry monad.[2]This provides a generalization ofMarkov decision processes.

Ologs and databases

[edit]

An ologcan also be viewed as adatabase schema.Every box (object of) in the olog is atableand the arrows (morphisms) emanating from the box are columns in.The assignment of a particular instance to an object ofis done through afunctor.In the example above, the box "an amino acid" will be represented as a table whose number of rows is equal to the number of types of amino acids and whose number of columns is three, one column for each arrow emanating from that box.

Relations between ologs

[edit]

"Communication" between different ologs which in practice can be communication between different models or world-views is done usingfunctors.Spivak coins the notions of a 'meaningful' and 'strongly meaningful' functors.[1]Letandbe two ologs,,functors (see the section on ologs and databases) anda functor.is called aschema mapping.We say that aismeaningfulif there exists a natural transformation(thepullbackof J by F).

Taking as an exampleandas two different scientific models, the functoris meaningful if "predictions", which are objects in,made by the first modelcan be translated to the second model.

We say thatisstrongly meaningfulif given an objectwe have.This equality is equivalent to requiringto be a natural isomorphism.

Sometimes it will be hard to find a meaningful functorfromto.In such a case we may try to define a new ologwhich represents the common ground ofandand find meaningful functorsand.

If communication between ologs is limited to a two-way communication as described above then we may think of a collection of ologs as nodes of agraphand of the edges as functors connecting the ologs. If a simultaneous communication between more than two ologs is allowed then the graph becomes a symmetricsimplicial complex.

Rules of good practice

[edit]

Spivak provides some rules of good practice for writing an olog whose morphisms have a functional nature (see the first example in the section Mathematical formalism).[1]The text in a box should adhere to the following rules:

  1. begin with the word "a" or "an". (Example: "an amino acid" ).
  2. refer to a distinction made and recognizable by the olog's author.
  3. refer to a distinction for which there is well defined functor whose range is,i.e. an instance can be documented. (Example: there is a set of all amino acids).
  4. declare all variables in a compound structure. (Example: instead of writing in a box "a man and a woman" write "a manand a woman"or" a pairwhereis a man andis a woman ").

The first three rules ensure that the objects (the boxes) defined by the olog's author are well-defined sets. The fourth rule improves the labeling of arrows in an olog.

Applications

[edit]

This concept was used in a paper published in the December 2011 issue ofBioNanoScienceby David Spivak and others to establish a scientific analogy between spider silk and musical composition.[3]

See also

[edit]

References

[edit]
  1. ^abcSpivak, David I.; Kent, Robert E. (31 January 2012)."Ologs: A Categorical Framework for Knowledge Representation".PLOS ONE.7(1): e24274.arXiv:1102.1889.Bibcode:2012PLoSO...724274S.doi:10.1371/journal.pone.0024274.PMC3269434.PMID22303434.
  2. ^Giry monadat thenLab
  3. ^Giesa, Tristan; Spivak, David I.; Buehler, Markus J. (2011). "Reoccurring patterns in hierarchical protein materials and music: The power of analogies".BioNanoScience.1(4): 153–161.arXiv:1111.5297.doi:10.1007/s12668-011-0022-5.S2CID5178100.
[edit]