๐ฎ
๐ฎ
The Ethereal
Algebraic Databases
February 10, 2016 ยท The Ethereal ยท ๐ Theory and Applications of Categories
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Patrick Schultz, David I. Spivak, Christina Vasilakopoulou, Ryan Wisnesky
arXiv ID
1602.03501
Category
math.CT: Category Theory
Cross-listed
cs.DB
Citations
35
Venue
Theory and Applications of Categories
Last Checked
1 month ago
Abstract
Databases have been studied category-theoretically for decades. The database schema -- whose purpose is to arrange high-level conceptual entities -- is generally modeled as a category or sketch. The data itself, often called an instance, is generally modeled as a set-valued functor, assigning to each conceptual entity a set of examples. While mathematically elegant, these categorical models have typically struggled with representing concrete data such as integers or strings. In the present work, we propose an extension of the set-valued functor model, making use of multisorted algebraic theories (a.k.a. Lawvere theories) to incorporate concrete data in a principled way. This also allows constraints and queries to make use of operations on data, such as multiplication or comparison of numbers, helping to bridge the gap between traditional databases and programming languages. We also show how all of the components of our model -- including schemas, instances, change-of-schema functors, and queries - fit into a single double categorical structure called a proarrow equipment (a.k.a. framed bicategory).
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Category Theory
๐ฎ
๐ฎ
The Ethereal
Open Diagrams via Coend Calculus
๐ฎ
๐ฎ
The Ethereal
Executions in (Semi-)Integer Petri Nets are Compact Closed Categories
๐ฎ
๐ฎ
The Ethereal
Compositional Scientific Computing with Catlab and SemanticModels
๐ฎ
๐ฎ
The Ethereal
Computational Petri Nets: Adjunctions Considered Harmful
๐ฎ
๐ฎ
The Ethereal