Abstract | ||
---|---|---|
This paper studies the complexity of query evaluation for databases whose relations are partially ordered; the problem commonly arises when combining or transforming 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: 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. |
Year | DOI | Venue |
---|---|---|
2018 | 10.1016/j.tcs.2019.05.013 | Theoretical Computer Science |
Keywords | Field | DocType |
Certain answer,Possible answer,Partial order,Uncertain data | SQL,Data mining,Computational problem,Certainty,Computer science,Theoretical computer science,Relational algebra,Operator (computer programming),Semantics | Journal |
Volume | ISSN | Citations |
797 | 0304-3975 | 0 |
PageRank | References | Authors |
0.34 | 18 | 4 |
Name | Order | Citations | PageRank |
---|---|---|---|
Antoine Amarilli | 1 | 67 | 17.90 |
Mouhamadou Lamine Ba | 2 | 35 | 5.15 |
Daniel Deutch | 3 | 345 | 41.49 |
Pierre Senellart | 4 | 946 | 63.47 |