Proceedings

On Querying Incomplete Information in Databases under Bag Semantics

Download BibTeX Cite

Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence. Main track. Pages 993-999.

https://doi.org/10.24963/ijcai.2017/138

Abstract

Querying incomplete data is an important task both in data management, and in many AI applications that use query rewriting to take advantage of relational database technology. Usually one looks for answers that are certain, i.e., true in every possible world represented by an incomplete database. For positive queries, expressed either in positive relational algebra or as unions of conjunctive queries, finding such answers can be done efficiently when databases and query answers are sets. Real-life databases however use bag, rather than set, semantics. For bags, instead of saying that a tuple is certainly in the answer, we have more detailed information: namely, the range of the numbers of occurrences of the tuple in query answers. We show that the behavior of positive queries is different under bag semantics: finding the minimum number of occurrences can still be done efficiently, but for maximum it becomes intractable. We use these results to investigate approximation schemes for computing certain answers to arbitrary first-order queries that have been proposed for set semantics. One of them cannot be adapted to bags, as it relies on the intractable maxima of occurrences, but another scheme only deals with minima, and we show how to adapt it to bag semantics without losing efficiency.

  1. [Abiteboul et al., 1991] Serge Abiteboul, Paris Kanellakis, and Gösta Grahne. On the representation and querying of sets of possible worlds. Theoretical Computer Science, 78(1):158-187, 1991.
  2. [Abiteboul et al., 1995] Serge Abiteboul, Richard Hull, and Victor Vianu. Foundations of Databases. Addison-Wesley, 1995.
  3. [Arenas et al., 2014] Marcelo Arenas, Pablo Barceló, Leonid Libkin, and Filip Murlak. Foundations of Data Exchange. Cambridge University Press, 2014.
  4. [Bertossi, 2011] Leopoldo Bertossi. Database Repairing and Consistent Query Answering. Morgan & Claypool Publishers, 2011.
  5. [Bienvenu and Rosati, 2013] Meghyn Bienvenu and Ric- cardo Rosati. Tractable approximations of consistent query answering for robust ontology-based data access. In IJCAI, pages 775-781, 2013. IJCAI
  6. [Calì et al., 2003a] Andrea Calì, Domenico Lembo, and Ric- cardo Rosati. On the decidability and complexity of query answering over inconsistent and incomplete databases. In PODS, pages 260-271, 2003.
  7. [Calì et al., 2003b] Andrea Calì, Domenico Lembo, and Ric- cardo Rosati. Query rewriting and answering under con- straints in data integration systems. In IJCAI, pages 16-21, 2003. IJCAI
  8. [Calvanese et al., 2007] Diego Calvanese, Giuseppe De Gi- acomo, Domenico Lembo, Maurizio Lenzerini, and Ric- cardo Rosati. Tractable reasoning and efficient query an- swering in description logics: The DL-Lite family. J. Au- tom. Reasoning, 39(3):385-429, 2007.
  9. [Chandra and Merlin, 1977] Ashok K. Chandra and Philip M. Merlin. Optimal implementation of con- junctive queries in relational data bases. In STOC, pages 77-90, 1977.
  10. [Chaudhuri and Vardi, 1993] Surajit Chaudhuri and Moshe Y. Vardi. Optimization of real conjunctive queries. In PODS, pages 59-70, 1993.
  11. C. J. Date and Hugh Darwen. A Guide to the SQL Standard. Addison-Wesley, 1996.
  12. [Garey and Johnson, 1979] Michael R. Garey and David S. Johnson. Computers and Intractability. W. H. Freeman, 1979. [Gottlob et al., 2014] Georg Gottlob, Stanislav Kikot, Ro- man Kontchakov, Vladimir V. Podolskii, Thomas Schwentick, and Michael Zakharyaschev. The price of query rewriting in ontology-based data access. Artificial Intelligence, 213:42-59, 2014.
  13. [Grumbach and Milo, 1996] Stéphane Grumbach and Tova Milo. Towards tractable algebras for bags. JCSS, 52(3):570-588, 1996.
  14. [Guagliardo and Libkin, 2016] Paolo Guagliardo and Leonid Libkin. Making SQL queries correct on incomplete data- bases: A feasibility study. In PODS, pages 211-223, 2016.
  15. [Imielinski and Lipski, 1984] Tomasz Imielinski and Witold Lipski. Incomplete information in relational databases. Journal of the ACM, 31(4):761-791, 1984.
  16. [Jayram et al., 2006] T. S. Jayram, Phokion G. Kolaitis, and Erik Vee. The containment problem for real conjunctive queries with inequalities. In PODS, pages 80-89, 2006.
  17. [Kolaitis, 2003] Phokion G. Kolaitis. Constraint satisfaction, databases, and logic. In IJCAI, pages 1587-1595, 2003. IJCAI
  18. [Kontchakov et al., 2011] Roman Kontchakov, Carsten Lutz, David Toman, Frank Wolter, and Michael Zakharyaschev. The combined approach to ontology-based data access. In IJCAI, pages 2656-2661, 2011. IJCAI
  19. [Lenzerini, 2002] Maurizio Lenzerini. Data integration: a theoretical perspective. In PODS, pages 233-246, 2002.
  20. [Libkin and Wong, 1997] Leonid Libkin and Limsoon Wong. Query languages for bags and aggregate functions. JCSS, 55(2):241-272, 1997.
  21. [Libkin, 2016] Leonid Libkin. SQL's three-valued logic and certain answers. ACM Trans. Database Syst., 41(1):1:1- 1:28, 2016.
  22. [Lipski, 1984] Witold Lipski. On relational algebra with marked nulls. In PODS, pages 201-203, 1984.
  23. [Lutz et al., 2015] Carsten Lutz, Inanc ¸Seylan, and Frank Wolter. Ontology-mediated queries with closed predicates. In IJCAI, pages 3120-3126, 2015. IJCAI
  24. [Reiter, 1977] Raymond Reiter. On closed world data bases. In Logic and Data Bases, pages 55-76, 1977.
  25. [Reiter, 1986] Raymond Reiter. A sound and sometimes complete query evaluation algorithm for relational data- bases with null values. Journal of the ACM, 33(2):349- 347, 1986.
  26. [Vardi, 1982] Moshe Vardi. The complexity of relational query languages. In Proceedings of the 14th ACM Sympo- sium on Theory of Computing, STOC'82, pages 137-146, 1982.
  27. [Vardi, 1986] Moshe Y. Vardi. Querying logical databases. JCSS, 33(2):142-160, 1986.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards