{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:38:11Z","timestamp":1787337491097,"version":"build-2736575974"},"reference-count":33,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2000,1]]},"abstract":"<jats:p>In the optimization of queries in an object-oriented database (OODB) system, a natural first step is to use the typing constraints imposed by the schema to transform a query into an equivalent one that logically accesses a minimal set of objects. We study a class of queries for OODBs called conjunctive queries. Variables in a conjunctive query range over heterogeneous sets of objects. Consequently, a conjunctive query is equivalent to a union of conjunctive queries of a special kind, called terminal conjunctive queries. Testing containment is a necessary step in solving the equivalence and minimization problems. We first characterize the containment and minimization conditions for the class of terminal conjunctive queries. We then characterize containment for the class of all conjunctive queries and derive an optimization algorithm for this class. The equivalent optimal query produced is expressed as a union of terminal conjunctive queries, which has the property that the number of variables as well as their search spaces are minimal among all unions of terminal conjunctive queries. Finally, we investigate the complexity of the containment problem. We show that it is complete in $\\Pi^{p}_{2}$.<\/jats:p>","DOI":"10.1137\/s0097539794262446","type":"journal-article","created":{"date-parts":[[2003,6,11]],"date-time":"2003-06-11T11:12:06Z","timestamp":1055329926000},"page":"1371-1400","source":"Crossref","is-referenced-by-count":2,"title":["Containment and Optimization of Object-Preserving Conjunctive Queries"],"prefix":"10.1137","volume":"29","author":[{"given":"Edward P. F.","family":"Chan","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ron","family":"van der Meyden","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,27]]},"reference":[{"key":"R1","doi-asserted-by":"crossref","unstructured":"S. Abiteboul and P. Kanellakis,\n                      Object identity as a query language primitive\n                      , in Proceedings of 1989 ACM SIGMOD, Portland, OR, pp. 159\u2013173; also appears as Technical Report 1022, INRIA, April 1989.","DOI":"10.1145\/67544.66941"},{"key":"R2","doi-asserted-by":"publisher","DOI":"10.1137\/0208017"},{"key":"R3","doi-asserted-by":"crossref","unstructured":"M. Atkinson, F. Bancilhon, D. DeWitt, K. Dittrich, D. Maier, and S. Zdonik,\n                      The object\u2010oriented database system manifesto\n                      , in Proceedings of the 1st International Conference on Deductive and Object\u2010Oriented Databases, Kyoto, Japan, 1989, W. Kim, J.\u2010M. Nicolas, and S. Nishio, eds., North\u2010Holland\u2013Elsevier, Amsterdam, 1990, pp. 40\u201357.","DOI":"10.1016\/B978-0-444-88433-6.50020-4"},{"key":"R4","doi-asserted-by":"crossref","unstructured":"F. Bancilhon,\n                      Object\u2010oriented database systems\n                      , in Proceedings of the 7th ACM Symposium on Principles of Database Systems, Austin, TX, 1988, pp. 152\u2013162.","DOI":"10.1145\/308386.308429"},{"key":"R5","doi-asserted-by":"crossref","unstructured":"J. Banerjee, W. Kim, and K. C. Kim,\n                      Queries in object\u2010oriented databases\n                      , in Proceedings of the 4th IEEE International Conference on Data Engineering, Los Angeles, CA, 1988, pp. 31\u201338.","DOI":"10.1109\/ICDE.1988.105443"},{"key":"R6","doi-asserted-by":"crossref","unstructured":"Catriel Beeri, Yoram Kornatzky, Algebraic optimization of object\u2010oriented query languages, Lecture Notes in Comput. Sci., Vol. 470, Springer, Berlin, 1990, 72\u20138891k:68135","DOI":"10.1007\/3-540-53507-1_71"},{"key":"R7","doi-asserted-by":"crossref","unstructured":"A. Borgida,\n                      Type systems for querying class hierarchies with non strict inheritance\n                      , in Proceedings of the 8th ACM Symposium on Principles of Database Systems, Philadelphia, PA,1989, pp. 394\u2013401.","DOI":"10.1145\/73721.73759"},{"key":"R8","unstructured":"The Object Database Standard: ODMG\u2010\n                      93, Release 1.1, R. G. G. Cattell, ed., Morgan Kaufmann, San Mateo, CA, 1994."},{"key":"R9","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(94)00015-8"},{"key":"R10","doi-asserted-by":"crossref","unstructured":"E. P. F. Chan,\n                      Containment and minimization of positive conjunctive queries in OODB\u2019s\n                      , in Proceedings of the 11th ACM Symposium on Principles of Database Systems, San Diego, CA, 1992, pp. 202\u2013211.","DOI":"10.1145\/137097.137869"},{"key":"R11","doi-asserted-by":"crossref","unstructured":"A. Chandra and P. M. Merlin,\n                      Optimal implementation of conjunctive queries in relational databases\n                      , in Proceedings of the 9th ACM Symposium on Theory of Computing, ACM, New York, 1977, pp. 77\u201390.","DOI":"10.1145\/800105.803397"},{"key":"R12","doi-asserted-by":"crossref","unstructured":"S. Cluet and C. Delobel,\n                      A general framework for the optimization of object\u2010oriented queries\n                      , in Proceedings of the ACM SIGMOD, San Diego, CA, 1992, pp. 383\u2013392.","DOI":"10.1145\/130283.130341"},{"key":"R13","first-page":"48","volume":"1","author":"Fisher D. H.","year":"1987","journal-title":"ACM Trans. Office Information Systems","ISSN":"https:\/\/id.crossref.org\/issn\/0734-2047","issn-type":"print"},{"key":"R14","unstructured":"R. Hull,\n                      A survey of theoretical research on typed complex database objects\n                      , in Databases, J. Paredaens, ed., Academic Press, London, UK, 1987, pp. 193\u2013256."},{"key":"R15","doi-asserted-by":"crossref","unstructured":"R. Hull and M. Yoshikawa,\n                      On the equivalence of database restructurings involving object identifiers (extended abstract)\n                      , in Proceedings of the 10th ACM Symposium on Principles of Database Systems, Denver, CO, 1991, pp. 328\u2013340.","DOI":"10.1145\/113413.113443"},{"key":"R16","doi-asserted-by":"crossref","unstructured":"M. Kifer, W. Kim, and Y. Sagiv,\n                      Querying object oriented databases\n                      , in Proceedings of the 1992 ACM SIGMOD, San Diego, CA, 1992, pp. 393\u2013402.","DOI":"10.1145\/130283.130342"},{"key":"R17","unstructured":"W. Kim,\n                      Introduction to Object\u2010Oriented Databases\n                      , MIT Press, Cambridge, MA, 1990."},{"key":"R18","doi-asserted-by":"publisher","DOI":"10.1145\/125223.125244"},{"key":"R19","doi-asserted-by":"crossref","unstructured":"R. Lanzelotte, P. Valduriez, M. Ziane, and J\u2010P. Cheiney,\n                      Optimization of nonrecursive queries in OODBs\n                      , in Proceedings of the 2nd International Conference on Deductive and Object\u2010Oriented Databases, Munich, Germany, Lecture Notes in Comput. Sci. 566, Springer\u2010Verlag, New York, 1991, pp. 1\u201321.","DOI":"10.1007\/3-540-55015-1_1"},{"key":"R20","unstructured":"C. Lecluse and P. Richard,\n                      Manipulation of structured values in object\u2010oriented database system\n                      , in Proceedings of the 2th International Workshop on Database Programming Languages, R. Hull, R. Morrison, and D. Stemple, eds., Morgan Kaufmann, San Mateo, CA, 1990, pp. 113\u2013121."},{"key":"R21","doi-asserted-by":"crossref","unstructured":"D. Maier, J. C. Stein, A. Otis, and A. Purdy,\n                      Development of an object\u2010oriented DBMS\n                      , in Proceedings of the Conference on Object\u2010oriented Programming Systems, Languages, and Applications, Portland, OR, ACM, New York, 1986, pp. 472\u2013482.","DOI":"10.1145\/28697.28746"},{"key":"R22","unstructured":"Ontos Object Database Programmer\u2019s Guide\n                      , Ontologic Inc., Burlington, MA, 1989."},{"key":"R23","unstructured":"The O2 Programmer Manual\n                      ,\n                      O2\n                      Technology, 1991."},{"key":"R24","doi-asserted-by":"publisher","DOI":"10.1145\/322217.322221"},{"key":"R25","doi-asserted-by":"crossref","unstructured":"M. H. Scholl, C. Laasch, and M. Tresch,\n                      Updatable views in object\u2010oriented databases\n                      , in Proceedings of the 2nd International Conference on Deductive and Object\u2010Oriented Databases, Munich, Germany, Lecture Notes in Comput. Sci. 566, Springer\u2010Verlag, New York, 1991, pp. 189\u2013207.","DOI":"10.1007\/3-540-55015-1_10"},{"key":"R26","unstructured":"G. Shaw and S. Zdonik,\n                      OO queries: Equivalence and optimization\n                      , in Proceedings of the 1st International Conference on Deductive and Object\u2010Oriented Databases, Kyoto, Japan, 1989, W. Kim, J.\u2010M. Nicolas, and S. Nishio, eds., North\u2010Holland\u2013Elsevier, Amsterdam, 1990, pp. 264\u2013278."},{"key":"R27","doi-asserted-by":"publisher","DOI":"10.1145\/102675.102678"},{"key":"R28","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(76)90061-X"},{"key":"R29","doi-asserted-by":"crossref","unstructured":"L. Stockmeyer, A. Meyer, Word problems requiring exponential time: preliminary report, Assoc. Comput. Mach., New York, 1973, 1\u2013954:6557","DOI":"10.1145\/800125.804029"},{"key":"R30","doi-asserted-by":"crossref","unstructured":"J. D. Ullman,\n                      Database theory\u2010past and future\n                      , in Proceedings of the 6th ACM Symposium on Principles of Database Systems, San Diego, CA, 1987, pp. 1\u201310.","DOI":"10.1145\/28659.28660"},{"key":"R31","unstructured":"J. D. Ullman,\n                      Principles of Database and Knowledge\u2010Base Systems\n                      , Vol. I, Computer Science Press, Rockville, MD, 1988."},{"key":"R32","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(76)90062-1"},{"key":"R33","doi-asserted-by":"crossref","unstructured":"C. Zaniolo,\n                      The database language GEM\n                      , in Proceedings of the 1983 ACM SIGMOD, San Jose, CA, 1983, pp. 207\u2013218.","DOI":"10.1145\/582192.582226"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/S0097539794262446","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:13:35Z","timestamp":1787336015000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/S0097539794262446"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2000,1]]},"references-count":33,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2000,1]]}},"alternative-id":["10.1137\/S0097539794262446"],"URL":"https:\/\/doi.org\/10.1137\/s0097539794262446","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2000,1]]}}}