• Corpus ID: 5115249

Kleisli Database Instances

@article{Spivak2012KleisliDI,
  title={Kleisli Database Instances},
  author={David I. Spivak},
  journal={ArXiv},
  year={2012},
  volume={abs/1209.1011}
}
We use monads to relax the atomicity requirement for data in a database. Depending on the choice of monad, the database fields may contain generalized values such as lists or sets of values, or they may contain exceptions such as various types of nulls. The return operation for monads ensures that any ordinary database instance will count as one of these generalized instances, and the bind operation ensures that generalized values behave well under joins of foreign key sequences. Different… 
Query Combinators
TLDR
Rabbit semantics enables pipeline notation, encouraging its users to construct database queries as a series of distinct steps, each individually crafted and tested, and it is believed that Rabbit can serve as a practical tool for data analytics.
Functional query languages with categorical types
TLDR
It is proved that every hereditarily domain-independent higher-order logic program can be translated into the nested relational algebra, thereby allowing higher- order logic to be used as a query language and giving a higher-orders generalization of Codd's theorem.
Categories at Work 5.1 Adjoint Functors 5.1.1 Discussion and Definition
  • Mathematics
We have now set up an understanding of the basic notions of category theory: categories, functors, natural transformations, and universal properties. We have discussed many sources of examples:
David I. Spivak: Curriculum Vitae
Employment University of Oregon, Mathematics: Paul Olum Visiting Assistant Professor. 2007-present. University of Oregon, Computer Science: guest instructor. Spring 2008, Fall 2008. University of
Relational foundations for functorial data migration
TLDR
This work studies the data transformation capabilities associated with schemas that are presented by directed multi-graphs and path equations, and presents an algebraic query language FQL based on these functors, proves that FQL is closed under composition, and proves that SPCU can be implemented with FQL.

References

SHOWING 1-10 OF 36 REFERENCES
Functorial data migration
A relational model of data for large shared data banks
TLDR
A model based on n-ary relations, a normal form for data base relations, and the concept of a universal data sublanguage are introduced and certain operations on relations are discussed and applied to the problems of redundancy and consistency in the user's model.
A Calculus for Collections and Aggregates
TLDR
A calculus that should play for database query languages the same role that the lambda calculus plays for functional programming, and a new concept: monads enriched with algebraic structure is introduced.
Notions of Computation and Monads
  • E. Moggi
  • Computer Science
    Inf. Comput.
  • 1991
Monad comprehensions : a versatile representation for queries
This chapter is an exploration of the possibilities that open up if we consistently adopt a style of database query and collection processing which allows us to look inside collections and thus
Higher Operads, Higher Categories
Part I. Background: 1. Classical categorical structures 2. Classical operads and multicategories 3. Notions of monoidal category Part II. Operads. 4. Generalized operads and multicategories: basics
Higher dimensional multigraphs
  • C. Hermida, M. Makkai, J. Power
  • Computer Science
    Proceedings. Thirteenth Annual IEEE Symposium on Logic in Computer Science (Cat. No.98CB36226)
  • 1998
TLDR
The notion of higher dimensional multigraph is introduced, which underlies multicategories and is essentially equivalent to the notion of context-free grammar, and gives a semantically coherent category theoretic approach to the concept of higher order context- free grammar.
Are Operads Algebraic Theories?
I exhibit a pair of non‐symmetric operads that, while not themselves isomorphic, induce isomorphic monads. The existence of such a pair implies that if ‘algebraic theory’ is understood as meaning
Semirings and their applications
Preface. 1. Hemirings and semirings: definitions and examples. 2. Sets and relations with values in a semiring. 3. Building new semirings from old. 4. Some conditions on semirings. 5. Complemented
...
...