English

A SAT-based System for Consistent Query Answering

Databases 2019-05-09 v1 Logic in Computer Science

Abstract

An inconsistent database is a database that violates one or more integrity constraints, such as functional dependencies. Consistent Query Answering is a rigorous and principled approach to the semantics of queries posed against inconsistent databases. The consistent answers to a query on an inconsistent database is the intersection of the answers to the query on every repair, i.e., on every consistent database that differs from the given inconsistent one in a minimal way. Computing the consistent answers of a fixed conjunctive query on a given inconsistent database can be a coNP-hard problem, even though every fixed conjunctive query is efficiently computable on a given consistent database. We designed, implemented, and evaluated CAvSAT, a SAT-based system for consistent query answering. CAvSAT leverages a set of natural reductions from the complement of consistent query answering to SAT and to Weighted MaxSAT. The system is capable of handling unions of conjunctive queries and arbitrary denial constraints, which include functional dependencies as a special case. We report results from experiments evaluating CAvSAT on both synthetic and real-world databases. These results provide evidence that a SAT-based approach can give rise to a comprehensive and scalable system for consistent query answering.

Keywords

Cite

@article{arxiv.1905.02828,
  title  = {A SAT-based System for Consistent Query Answering},
  author = {Akhil A. Dixit and Phokion G. Kolaitis},
  journal= {arXiv preprint arXiv:1905.02828},
  year   = {2019}
}

Comments

25 pages including appendix, to appear in the 22nd International Conference on Theory and Applications of Satisfiability Testing

R2 v1 2026-06-23T08:59:48.207Z