Abstract
For several reasons a database may not satisfy a given set of integrity constraints (ICs), but most likely most of the information in it is still consistent with those ICs; and could be retrieved when queries are answered. Consistent answers to queries wrt a set of ICs have been characterized as answers that can be obtained from every possible minimally repaired consistent version of the original database. In this paper we consider databases that contain null values and are also repaired, if necessary, using null values. For this purpose, we propose first a precise semantics for IC satisfaction in a database with null values that is compatible with the way null values are treated in commercial database management systems. Next, a precise notion of repair is introduced that privileges the introduction of null values when repairing foreign key constraints, in such a way that these new values do not create an infinite cycle of new inconsistencies. Finally, we analyze how to specify this kind of repairs of a database that contains null values using disjunctive logic programs with stable model semantics.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison-Wesley, Reading (1995)
Arenas, M., Bertossi, L., Chomicki, J.: Consistent Query Answers in Inconsistent Databases. In: Proc. ACM Symposium on Principles of Database Systems (PODS 1999), pp. 68–79. ACM Press, New York (1999)
Arenas, M., Bertossi, L., Chomicki, J.: Answer Sets for Consistent Query Answers. Theory and Practice of Logic Programming 3(4-5), 393–424 (2003)
Atzeni, P., Morfuni, N.: Functional Dependencies and Constraints on Null Values in Database Relations. Information and Control 70(1), 1–31 (1986)
Barceló, P., Bertossi, L.: Logic Programs for Querying Inconsistent Databases. In: Dahl, V., Wadler, P. (eds.) PADL 2003. LNCS, vol. 2562, pp. 208–222. Springer, Heidelberg (2002)
Barcelo, P., Bertossi, L., Bravo, L.: Characterizing and Computing Semantically Correct Answers from Databases with Annotated Logic and Answer Sets. In: Bertossi, L., Katona, G.O.H., Schewe, K.-D., Thalheim, B. (eds.) Semantics in Databases 2001. LNCS, vol. 2582, pp. 1–27. Springer, Heidelberg (2003)
Bertossi, L., Chomicki, J.: Query Answering in Inconsistent Databases. In: Logics for Emerging Applications of Databases, pp. 43–83. Springer, Heidelberg (2003)
Ben-Eliyahu, R., Dechter, R.: Propositional Semantics for Disjunctive Logic Programs. Annals of Mathematics in Artificial Intelligence 12, 53–87 (1994)
Bertossi, L., Bravo, L.: Consistent Query Answers in Virtual Data Integration Systems. In: Bertossi, L., Hunter, A., Schaub, T. (eds.) Inconsistency Tolerance. LNCS, vol. 3300, pp. 42–83. Springer, Heidelberg (2005)
Bravo, L., Bertossi, L.: Consistent Query Answering under Inclusion Dependencies. In: Proc. Annual IBM Centers for Advanced Studies Conference (CASCON 2004), pp. 202–216 (2004)
Cali, A., Lembo, D., Rosati, R.: On the Decidability and Complexity of Query Answering over Inconsistent and Incomplete Databases. In: Proc. ACM Symposium on Principles of Database Systems (PODS 2003), pp. 260–271. ACM Press, New York (2003)
Caniupan, M., Bertossi, L.: Optimizing Repair Programs for Consistent Query Answering. In: Proc. International Conference of the Chilean Computer Science Society (SCCC 2005), pp. 3–12. IEEE Computer Society Press, Los Alamitos (2005)
Celle, A., Bertossi, L.: Querying Inconsistent Databases: Algorithms and Implementation. In: Palamidessi, C., Moniz Pereira, L., Lloyd, J.W., Dahl, V., Furbach, U., Kerber, M., Lau, K.-K., Sagiv, Y., Stuckey, P.J. (eds.) CL 2000. LNCS, vol. 1861, pp. 942–956. Springer, Heidelberg (2000)
Chomicki, J., Marcinkowski, J., Staworko, S.: Computing Consistent Query Answers Using Conflict Hypergraphs. In: Proc. ACM International Conference on Information and Knowledge Management, pp. 417–426. ACM Press, New York (2004)
Chomicki, J., Marcinkowski, J.: Minimal-Change Integrity Maintenance using Tuple Deletions. Information and Computation 197(1-2), 90–121 (2005)
Dantsin, E., Eiter, T., Gottlob, G., Voronkov, A.: Complexity and Expressive Power of Logic Programming. ACM Computing Surveys 33(3), 374–425 (2001)
Fuxman, A., Fazli, E., Miller, R.J.: ConQuer: Efficient Management of Inconsistent Databases. In: Proc. ACM International Conference on Management of Data (SIGMOD 2005), pp. 155–166. ACM Press, New York (2005)
Gelfond, M., Lifschitz, V.: Classical Negation in Logic Programs and Disjunctive Databases. New Generation Computing 9, 365–385 (1991)
Grahne, G.: The Problem of Incomplete Information in Relational Databases. LNCS, vol. 554. Springer, Heidelberg (1991)
Greco, G., Greco, S., Zumpano, E.: A Logical Framework for Querying and Repairing Inconsistent Databases. IEEE Transactions in Knowledge and Data Engineering 15(6), 1389–1408 (2003)
Imielinski, T., Lipski, W.: Incomplete Information in Relational Databases. Journal of the ACM 31(4), 761–791 (1984)
International Organization for Standardization (ISO). ISO International Standard: Database Language SQL - Part 2: SQL/Foundation, Melton, J. (ed.), ISO/IEC 9075-2:2003 (2003)
Lenzerini, M.: Data Integration: A Theoretical Perspective. In: Proc. ACM Symposium on Principles of Database Systems (PODS 2002), pp. 233–246. ACM Press, New York (2002)
Leone, N., Pfeifer, G., Faber, W., Eiter, T., Gottlob, G., Perri, S., Scarcello, F.: The DLV System for Knowledge Representation and Reasoning. ACM Transactions on Computational Logic (to appear)
Levene, M., Loizou, G.: Null Inclusion Dependencies in Relational Databases. Information and Computation 136(2), 67–108 (1997)
Levene, M., Loizou, G.: A Guided Tour of Relational Databases and Beyond. Springer, Heidelberg (1999)
Libkin, L.: A Semantics-based Approach to Design of Query Languages for Partial Information. In: Thalheim, B. (ed.) Semantics in Databases 1995. LNCS, vol. 1358, pp. 170–208. Springer, Heidelberg (1998)
Lien, E.: On the Equivalence of Database Models. Journal of the ACM 29(2), 333–362 (1982)
Reiter, R.: Towards a Logical Reconstruction of Relational Database Theory. In: Brodie, M.L., Mylopoulos, J., Schmidt, J.W. (eds.) On Conceptual Modelling, pp. 191–233. Springer, Heidelberg (1984)
Reiter, R.: A Sound and Sometimes Complete Query Evaluation Algorithm for Relational Databases with Null Values. Journal of the ACM 33(2), 349–370 (1986)
Türker, C., Gertz, M.: Semantic Integrity Support in SQL:1999 and Commercial (Object–) Relational Database Management Systems. The VLDB Journal 10(4), 241–269 (2001)
Van der Meyden, R.: Logical Approaches to Incomplete Information: A Survey. In: Logics for Databases and Information Systems, pp. 307–356. Kluwer, Dordrecht (1998)
Van Gelder, A., Topor, R.: Safety and Correct Translation of Relational Calculus Formulas. In: Proc. ACM Symposium on Principles of Database Systems (PODS 1987), pp. 313–327. ACM Press, New York (1987)
Zaniolo, C.: Database Relation with Null Values. Journal of Computer and System Sciences 28(1), 142–166 (1984)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bravo, L., Bertossi, L. (2006). Semantically Correct Query Answers in the Presence of Null Values. In: Grust, T., et al. Current Trends in Database Technology – EDBT 2006. EDBT 2006. Lecture Notes in Computer Science, vol 4254. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11896548_27
Download citation
DOI: https://doi.org/10.1007/11896548_27
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-46788-5
Online ISBN: 978-3-540-46790-8
eBook Packages: Computer ScienceComputer Science (R0)