Loading…

On database query languages for K-relations

The relational model has recently been extended to so-called K -relations in which tuples are assigned a unique value in a semiring K . A query language, denoted by RA K + , similar to the classical positive relational algebra, allows for the querying of K -relations. In this paper, we define more e...

Full description

Saved in:
Bibliographic Details
Published in:Journal of applied logic 2010-06, Vol.8 (2), p.173-185
Main Authors: Geerts, Floris, Poggi, Antonella
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Items that cite this one
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:The relational model has recently been extended to so-called K -relations in which tuples are assigned a unique value in a semiring K . A query language, denoted by RA K + , similar to the classical positive relational algebra, allows for the querying of K -relations. In this paper, we define more expressive query languages for K -relations that extend RA K + with the difference and constant annotations operations on annotated tuples. The latter are natural extensions of the duplicate elimination operator of the relational algebra on bags. We investigate conditions on semirings under which these operations can be added to RA K + in a natural way, and establish basic properties of the resulting query languages. Moreover, we show how the provenance semiring of Green et al. can be extended to record provenance of data in the presence of difference and constant annotations. Finally, we investigate the completeness of RA K + and extensions thereof in the sense of Bancilhon and Paredaens.
ISSN:1570-8683
1570-8691
DOI:10.1016/j.jal.2009.09.001