Edinburgh Research Explorer

On the expressiveness of implicit provenance in query and update languages

Research output: Contribution to journalArticle

Original languageEnglish
Article number28
Pages (from-to)28:1-28:47
Number of pages47
JournalACM Transactions on Database Systems
Volume33
Issue number4
DOIs
Publication statusPublished - Nov 2008

Abstract

Information describing the origin of data, generally referred to as provenance, is important in scientific and curated databases where it is the basis for the trust one puts in their contents. Since such databases are constructed using operations of both query and update languages, it is of paramount importance to describe the effect of these languages on provenance.

In this article we study provenance for query and update languages that are closely related to SQL, and compare two ways in which they can manipulate provenance so that elements of the input are rearranged to elements of the output: implicit provenance, where a query or update only provides the rearranged output, and provenance is provided implicitly by a default provenance semantics; and explicit provenance, where a query or update provides both the output and the description of the provenance of each component of the output. Although explicit provenance is in general more expressive, we show that the classes of implicit provenance operations expressible by query and update languages correspond to natural semantic subclasses of the explicit provenance queries.

One of the consequences of this study is that provenance separates the expressive power of query and update languages. The model is also relevant to annotation propagation schemes in which annotations on the input to a query or update have to be transferred to the output or vice versa.

    Research areas

  • Provenance, conservativity, nested relational calculus, nested update language

ID: 727259