paper

Consistent Query Answering for Primary Keys on Path Queries

arXiv:2309.15270

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.

An evolved version of a paper published at PODS'21

Consistent Query Answering for Primary Keys on Path Queries · wovepaper