Semiring-annotated data: queries and provenance?

  • Authors:
  • Grigoris Karvounarakis;Todd J. Green

  • Affiliations:
  • LogicBlox, Inc., Atlanta, GA;LogicBlox, Inc., Atlanta, GA

  • Venue:
  • ACM SIGMOD Record
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present an overview of the literature on querying semiring-annotated data, a notion we introduced five years ago in a paper with Val Tannen. First, we show that positive relational algebra calculations for various forms of annotated relations, as well as provenance models for such queries, are particular cases of the same general algorithm involving commutative semirings. For this reason, we present a formal framework for answering queries on data with annotations from commutative semirings, and propose a comprehensive provenance representation based on semirings of polynomials. We extend these considerations to XQuery views over annotated, unordered XML data, and show that the semiring framework suffices for a large positive fragment of XQuery applied to such data. Finally, we conclude with a brief overview of the large body of work that builds upon these results, including both extensions to the theoretical foundations and uses in practical applications.