Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Semantically Correct Query Answers in the Presence of Null Values

  • Conference paper
Current Trends in Database Technology – EDBT 2006 (EDBT 2006)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 4254))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison-Wesley, Reading (1995)

    MATH  Google Scholar 

  2. 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)

    Chapter  Google Scholar 

  3. Arenas, M., Bertossi, L., Chomicki, J.: Answer Sets for Consistent Query Answers. Theory and Practice of Logic Programming 3(4-5), 393–424 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  4. Atzeni, P., Morfuni, N.: Functional Dependencies and Constraints on Null Values in Database Relations. Information and Control 70(1), 1–31 (1986)

    Article  MATH  MathSciNet  Google Scholar 

  5. 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)

    Chapter  Google Scholar 

  6. 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)

    Chapter  Google Scholar 

  7. Bertossi, L., Chomicki, J.: Query Answering in Inconsistent Databases. In: Logics for Emerging Applications of Databases, pp. 43–83. Springer, Heidelberg (2003)

    Google Scholar 

  8. Ben-Eliyahu, R., Dechter, R.: Propositional Semantics for Disjunctive Logic Programs. Annals of Mathematics in Artificial Intelligence 12, 53–87 (1994)

    Article  MATH  MathSciNet  Google Scholar 

  9. 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)

    Chapter  Google Scholar 

  10. 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)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. 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)

    Chapter  Google Scholar 

  13. 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)

    Chapter  Google Scholar 

  14. 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)

    Google Scholar 

  15. Chomicki, J., Marcinkowski, J.: Minimal-Change Integrity Maintenance using Tuple Deletions. Information and Computation 197(1-2), 90–121 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  16. Dantsin, E., Eiter, T., Gottlob, G., Voronkov, A.: Complexity and Expressive Power of Logic Programming. ACM Computing Surveys 33(3), 374–425 (2001)

    Article  Google Scholar 

  17. 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)

    Chapter  Google Scholar 

  18. Gelfond, M., Lifschitz, V.: Classical Negation in Logic Programs and Disjunctive Databases. New Generation Computing 9, 365–385 (1991)

    Article  Google Scholar 

  19. Grahne, G.: The Problem of Incomplete Information in Relational Databases. LNCS, vol. 554. Springer, Heidelberg (1991)

    MATH  Google Scholar 

  20. 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)

    Article  Google Scholar 

  21. Imielinski, T., Lipski, W.: Incomplete Information in Relational Databases. Journal of the ACM 31(4), 761–791 (1984)

    Article  MATH  MathSciNet  Google Scholar 

  22. International Organization for Standardization (ISO). ISO International Standard: Database Language SQL - Part 2: SQL/Foundation, Melton, J. (ed.), ISO/IEC 9075-2:2003 (2003)

    Google Scholar 

  23. 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)

    Chapter  Google Scholar 

  24. 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)

    Google Scholar 

  25. Levene, M., Loizou, G.: Null Inclusion Dependencies in Relational Databases. Information and Computation 136(2), 67–108 (1997)

    Article  MATH  MathSciNet  Google Scholar 

  26. Levene, M., Loizou, G.: A Guided Tour of Relational Databases and Beyond. Springer, Heidelberg (1999)

    Book  Google Scholar 

  27. 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)

    Chapter  Google Scholar 

  28. Lien, E.: On the Equivalence of Database Models. Journal of the ACM 29(2), 333–362 (1982)

    Article  MATH  MathSciNet  Google Scholar 

  29. 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)

    Google Scholar 

  30. 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)

    Article  MathSciNet  Google Scholar 

  31. 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)

    Article  MATH  Google Scholar 

  32. Van der Meyden, R.: Logical Approaches to Incomplete Information: A Survey. In: Logics for Databases and Information Systems, pp. 307–356. Kluwer, Dordrecht (1998)

    Google Scholar 

  33. 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)

    Chapter  Google Scholar 

  34. Zaniolo, C.: Database Relation with Null Values. Journal of Computer and System Sciences 28(1), 142–166 (1984)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics