ArticleslgStudy

science

Olog

Olog is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Olog rather than just read about it. In short: The theory of ologs is an attempt to provide a rigorous mathematical framework for knowledge representation, construction of scientific models and data storage using category theory, linguistic and graphical tools. Ologs were introduced in 2012 by David Spivak and Robert Kent.

Olog — main illustration
Olog — illustration

Key takeaways

  • Olog belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Olog to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Olog from memory before moving on to harder problems.

Reference excerpt

The theory of ologs is an attempt to provide a rigorous mathematical framework for knowledge representation, construction of scientific models and data storage using category theory, linguistic and graphical tools. Ologs were introduced in 2012 by David Spivak and Robert Kent.

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

Mathematical formalism An olog 𝒞 for a given domain is a category whose objects are boxes labeled with phrases (more specifically, singular indefinite noun phrases) relevant to the domain, and whose morphisms are 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 a target category. Unless otherwise specified, the target category is taken to be 𝐒𝐞𝐭, the category 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 the Kleisli category 𝒞ℙ of the power set monad. Given an A∈Ob(𝐒𝐞𝐭), ℙ(A) is then the power set of A. The natural transformation η maps a∈A to the singleton {a}, and the natural transformation μ maps a set of sets to its union. The Kleisli category 𝒞ℙ is the category with the objects matching those in ℙ, and morphisms that establish binary relations. Given a morphism f:A→B, and given a∈A and b∈B, we define the morphism R by saying that (a,b)∈R whenever b∈f(a). 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. This provides a generalization of Markov decision processes.

Ologs and databases An olog 𝒞 can also be viewed as a database schema. Every box (object of 𝒞) in the olog is a table T and the arrows (morphisms) emanating from the box are columns in 𝒞. The assignment of a particular instance to an object of 𝒞 is done through a functor I:𝒞→𝐒𝐞𝐭. 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 "Communication" between different ologs which in practice can be communication between different models or world-views is done using functors. Spivak coins the notions of a 'meaningful' and 'strongly meaningful' functors. Let 𝒞 and 𝒟 be two ologs, I:𝒞→𝐒𝐞𝐭, J:𝒟→𝐒𝐞𝐭 functors (see the section on ologs and databases) and F:𝒞→𝒟 a functor. F is called a schema mapping. We say that a F is meaningful if there exists a natural transformation m:I→F∗J (the pullback of J by F). Taking as an example 𝒞 and 𝒟 as two different scientific models, the functor F is meaningful if "predictions", which are objects in 𝐒𝐞𝐭, made by the first model 𝒞 can be translated to the second model 𝒟. We say that F is strongly meaningful if given an object X∈𝒞 we have I(X)=J(F(X)). This equality is equivalent to requiring m to be a natural isomorphism. Sometimes it will be hard to find a meaningful functor F from 𝒞 to 𝒟. In such a case we may try to define a new olog ℬ which represents the common ground of 𝒞 and 𝒟 and find meaningful functors F𝒞:ℬ→𝒞 and F𝒟:ℬ→𝒟. 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 a graph and of the edges as functors connecting the ologs. If a simultaneous communication between more than two ologs is allowed then the graph becomes a symmetric simplicial complex.

Rules of good practice 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). The text in a box should adhere to the following rules:

begin with the word "a" or "an". (Example: "an amino acid"). refer to a distinction made and recognizable by the olog's author. 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). declare all variables in a compound structure. (Example: instead of writing in a box "a man and a woman" write "a man m and a woman w " or "a pair (m,w) where m is a man and w is 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 This concept was used in a paper published in the December 2011 issue of BioNanoScience by David Spivak and others to establish a scientific analogy between spider silk and musical composition.

See also Hypergraph Modeling language Ontology language Operad theory Orgology Universal algebra Universal logic

References

External links

Related papers Spivak, David I. "Categorical informatics". math.mit.edu. Retrieved 2 May 2017. Spivak, David I. (2014). Category theory for the sciences. Cambridge, MA: MIT Press. ISBN 978-0-262-02813-4. OCLC 876833252.

Websites CatColab: A collaborative environment for formal, interoperable, conceptual modeling. Provides a web-tool to interactively construct and share Ologs.

Illustrations

Olog illustration
Olog illustration

Worked examples

Example 1 — a first encounter with Olog

Start with the simplest possible case. Write down what Olog claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Olog before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Olog ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Olog

In research
Olog appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Olog in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Olog is common in secondary-school and first-year university syllabi. It links to neighbouring topics Category theory, Ontology (information science), so understanding it makes those chapters shorter.
In everyday life
Look for Olog outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Olog” →

How to study Olog in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Olog means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Olog out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Olog in simple terms?

The theory of ologs is an attempt to provide a rigorous mathematical framework for knowledge representation, construction of scientific models and data storage using category theory, linguistic and graphical tools. Ologs were introduced in 2012 by David Spivak and Robert Kent.

Why does Olog matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Olog?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Olog.

Tags

  • Category theory
  • Ontology (information science)

Keep exploring