A Dichotomy on the Complexity of Consistent Query Answering for Atoms with Simple Keys
Preprint
Abstract
We study the problem of consistent query answering under primary key violations. In this setting, the relations in a database violate the key constraints and we are interested in maximal subsets of the database that satisfy the constraints, which we call repairs. For a boolean query Q, the problem CERTAINTY(Q) asks whether every such repair satisfies the query or not; the problem is known to be always in coNP for conjunctive queries. However, there are queries for which it can be solved in polynomial time. It has been conjectured that there exists a dichotomy on the complexity of CERTAINTY(Q) for conjunctive queries: it is either in PTIME or coNP-complete. In this paper, we prove that the conjecture is indeed true for the case of conjunctive queries without self-joins, where each atom has as a key either a single attribute (simple key) or all attributes of the atom.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Charting the tractability frontier of certain conjunctive query answering2013
- A dichotomy in the complexity of consistent query answering for queries with two atomsInformation Processing Letters, 2012
- On counting database repairs2011
- A remark on the complexity of consistent conjunctive query answering under primary key violationsInformation Processing Letters, 2010
- On the first-order expressibility of computing certain answers to conjunctive queries over uncertain databases2010
- First-order query rewriting for inconsistent databasesJournal of Computer and System Sciences, 2007
- Minimal-change integrity maintenance using tuple deletionsInformation and Computation, 2005
- Consistent query answers in inconsistent databases1999
- Semantic representations and query languages for or-sets1993