A Simple Algorithm for Consistent Query Answering under Primary Keys
Diego Figueira, Anantha Padmanabha, Luc Segoufin, Cristina, Sirangelo

TL;DR
This paper introduces a simple polynomial-time fixpoint algorithm for consistent query answering under primary key constraints, effectively identifying certain queries in specific cases and providing an under-approximation for general cases.
Contribution
The paper presents a new inflationary fixpoint algorithm that efficiently computes certain answers for a class of queries under primary key constraints, extending previous results.
Findings
Algorithm correctly identifies certain queries in known polynomial cases.
The algorithm provides an under-approximation for arbitrary Boolean conjunctive queries.
It runs in polynomial time and is simple to implement.
Abstract
We consider the dichotomy conjecture for consistent query answering under primary key constraints. It states that, for every fixed Boolean conjunctive query q, testing whether q is certain (i.e. whether it evaluates to true over all repairs of a given inconsistent database) is either polynomial time or coNP-complete. This conjecture has been verified for self-join-free and path queries. We propose a simple inflationary fixpoint algorithm for consistent query answering which, for a given database, naively computes a set of subsets of facts of the database of size at most k, where k is the size of the query q. The algorithm runs in polynomial time and can be formally defined as: (1) Initialize with all sets of at most facts such that . (2) Add any set of at most k facts to if there exists a block (i.e., a maximal set of facts…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
