English

Monads for Measurable Queries in Probabilistic Databases

Programming Languages 2021-12-30 v1 Logic in Computer Science

Abstract

We consider a bag (multiset) monad on the category of standard Borel spaces, and show that it gives a free measurable commutative monoid. Firstly, we show that a recent measurability result for probabilistic database queries (Grohe and Lindner, ICDT 2020) follows quickly from the fact that queries can be expressed in monad-based terms. We also extend this measurability result to a fuller query language. Secondly, we discuss a distributive law between probability and bag monads, and we illustrate that this is useful for generating probabilistic databases.

Cite

@article{arxiv.2112.14048,
  title  = {Monads for Measurable Queries in Probabilistic Databases},
  author = {Swaraj Dash and Sam Staton},
  journal= {arXiv preprint arXiv:2112.14048},
  year   = {2021}
}

Comments

In Proceedings MFPS 2021, arXiv:2112.13746

R2 v1 2026-06-24T08:33:26.448Z