Database queries and constraints via lifting problems

From MaRDI portal
Publication:5740402

DOI10.1017/S0960129513000479zbMATH Open1342.68117arXiv1202.2591OpenAlexW3102550479MaRDI QIDQ5740402FDOQ5740402


Authors: David I. Spivak Edit this on Wikidata


Publication date: 26 July 2016

Published in: Mathematical Structures in Computer Science (Search for Journal in Brave)

Abstract: Previous work has demonstrated that categories are useful and expressive models for databases. In the present paper we build on that model, showing that certain queries and constraints correspond to lifting problems, as found in modern approaches to algebraic topology. In our formulation, each so-called SPARQL graph pattern query corresponds to a category-theoretic lifting problem, whereby the set of solutions to the query is precisely the set of lifts. We interpret constraints within the same formalism and then investigate some basic properties of queries and constraints. In particular, to any database pi we can associate a certain derived database Qry(pi) of queries on pi. As an application, we explain how giving users access to certain parts of Qry(pi), rather than direct access to pi, improves ones ability to manage the impact of schema evolution.


Full work available at URL: https://arxiv.org/abs/1202.2591




Recommendations



Cites Work


Cited In (6)





This page was built for publication: Database queries and constraints via lifting problems

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5740402)