Skip to main content
QUICK REVIEW

[Paper Review] Consistent query answers on numerical databases under aggregate constraints

Sergio Flesca, Filippo Furfaro|ArXiv.org|May 23, 2005
Data Management and AlgorithmsComputer Science6 references5 citations
TL;DR

This paper proposes a framework for repairing numerical relational databases violating aggregate constraints—linear inequalities on sum-based queries—by modifying attribute values rather than tuples. It establishes the computational complexity of consistent query answering under both set-minimal and card-minimal semantics, showing that deciding consistent answers is Π₂^p-complete under set-minimal semantics and Δ₂^p[log n]-complete under card-minimal semantics.

ABSTRACT

The problem of extracting consistent information from relational databases violating integrity constraints on numerical data is addressed. In particular, aggregate constraints defined as linear inequalities on aggregate-sum queries on input data are considered. The notion of repair as consistent set of updates at attribute-value level is exploited, and the characterization of several complexity issues related to repairing data and computing consistent query answers is provided.

Motivation & Objective

  • Address the gap in existing research on inconsistent data repair, which focuses on key or functional dependencies but not aggregate constraints on numerical data.
  • Model data inconsistencies arising from automated acquisition processes (e.g., OCR, sensor networks) as violations of aggregate-sum constraints.
  • Provide a formal framework for repairing inconsistent numerical databases by updating attribute values at the attribute-level, rather than inserting or deleting tuples.
  • Characterize the computational complexity of consistent query answering under two repair semantics: set-minimal and card-minimal.
  • Enable reliable query answering in scenarios where data inconsistencies stem from recognition or sensing errors, not data loss or insertion.

Proposed method

  • Define aggregate constraints as linear inequalities over sum aggregates of numerical attributes (e.g., total receipts = sum of detail receipts).
  • Model repairs as minimal sets of attribute-value updates that restore consistency with respect to the aggregate constraints.
  • Introduce two semantics for minimal repairs: set-minimal (smallest set of updates) and card-minimal (fewest number of updated attributes).
  • Formalize consistent query answers as tuples that appear in all minimal repairs under the respective semantics.
  • Use logical and complexity-theoretic techniques to analyze the decidability and complexity of consistent query evaluation.
  • Leverage formal definitions of query answers and repairs grounded in database theory and computational complexity.

Experimental results

Research questions

  • RQ1What is the computational complexity of deciding consistent query answers when repairs are required to be set-minimal under aggregate constraints?
  • RQ2How does the complexity change when using card-minimal repairs instead of set-minimal ones for the same class of constraints?
  • RQ3Can consistent query answers be reliably computed in numerical databases where inconsistencies arise from symbol recognition or sensor errors?
  • RQ4Under what conditions is the existence of a repair decidable when aggregate constraints are non-linear?
  • RQ5How do attribute-level updates compare to tuple-level operations in terms of realism and applicability to real-world digitized data?

Key findings

  • Deciding consistent query answers under set-minimal semantics is Π₂^p-complete, indicating high computational complexity.
  • Deciding consistent query answers under card-minimal semantics is Δ₂^p[log n]-complete, reflecting a slightly more restricted but still high complexity class.
  • The framework supports realistic data repair scenarios such as OCR digitization or sensor networks, where only attribute values are prone to error, not entire tuples.
  • The card-minimal semantics is justified when errors are assumed to be minimal in number, such as symbol misrecognition or transient sensor faults.
  • The set-minimal semantics is more permissive and suitable when no assumptions can be made about error sources, preserving all minimal repair configurations.
  • The paper identifies that extending aggregate constraints to include products between attributes (non-linear forms) renders the repair existence problem undecidable in general.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.