skip to main content
10.1145/182591.182611acmconferencesArticle/Chapter ViewAbstractPublication PagespodsConference Proceedingsconference-collections
Article
Free Access

A query language for list-based complex objects

Published:24 May 1994Publication History

ABSTRACT

We present a language for querying list-based complex objects. The language is shown to express precisely the polynomial-time generic list-object functions. The iteration mechanism of the language is based on a new approach wherein, in addition to the list over which the iteration is performed, a second list is used to control the number of iteration steps. During the iteration, the intermediate results can be moved to the output list as well as reinserted into the list being iterated over. A simple syntactic constraint allows the growth rate of the intermediate results to be tightly controlled which, in turn, restricts the expressiveness of the language to PTIME.

References

  1. AB87.S. Abiteboul and C. Beeri. On the power of languages for the manipulation of complex objects. In Proceedings of the International Workshop on Theory and Applications of Nested Relations and Complex Objects, Darmstadt, 1987.Google ScholarGoogle Scholar
  2. AV90.S. Abiteboul and V. Vianu. Procedural languages for database queries and updates. Journal of Computer and System Sciences, 41(2):181-229, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. AV91.S. Abiteboul and V. Vianu. Generic computation and its complexity, in Proceedings of the 23rd A CM Symposium on Theory of Computing, pages 209-219, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. BC92.S. Bellantoni and S. Cook. A new recursiontheoretic characterization of the polytime functions. In Proceedings of the 24th A CM Sympos'tum on Theory of Comput'tng, pages 283-293, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. BTBN91.V. Breazu-Tannen, P. Buneman, and S. Naqvi. Structural recursion as a query langauge. In Proceedings of the 3rd International Workshop on Database Programming Languages, pages 9-19, Nafplion, Greece, August 1991. Morgan Kaufmann. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. BTBW92.V. Breazu-Tannen, P. Buneman, and L. Wong. Naturally embedded query languages. In LNCS 6#6: Proceedings of the International Conference on Database Theory, pages 140-154. Springer-verlag, October 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. CH80.A. Chandra and D. Hard. Computable queries for relational data bases. Journal of Computer and @stem Sciences, 21 (2): 156- 178, 1980.Google ScholarGoogle Scholar
  8. CH82.A. Chandra and D. Hard. Structure and complexity of relational queries. Journal of Computer and System, Sc'tences, 25:99-128, 1982.Google ScholarGoogle Scholar
  9. Cha81.A. Chandra. Programming primitives for database languages. In Proceedings of the A CM Symposium on Pmnc'tples of Programmmg Languages, pages 50-62, May 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. CSV93.L.S. Colby, L. V. Saxton, and D. Van Gucht. A query language for list-based complex objects. Technical Report 395, Indiana University, December 1993.Google ScholarGoogle Scholar
  11. CSV94.L.S. Colby, L. V. Saxton, and D. Van Gucht. Concepts for modeling and querying list-structured data. Informat'ton Processzng and Management, 1994. To appear. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. GM93.S. Grumbach and T. Milo.Towards tractable algebras for bags.In Proceedzngs of the twelfth A CM SIGA CT- SIGMOD-SIGART Sympos'tum on Prone'tples of Database Systems, pages 49-58, Washingtion, DC, May 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. GV88.M. Gyssens and D. Fan Gucht. The powerset algebra as a result of adding programming constructs to the nested relational algebra. In Proceedzngs of the A CM SIG- MOD Internatzonal Conference on Management of Data, pages 225-232, Chicago, IL, June 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. GW92.S. Ginsburg and X. Wang. Pattern matching by rs-operations: Towards a unified approach to querying sequenced data. In Proceedings of the eleventh A CM SIGACT-SIGMOD Symposzum on Principles o/Database @stems, pages 293-300, San Diego, California, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. HKM93.G. G. Hillebrand, P. C. KaneIlakis, and H. G. Mairson. Database query languages embedded in the typed lambda calculus. In LICS, 1993.Google ScholarGoogle ScholarCross RefCross Ref
  16. HS89.R. Hull and J. Su. Untyped sets, invention, and computable queries. In Proceedings of the eighth A CM SIGA CT- SIGMOD-SIGART Symposium on Prznciples of Database Systems, pages 347-359, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. HS91.R. Hull and J. Su. On the expressive power of database queries with intermediate types. Journal of Computer and System Sciences, 43(1):219-267, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. HS93.R. Hull and J. Su. Algebraic and calculus query languages for recursively typed complex objects. Journal of Computer and System, Sczenees, 47:121-156, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Imm86.N. Immmerman. Relational queries computable in polynomial time. Information and Control, 68:86-104, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. IPS91a.N. Immerman, S. Patnaik, and D. Stemple. The expressiveness of a family of finite set languages. Technical Report 91-96, Computer and Information Science Department, University of Massachusetts, 1991. Google ScholarGoogle Scholar
  21. IPS91b.N. Immerman, S. Patnaik, and D. Stemple. The expressiveness of a family of finite set languages. In Proceedings of the tenth A CM SIGA CT-SIGMOD-SIGART Symposium on Principles o/ Database Systems, pages 37-52# 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. KV93.G.M. Kuper and M. Y. Vardi. On the complexity of queries in the logical data model. Theoretical Computer Science, 116:33-57, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. LM93.D. Leivant and J-Y. Marion. Lambda calculus characterizations of poly-time. In Proceedings of the Internatwnal Conference on Typed Lambda Calculi and Applications, 1993. To appear in Fundamenta Informaticae. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. LW93.L. Libkin and L. Wong. Some properties of query languages for bags. In Proceedings of the Fourth International Workshop on Database Programming Languages, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. MV93.D. Maier and B. Vance. A call to order. In Proceedings of the twelfth A CM SIGA CT- SIGMOD-SIGART Symposzum on Principles of Database Systems, pages 1-16, Washingtion, DC, May 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. PSV92.D.S. Parker, E. Simon, and P. Valduriez. SVP - a model capturint# sets, streams and parallelism. In Proceedings of the 18th VLDB Conference, pages 115-126, Vancouver, Canada, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Suc93.D. Suciu. Fixpoints and bounded fixpoints for complex objects. In Proceedings o/ the Fourth International Workshop on Database Programming Languages, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Tri91.P. Trinder. Comprehensions, a query notation for DBPLs. In Proceedings of the 3rd Internat'tonal Workshop on Database Programming Languages, pages 55-68, Nafplion, Greece, August 1991. Morgan Kaufmann. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Var82.M. Vardi. The complexity of relational query languages. In Proceedings of the 14th A CM Symposium on Theory of Computing, pages 137-146, 1982. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A query language for list-based complex objects

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              PODS '94: Proceedings of the thirteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems
              May 1994
              313 pages
              ISBN:0897916425
              DOI:10.1145/182591
              • Chairman:
              • Victor Vianu

              Copyright © 1994 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 24 May 1994

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              PODS '94 Paper Acceptance Rate28of117submissions,24%Overall Acceptance Rate642of2,707submissions,24%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader