Consistent Query Answering for Primary Keys on Path Queries
Abstract
We study the data complexity of consistent query answering (CQA) on databases that may violate the primary key constraints. A repair is a maximal consistent subset of the database. For a Boolean query , the problem takes a database as input, and asks whether or not each repair satisfies . It is known that for any self-join-free Boolean conjunctive query , is in , -complete, or -complete. In particular, is in for any self-join-free Boolean path query . In this paper, we show that if self-joins are allowed, the complexity of for Boolean path queries exhibits a tetrachotomy between , -complete, -complete, and -complete. Moreover, it is decidable, in polynomial time in the size of the query~, which of the four cases applies.
Cite
@article{arxiv.2309.15270,
title = {Consistent Query Answering for Primary Keys on Path Queries},
author = {Paraschos Koutris and Xiating Ouyang and Jef Wijsen},
journal= {arXiv preprint arXiv:2309.15270},
year = {2023}
}
Comments
An evolved version of a paper published at PODS'21