[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/1099554.1099742acmconferencesArticle/Chapter ViewAbstractPublication PagescikmConference Proceedingsconference-collections
Article

Consistent query answering under key and exclusion dependencies: algorithms and experiments

Published: 31 October 2005 Publication History

Abstract

Research in consistent query answering studies the definition and computation of "meaningful" answers to queries posed to inconsistent databases, i.e., databases whose data do not satisfy the integrity constraints (ICs) declared on their schema. Computing consistent answers to conjunctive queries is generally coNP-hard in data complexity, even in the presence of very restricted forms of ICs (single, unary keys). Recent studies on consistent query answering for database schemas containing only key dependencies have analyzed the possibility of identifying classes of queries whose consistent answers can be obtained by a first-order rewriting of the query, which in turn can be easily formulated in SQL and directly evaluated through any relational DBMS. In this paper we study consistent query answering in the presence of key dependencies and exclusion dependencies. We first prove that even in the presence of only exclusion dependencies the problem is coNP-hard in data complexity, and define a general method for consistent answering of conjunctive queries under key and exclusion dependencies, based on the rewriting of the query in Datalog with negation. Then, we identify a subclass of conjunctive queries that can be first-order rewritten in the presence of key and exclusion dependencies, and define an algorithm for computing the first-order rewriting of a query belonging to such a class of queries. Finally, we compare the relative efficiency of the two methods for processing queries in the subclass above mentioned. Experimental results, conducted on a real and large database of the computer science engineering degrees of the University of Rome "La Sapienza", clearly show the computational advantage of the first-order based technique.

References

[1]
Marcelo Arenas, Leopoldo E. Bertossi, and Jan Chomicki. Consistent query answers in inconsistent databases. In Proc. of PODS'99, pages 68--79, 1999.
[2]
Franz Baader, Diego Calvanese, Deborah McGuinness, Daniele Nardi, and Peter F. Patel-Schneider, editors. The Description Logic Handbook: Theory, Implementation and Applications. Cambridge University Press, 2003.
[3]
Loreto Bravo and Leopoldo Bertossi. Logic programming for consistently querying data integration systems. In Proc. of IJCAI 2003, pages 10--15, 2003.
[4]
Andrea Calì, Domenico Lembo, and Riccardo Rosati. On the decidability and complexity of query answering over inconsistent and incomplete databases. In Proc. of PODS 2003, pages 260--271, 2003.
[5]
Andrea Calì, Domenico Lembo, and Riccardo Rosati. Query rewriting and answering under constraints in data integration systems. In Proc. of IJCAI 2003, pages 16--21, 2003.
[6]
Jan Chomicki and Jerzy Marcinkowski. On the computational complexity of minimal-change integrity maintenance in relational databases. In Inconsistency Tolerance, pages 119--150, 2005.
[7]
Jan Chomicki, Jerzy Marcinkowski, and Slawomir Staworko. Computing consistent query answers using conflict hypergraphs. In Proc. of CIKM 2004, pages 417--426, 2004.
[8]
Chiara Cumbo, Wolfgang Faber, Gianluigi Greco, and Nicola Leone. Enhancing the magic-set method for disjunctive datalog programs. In Proc. ICLP 2004), pages 371--385, 2004.
[9]
Thomas Eiter, Michael Fink, Gianluigi Greco, and Domenico Lembo. Efficient evaluation of logic programs for querying data integration systems. In Proc. of ICLP'03, pages 163--177, 2003.
[10]
Thomas Eiter, Georg Gottlob, and Heikki Mannilla. Disjunctive Datalog. ACM Trans. on Database Systems, 22(3):364--418, 1997.
[11]
Wolfgang Faber, Gianluigi Greco, and Nicola Leone. Magic sets and their application to data integration. In Proc. of ICDT 2005, pages 306--320, 2005.
[12]
Ariel Fuxman, Elham Fazli, and Renée J. Miller. Conquer: Efficient management of inconsistent databases. In Proc. of SIGMOD 2005, pages 155--166, 2005.
[13]
Ariel Fuxman and Renée J. Miller. First-order query rewriting for inconsistent databases. In Proc. of ICDT 2005, pages 337--351, 2005.
[14]
Gianluigi Greco, Sergio Greco, and Ester Zumpano. A logical framework for querying and repairing inconsistent databases. IEEE Trans. on Knowledge and Data Engineering, 15(6):1389--1408, 2003.
[15]
Nicola Leone, Gerald Pfeifer, Wolfgang Faber, Thomas Eiter, Georg Gottlob, Simona Perri, and Francesco Scarcello. The DLV system for knowledge representation and reasoning. ACM Trans. on Computational Logic, 2005. To appear.

Cited By

View all
  • (2019)A SAT-Based System for Consistent Query AnsweringTheory and Applications of Satisfiability Testing – SAT 201910.1007/978-3-030-24258-9_8(117-135)Online publication date: 29-Jun-2019
  • (2016)A Diagnosis and Repair Framework for DL-LiteA KBsThe Semantic Web: ESWC 2015 Satellite Events10.1007/978-3-319-25639-9_37(199-214)Online publication date: 9-Jan-2016
  • (2015)Resolving conflicts in knowledge for ambient intelligenceThe Knowledge Engineering Review10.1017/S026988891500013230:05(455-513)Online publication date: 30-Oct-2015
  • Show More Cited By

Index Terms

  1. Consistent query answering under key and exclusion dependencies: algorithms and experiments

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      CIKM '05: Proceedings of the 14th ACM international conference on Information and knowledge management
      October 2005
      854 pages
      ISBN:1595931406
      DOI:10.1145/1099554
      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: 31 October 2005

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. computational complexity
      2. inconsistency
      3. query rewriting

      Qualifiers

      • Article

      Conference

      CIKM05
      Sponsor:
      CIKM05: Conference on Information and Knowledge Management
      October 31 - November 5, 2005
      Bremen, Germany

      Acceptance Rates

      CIKM '05 Paper Acceptance Rate 77 of 425 submissions, 18%;
      Overall Acceptance Rate 1,861 of 8,427 submissions, 22%

      Upcoming Conference

      CIKM '25

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)2
      • Downloads (Last 6 weeks)1
      Reflects downloads up to 12 Dec 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2019)A SAT-Based System for Consistent Query AnsweringTheory and Applications of Satisfiability Testing – SAT 201910.1007/978-3-030-24258-9_8(117-135)Online publication date: 29-Jun-2019
      • (2016)A Diagnosis and Repair Framework for DL-LiteA KBsThe Semantic Web: ESWC 2015 Satellite Events10.1007/978-3-319-25639-9_37(199-214)Online publication date: 9-Jan-2016
      • (2015)Resolving conflicts in knowledge for ambient intelligenceThe Knowledge Engineering Review10.1017/S026988891500013230:05(455-513)Online publication date: 30-Oct-2015
      • (2013)Let's jam the reactableACM Transactions on Computer-Human Interaction10.1145/253054120:6(1-34)Online publication date: 1-Dec-2013
      • (2013)Tableau Calculi for Logic Programs under Answer Set SemanticsACM Transactions on Computational Logic10.1145/2480759.248076714:2(1-40)Online publication date: 1-Jun-2013
      • (2013)Using Generalized Annotated Programs to Solve Social Network Diffusion Optimization ProblemsACM Transactions on Computational Logic10.1145/2480759.248076214:2(1-40)Online publication date: 1-Jun-2013
      • (2013)Charting the tractability frontier of certain conjunctive query answeringProceedings of the 32nd ACM SIGMOD-SIGACT-SIGAI symposium on Principles of database systems10.1145/2463664.2463666(189-200)Online publication date: 22-Jun-2013
      • (2013)Conformance testing for cyber-physical systemsACM Transactions on Embedded Computing Systems10.1145/2362336.236235111:4(1-23)Online publication date: 1-Jan-2013
      • (2013)xTuneACM Transactions on Embedded Computing Systems10.1145/2362336.236234011:4(1-23)Online publication date: 1-Jan-2013
      • (2012)Online subspace skyline query processing using the compressed skycubeACM Transactions on Database Systems10.1145/2188349.218835737:2(1-36)Online publication date: 4-Jun-2012
      • Show More Cited By

      View Options

      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