Computing Possible and Certain Answers over Order-Incomplete Data

01/19/2018
by   Antoine Amarilli, et al.
0

This paper studies the complexity of query evaluation for databases whose relations are partially ordered; the problem commonly arises when combining ordered data from multiple sources. We focus on queries in a useful fragment of SQL, namely positive relational algebra with aggregates, whose bag semantics we extend to the partially ordered setting. Our semantics leads to the study of two main computational problems, namely the possibility and certainty of query answers. We show that these problems are respectively NP-complete and coNP-complete, but identify tractable cases depending on the query operators or input partial orders. We further introduce a duplicate elimination operator and study its effect on the complexity results.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/22/2017

Possible and Certain Answers for Queries over Order-Incomplete Data

To combine and query ordered data from multiple sources, one needs to ha...
research
09/10/2010

The Complexity of Causality and Responsibility for Query Answers and non-Answers

An answer to a query has a well-defined lineage expression (alternativel...
research
05/25/2023

A Fast Algorithm for Consistency Checking Partially Ordered Time

Partially ordered models of time occur naturally in applications where a...
research
03/30/2020

Consistency and Certain Answers in Relational to RDF Data Exchange with Shape Constraints

We investigate the data exchange from relational databases to RDF graphs...
research
04/06/2022

Computing expected multiplicities for bag-TIDBs with bounded multiplicities

In this work, we study the problem of computing a tuple's expected multi...
research
08/25/2023

Discovering Dichotomies for Problems in Database Theory

Dichotomy theorems, which characterize the conditions under which a prob...
research
03/05/2018

Universal (and Existential) Nulls

Incomplete Information research is quite mature when it comes to so call...

Please sign up or login with your details

Forgot password? Click here to reset