Representing Knowledge and Querying Data using Double-Functorial Semantics

Category theory offers a mathematical foundation for knowledge representation and database systems.Popular existing approaches model a database instance as a functor into the category of sets and functions, or as a 2-functor into the 2-category of sets, relations, and implications.The functional and relational models are unified by double functors into the double category of sets, functions, relations, and implications.In an accessible, example-driven style, we show that the abstract structure of a 'double category of relations' is a flexible and expressive language in which to represent knowledge, and we show how queries on data in the spirit of Codd's relational algebra are captured by doublefunctorial semantics.in that c 1 = h = c 2 holds.Thus, f and g induce a pair morphism f , g : X r A r, and we can calculate thatmeaning that f = g must hold as a result of the uniqueness clause of the universal property of the tabulator r.Therefore, d is monic.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2025-09-22
DOI
https://doi.org/10.4204/eptcs.429.9
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Representing Knowledge and Querying Data using Double-Functorial Semantics

Evan Patterson, Mike Lambert
Electronic Proceedings in Theoretical Computer Science
Semantic Web and Ontologies
article

Representing Knowledge and Querying Data using Double-Functorial Semantics

Evan Patterson, Mike Lambert
article en

Abstract

Category theory offers a mathematical foundation for knowledge representation and database systems.Popular existing approaches model a database instance as a functor into the category of sets and functions, or as a 2-functor into the 2-category of sets, relations, and implications.The functional and relational models are unified by double functors into the double category of sets, functions, relations, and implications.In an accessible, example-driven style, we show that the abstract structure of a 'double category of relations' is a flexible and expressive language in which to represent knowledge, and we show how queries on data in the spirit of Codd's relational algebra are captured by doublefunctorial semantics.in that c 1 = h = c 2 holds.Thus, f and g induce a pair morphism f , g : X r A r, and we can calculate thatmeaning that f = g must hold as a result of the uniqueness clause of the universal property of the tabulator r.Therefore, d is monic.

Electronic Proceedings in Theoretical Computer ScienceVol. 429
University of Massachusetts Boston (US), Topos (US), Topos Institute
Openalex Percentile: Top 87%
Semantic Web and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.