[Paper Review] Inconsistency Measures for Relational Databases
This paper introduces a formal framework for measuring inconsistency in relational databases with denial constraints, distinguishing between tuple-level and constraint-level blame. It proposes database-specific inconsistency measures that treat integrity constraints as irrefutable, showing improved rationality compliance and tractable complexity for several measures, including $\mathcal{I}_B$, $\mathcal{I}_M$, $\mathcal{I}_\#$, and $\mathcal{I}_P$ under data complexity, while $\mathcal{I}_H$ and $\mathcal{I}_\eta$ remain hard.
In this paper, building on work done on measuring inconsistency in knowledge bases, we introduce inconsistency measures for databases. In particular, focusing on databases with denial constraints, we first consider the natural approach of virtually transforming a database into a propositional knowledge base and then applying well-known measures. However, using this method, tuples and constraints are equally considered in charge of inconsistencies. Then, we introduce a version of inconsistency measures blaming database tuples only, i.e., treating integrity constraints as irrefutable statements. We analyze the compliance of database inconsistency measures with standard rationality postulates and find interesting relationships between measures. Finally, we investigate the complexity of the inconsistency measurement problem as well as of the problems of deciding whether the inconsistency is lower than, greater than, or equal to a given threshold.
Motivation & Objective
- To formalize inconsistency measurement in relational databases, extending propositional knowledge base measures to the database context.
- To develop inconsistency measures that assign blame exclusively to database tuples, treating integrity constraints as fixed and irrefutable.
- To evaluate the compliance of these measures with standard rationality postulates, identifying improvements over propositional counterparts.
- To analyze the data complexity of inconsistency measurement, lower/upper/exact value problems, and the function problem of computing inconsistency values.
- To identify tractable cases and guide selection of measures based on computational efficiency and rationality.
Proposed method
- Transform a relational database with denial constraints into a propositional knowledge base to apply existing propositional inconsistency measures.
- Introduce a new class of inconsistency measures $\mathcal{I}_x$ that isolate blame on tuples only, treating constraints as non-negotiable.
- Adapt and verify standard rationality postulates for the new database-specific measures, comparing results to propositional versions.
- Analyze data complexity of decision problems: Lower Value (LV), Upper Value (UV), Exact Value (EV), and Inconsistency Measurement (IM).
- Prove complexity bounds using reductions and known complexity classes, including P, coNP, NP, D^p, and FP^NP[log n].
- Use the fact that certain measures collapse in the database setting (e.g., $\mathcal{I}_C$ to $\mathcal{I}_H$) to simplify analysis and improve compliance.
Experimental results
Research questions
- RQ1How can propositional inconsistency measures be adapted to relational databases with denial constraints?
- RQ2What happens to rationality postulates when inconsistency is blamed solely on tuples rather than on both tuples and constraints?
- RQ3Which inconsistency measures become tractable under data complexity in the database setting, and why?
- RQ4How do the complexity classes of LV, UV, EV, and IM problems compare between propositional and database-specific measures?
- RQ5Can the collapse of certain measures (e.g., $\mathcal{I}_{hs}$ to $\mathcal{I}_B$) be leveraged to improve rationality or complexity?
Key findings
- The measure $\mathcal{I}_{nc}$ becomes uninformative in the database setting, always returning $|D|-1$ when functional dependencies are violated, and is thus excluded from further analysis.
- Measures $\mathcal{I}_B$, $\mathcal{I}_M$, $\mathcal{I}_\#$, and $\mathcal{I}_P$ are tractable under data complexity, with the IM problem in FP.
- The measure $\mathcal{I}_A$ sees its complexity reduced from #P-hard to #P-complete, though it remains computationally challenging.
- Measures $\mathcal{I}_H$ and $\mathcal{I}_\eta$ remain hard under data complexity, with IM problems complete in $FP^{NP[\log n]}$ and $FP^{NP}$, respectively.
- The collapse of $\mathcal{I}_{hs}$ to $\mathcal{I}_B$ and $\mathcal{I}_C$ to $\mathcal{I}_H$ in the database setting leads to improved compliance with rationality postulates.
- The complexity of the EV problem for $\mathcal{I}_H$ and $\mathcal{I}_\eta$ is $D^p$-complete, indicating high computational difficulty.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.