An olog \mathcal{C} 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 \textbf{Set}, the
category of sets and functions. The boxes in the above diagram represent objects of \textbf{Set}. 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 \mathcal{C}_{\mathbb{P}} of the
power set monad. Given an A\in Ob(\textbf{Set}), \mathbb{P}(A) is then the power set of A. The
natural transformation \eta maps a\in A to the
singleton \{a\}, and the natural transformation \mu maps a set of sets to its union. The
Kleisli category \mathcal{C}_{\mathbb{P}} is the category with the objects matching those in \mathbb{P}, and morphisms that establish
binary relations. Given a morphism f:A\to B, and given a\in A and b\in B, we define the morphism R by saying that (a,b)\in R whenever b\in 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==