Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3517804.3524147acmconferencesArticle/Chapter ViewAbstractPublication PagespodsConference Proceedingsconference-collections
research-article

Counting Database Repairs Entailing a Query: The Case of Functional Dependencies

Published: 13 June 2022 Publication History

Abstract

A key task in the context of consistent query answering is to count the number of repairs that entail the query, with the ultimate goal being a precise data complexity classification. This has been achieved in the case of primary keys and self-join-free conjunctive queries (CQs) via an FP/#P-complete dichotomy. We lift this result to the more general case of functional dependencies (FDs). Another important task in this context is whenever the counting problem in question is intractable, to classify it as approximable, i.e., the target value can be efficiently approximated with error guarantees via a fully polynomial-time randomized approximation scheme (FPRAS), or as inapproximable. Although for primary keys and CQs (even with self-joins) the problem is always approximable, we prove that this is not the case for FDs. We show, however, that the class of FDs with a left-hand side chain forms an island of approximability. We see these results, apart from being interesting in their own right, as crucial steps towards a complete classification of approximate counting of repairs in the case of FDs and self-join-free CQs.

References

[1]
Marcelo Arenas, Leopoldo E. Bertossi, and Jan Chomicki. 1999. Consistent Query Answers in Inconsistent Databases. In PODS. 68--79.
[2]
Sanjeev Arora and Boaz Barak. 2009. Computational Complexity - A Modern Approach. Cambridge University Press.
[3]
Marco Calautti, Marco Console, and Andreas Pieris. 2019. Counting Database Repairs under Primary Keys Revisited. In PODS. 104--118.
[4]
Nilesh N. Dalvi and Dan Suciu. 2007. Management of probabilistic data: foundations and challenges. In PODS. 1--12.
[5]
Johan Håstad. 2001. Some Optimal Inapproximability Results. J. ACM 48, 4 (2001), 798--859.
[6]
Yifan Jing and Akbar Rafiey. 2018. Counting maximal near perfect matchings in quasirandom and dense graphs. CoRR abs/1807.04803 (2018).
[7]
Richard M. Karp, Michael Luby, and Neal Madras. 1989. Monte-Carlo Approximation Algorithms for Enumeration Problems. J. Algorithms 10, 3 (1989), 429--448.
[8]
Ester Livshits and Benny Kimelfeld. 2021. The Shapley Value of Inconsistency Measures for Functional Dependencies. In ICDT. 15:1--15:19.
[9]
Ester Livshits, Benny Kimelfeld, and Jef Wijsen. 2021. Counting subset repairs with functional dependencies. J. Comput. Syst. Sci. 117 (2021), 154--164.
[10]
David Maier. 1980. Minimum Covers in Relational Database Model. J. ACM 27, 4 (1980), 664--674.
[11]
Dany Maslowski and Jef Wijsen. 2013. A dichotomy in the complexity of counting database repairs. J. Comput. Syst. Sci. 79, 6 (2013), 958--983.
[12]
Dany Maslowski and Jef Wijsen. 2014. Counting Database Repairs that Satisfy Conjunctive Queries with Self-Joins. In ICDT. 155--164.
[13]
Salil P. Vadhan. 2001. The Complexity of Counting in Sparse, Regular, and Planar Graphs. SIAM J. Comput. 31, 2 (2001), 398--427.

Cited By

View all
  • (2024)Combined Approximations for Uniform Operational Consistent Query AnsweringProceedings of the ACM on Management of Data10.1145/36516002:2(1-16)Online publication date: 14-May-2024
  • (2024)Consistent Query Answering for Primary Keys on Rooted Tree QueriesProceedings of the ACM on Management of Data10.1145/36511392:2(1-26)Online publication date: 14-May-2024
  • (2023)The Shapley Value in Database ManagementACM SIGMOD Record10.1145/3615952.361595452:2(6-17)Online publication date: 11-Aug-2023
  • Show More Cited By

Index Terms

  1. Counting Database Repairs Entailing a Query: The Case of Functional Dependencies

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    PODS '22: Proceedings of the 41st ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems
    June 2022
    462 pages
    ISBN:9781450392600
    DOI:10.1145/3517804
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 13 June 2022

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. conjunctive queries
    2. counting
    3. database repairs
    4. efficient approximations
    5. functional dependencies

    Qualifiers

    • Research-article

    Funding Sources

    • EPSRC

    Conference

    SIGMOD/PODS '22
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 642 of 2,707 submissions, 24%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)18
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 14 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Combined Approximations for Uniform Operational Consistent Query AnsweringProceedings of the ACM on Management of Data10.1145/36516002:2(1-16)Online publication date: 14-May-2024
    • (2024)Consistent Query Answering for Primary Keys on Rooted Tree QueriesProceedings of the ACM on Management of Data10.1145/36511392:2(1-26)Online publication date: 14-May-2024
    • (2023)The Shapley Value in Database ManagementACM SIGMOD Record10.1145/3615952.361595452:2(6-17)Online publication date: 11-Aug-2023
    • (2023)From Minimum Change to Maximum Density: On Determining Near-Optimal S-RepairIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2023.329440136:2(627-639)Online publication date: 13-Jul-2023

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media