Abstract
The query containment is one of the fundamental problems in the context of query processing and optimization. Concerning the answers of queries for databases, three semantics were intensively analyzed. In the first one, called \(set\), both databases and answers of queries for databases are considered sets. In the second one, called \(\textit{bag-set}\), databases are sets, but the answers are bags (multi-sets). In the third one, called \(bag\), both databases and answers are bags.
In this paper, we study the query containment problem for conjunctive queries (\(CQs\)) under \(\textit{bag-set}\) semantics. It is not known whether this problem is decidable. We give a characterization of this problem.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Abiteboul, S., Hull, R., Vianu, V.: Foundations of databases. Addison-Wesley Publishing Comp. (1995)
Brisaboa, N.R., Hernandez, H.J.: Testing bag-containment of conjunctive queries. Acta Informatica 34, 557–578 (1997)
Chandra, A., Merlin, P.: Optimal implementation of conjunctive queries in relational data bases. In: ACM STOC (1977)
Chaudhuri, S., Vardi, M.: Optimization of real conjunctive queries. In: Proc. of the 12th ACM Symposium on the Principles of Database Systems, pp. 59–70 (1993)
Damigos, M.: Query Optimization under bag and bag-set semantics for multiple heterogeneous data sources, Ph.D. Thesis, NTUA, Athens (2011)
Jayram, T.S., Kolaitis, P.G., Vee, E.: The containment problem for real conjunctive queries with inequalities. In: PODS 2006, pp. 80–89 (2006)
Karvounarakis, G., Tannen, V.: Conjunctive queries and mappings with inequalities, Technical Report (2008)
Klug, A.: On conjunctive queries containing inequalities. JACM 35(1), 146–160 (1988)
van der Meyden, R.: The complexity of querying infinite data about linearly ordered domains. Journal of Computer and System Sciences 54(1), 113–135 (1997)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Felea, V., Felea, V. (2015). On Query Containment Problem for Conjunctive Queries Under Bag-Set Semantics. In: Nguyen, N., Trawiński, B., Kosala, R. (eds) Intelligent Information and Database Systems. ACIIDS 2015. Lecture Notes in Computer Science(), vol 9011. Springer, Cham. https://doi.org/10.1007/978-3-319-15702-3_16
Download citation
DOI: https://doi.org/10.1007/978-3-319-15702-3_16
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-15701-6
Online ISBN: 978-3-319-15702-3
eBook Packages: Computer ScienceComputer Science (R0)