Abstract
A consistent query answer in an inconsistent database is an answer obtained in every (minimal) repair. The repairs are obtained by resolving all conflicts in all possible ways. Often, however, the user is able to provide a preference on how conflicts should be resolved. We investigate here the framework of preferred consistent query answers, in which user preferences are used to narrow down the set of repairs to a set of preferred repairs. We axiomatize desirable properties of preferred repairs. We present three different families of preferred repairs and study their mutual relationships. Finally, we investigate the complexity of preferred repairing and computing preferred consistent query answers.
Similar content being viewed by others
References
Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison-Wesley (1995)
Afrati, F., Kolaitis, P.: Repair checking in inconsistent databases: algorithms and complexity. In: International Conference on Database Theory (ICDT), pp. 31–41. ACM (2009)
Andritsos, P., Fuxman, A., Miller, R.J.: Clean answers over dirty databases: a probabilistic approach. In: International Conference on Data Engineering (ICDE), p. 30 (2006)
Arenas, M., Bertossi, L., Chomicki, J.: Consistent query answers in inconsistent databases. In: ACM Symposium on Principles of Database Systems (PODS), pp. 68–79 (1999)
Arenas, M., Bertossi, L., Chomicki, J., He, X., Raghavan, V., Spinrad, J.: Scalar aggregation in inconsistent databases. Theoret. Comput. Sci. 296(3), 405–434 (2003)
Bertossi, L.: Consistent query answering in databases. SIGMOD Record 35(2), 68–76 (2006)
Bertossi, L., Chomicki, J.: Query answering in inconsistent databases. In: Chomicki, J., van der Meyden, R., Saake, G. (eds.) Logics for Emerging Applications of Databases, pp. 43–83. Springer (2003)
Bertossi, L.: Database repairing and consistent query answering. Synthesis Lectures on Data Management 3(5), 1–121 (2011)
Brewka, G.: Preferred subtheories: An extended logical framework for default reasoning. In: International Joint Conference on Artificial Intelligence (IJCAI), pp. 1043–1048 (1989)
Caroprese, L., Greco, S., Zumpano, E.: Active integrity constraints for database consistency maintenance. IEEE Trans. Knowl. Data Eng. 21(7), 1042–1058 (2009)
Chomicki, J.: Preference formulas in relational queries. ACM T. Database Syst. 28(4), 427–466 (2003)
Chomicki, J.: Consistent query answering: five easy pieces. In: International Conference on Database Theory (ICDT), pp. 1–17 (2007)
Chomicki, J., Marcinkowski, J.: Minimal-change integrity maintenance using tuple deletions. Inform. Comput. 197(1–2), 90–121 (2005)
Chomicki, J., Marcinkowski, J.: On the computational complexity of minimal-change integrity maintenance in relational databases. In: Bertossi, L., Hunter, A., Schaub, T., (eds.) Inconsistency Tolerance, pp. 119–150. LNCS 3300. Springer (2005)
Chomicki, J., Marcinkowski, J., Staworko, S.: Computing consistent query answers using conflict hypergraphs. In: International Conference on Information and Knowledge Management (CIKM), pp. 417–426. ACM Press (2004)
Fagin, R., Ullman, J.D., Vardi, M.Y.: On the semantics of updates in databases. In: ACM Symposium on Principles of Database Systems (PODS), pp. 352–356 (1983)
Fan, W.: Dependencies revisited for improving data quality. In: ACM Symposium on Principles of Database Systems (PODS), pp. pages 159–170 (2008)
Fuxman, A., Kolaitis, P., Miller, R., Tan, W.-C.: Peer data exchange. ACM T. Database Syst. 31(4), 1454–1498 (2006)
Gatterbauer, W., Suciu, D.: Data conflict resolution using trust mappings. In: ACM SIGMOD International Conference on Management of Data, pp. 219–230 (2010)
Greco, G., Lembo, D.: Data integration with preferences among sources. In: International Conference on Conceptual Modeling (ER), pp. 231–244. Springer (2004)
Greco, S., Sirangelo, C., Trubitsyna, I., Zumpano, E.: Feasibility conditions and preference criteria in quering and repairing inconsistent databases. In: International Conference on Database and Expert Systems Applications (DEXA), pp. 44–55 (2004)
Grosof, B.N.: Prioritized conflict handling for logic programs. In: International Logic Programming Symposium, pp. 197–211 (1997)
Halpern, J.Y.: Defining relative likehood in partially-ordered preferential structures. J. Artificial Intelligence Res. 7, 1–24 (1997)
Koltun, V., Papadimitriou, C.: Approximately dominating representatives. Theoret. Comput. Sci. 371(3), 148–154 (2007)
Martinez, M.V., Parisi, F., Pugliese, A., Simari, G.I., Subrahmanian, V.S.: Inconsistency management policies. In: International Conference on Principles of Knowledge Representation and Reasoning (KR), pp. 367–377 (2008)
Motro, A., Anokhin, P., Acar, A.C.: Utility-based resolution of data inconsistencies. In: International Workshop on Information Quality in Information Systems (IQIS), pp. 35–43. ACM (2004)
Sakama, C., Inoue, K.: Prioritized logic programming and its application to commonsense reasoning. Artif. Intell. 123, 185–222 (2000)
Staworko, S., Chomicki, J.: Consistent query answers in the presence of universal constraints. Inform. Syst. 35(1), 1–22 (2010)
Staworko, S., Chomicki, J., Marcinkowski, J.: Preference-driven querying of inconsistent relational databases. In: EDBT Workshops (IIDB), pp. 318–335. Springer (2006)
D. Van Nieuwenborgh and D. Vermeir. Preferred answer sets for ordered logic programs. In: European Conference on Logics for Artificial Intelligence (JELIA), pp. 432–443. LNCS 2424. Springer (2002)
Vardi, M.Y.: The complexity of relational query languages. In: ACM Symposium on Theory of Computing (STOC), pp. 137–146 (1982)
Wijsen, J.: Database repairing using updates. ACM T. Database Syst. 30(3), 722–768 (2005)
Wijsen, J.: On the first-order expressibility of computing certain answers to conjunctive queries over uncertain databases. In: ACM Symposium on Principles of Database Systems (PODS), pp. 179–190 (2010)
Author information
Authors and Affiliations
Corresponding author
Additional information
Research partially supported by NSF grants IIS-0119186 and IIS-0307434, Ministry of Higher Education and Research, Nord-Pas de Calais Regional Council and FEDER through the’ Contrat de Projets Etat Region (CPER) 2007–2013, Enumeration project ANR-07-blanc, and Polish Ministry of Science and Higher Education research project N N206 371339.
Part of this research was done when S. Staworko was a PhD student at the University at Buffalo.
Rights and permissions
About this article
Cite this article
Staworko, S., Chomicki, J. & Marcinkowski, J. Prioritized repairing and consistent query answering in relational databases. Ann Math Artif Intell 64, 209–246 (2012). https://doi.org/10.1007/s10472-012-9288-8
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10472-012-9288-8