⟹
Evan Patterson
Stanford University, Statistics Department
AMS Fall Western Sectional Meeting
Special Session on Applied Category Theory
November 5, 2017
"An ontology is a specification of a conceptualization."
—Thomas Gruber, co-founder of Siri, Inc.
New applications motivating KR research:
Syntax and semantics of a few concept constructors:
C⊓DFOL⇝(C⊓D)(x) ↔ C(x)∧D(x)∀R.CFOL⇝(∀R.C)(x) ↔ ∀y.R(x,y)∧C(y)∃R.⊤FOL⇝(∃R.⊤)(x) ↔ ∃y.R(x,y)
Syntax and semantics of concept subsumption:
C⊑DFOL⇝∀x.C(x)→D(x)
This project is about relational ologs, a categorical-relational framework for knowledge representation.
Goals:
In contrast to DL, relational ologs provide
All these features emerge automatically from the categorical framework.
Rel, the category of sets and relations, is a monoidal category.
Composition: Given relations R:X→Y and S:Y→Z,
:={(x,z):∃y∈Y.xRy∧ySz}
Cartesian product: Given relations R:X→Y and S:Z→W,
:={((x,z),(y,w)):xRy∧zSw}
Dagger: Given a relation R:X→Y,
:={(y,x):yRx}
Diagonals: For every set X,
:={(x,(x′,x″)):x=x′∧x=x″}
:={(x,∗):x∈X}
Together they define a family of commutative special †-Frobenius monoids.
Rel is also a dagger compact category with units and counits defined by
:=
={(∗,(x,x′)):x=x′}
:=
={((x,x′),∗):x=x′}
Rel is a locally posetal 2-category: given relations R,S:X→Y,
R⟹SiffR⊆S.
2-morphisms correspond to subsumptions in DL.
Intersection of R,S:X→Y:
R⊓S=
Limited existential quantification of R:X→Y:
∃R.⊤=
A bicategory of relations is a locally posetal 2-category B that is also a symmetric monoidal category (B,⊗,I) with diagonals (X,ΔX,◊X)X∈B, such that
⟹
⟹
A relational olog is a finitely presented bicategory of relations.
"Finitely presented" means generated by
Instance data for a relational olog B is a functor B→D in BiRel, where the data category D is, e.g.,
R=XY122133
R=(010100001)
Every regular theory T has a classifying category Cl(T), a bicategory of relations with
Every (small) bicategory of relations B has an internal language Lang(B), a regular theory with
For every (small) bicategory of relations B, there is an equivalence of categories Cl(Lang(B))≃BinBiRel.
Paper: E. Patterson, "Knowledge Representation in Bicategories of Relations", 2017 [arXiv]
Background reading: