skip to main content
10.1145/1099554.1099603acmconferencesArticle/Chapter ViewAbstractPublication PagescikmConference Proceedingsconference-collections
Article

Typed functional query languages with equational specifications

Published:31 October 2005Publication History

ABSTRACT

We present a framework for functionally modeling query languages and data models. Data and queries are uniformly represented by first-order functions, and query-language constructs by polymorphic higher-order functions. The functions are typed by a database-oriented type system that supports polymorphism and nesting of types, thus one can perform static type-checking and type-inferencing of query-expressions. The query language can be freely extended by introducing new querying constructs as polymorphic higher-order functions.While type information gives the input-output description of the functions, the semantic information is captured by equational specifications. Knowledge about the functions is represented as equalities of functional expressions in the form of equations. By equational axiomatization of the query language, database problems of query equivalence and answering-query with views can be posed as equational word-problems and equational matching.

References

  1. F. Baader and T. Nipknow. Term Rewriting and All That. Cambridge University Press, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. F. Baader and W. Snyder. Unification theory. Handbook of automated reasoning, pages 445--532, 2001.Google ScholarGoogle Scholar
  3. P. Buneman and R. E. Frankel. FQL -- a functional query language. In SIGMOD, pages 52--58, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Buneman and A. Ohori. Polymorphism and type inference in database programming. ACM Transactions on Database Systems, 21(1):30--76, March 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Y. Kaji, T. Fujiwara, and T. Kasami. Solving a unification problem under constrained substitutions using tree automata. J. Symb. Comput., 23(1):79--117, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. A. Ohori, P. Buneman, and V. Tannen. Database programming in Machiavelli -- a polymorphic language with static type inference. In SIGMOD, pages 46--57, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. D. Rémy. Type inference for records in a natural extension of ML. In TACS, volume 789 of Lecture Notes in Computer Science. Springer, 1994.Google ScholarGoogle Scholar
  8. D. W. Shipman. The functional data model and the data languages DAPLEX. ACM Transactions on Database Systems, 6(1):140--173, March 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. M. Wand. Complete type inference for simple objects. In LICS, pages 37--44, 1987.Google ScholarGoogle Scholar

Index Terms

  1. Typed functional query languages with equational specifications

    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
      CIKM '05: Proceedings of the 14th ACM international conference on Information and knowledge management
      October 2005
      854 pages
      ISBN:1595931406
      DOI:10.1145/1099554

      Copyright © 2005 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: 31 October 2005

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      CIKM '05 Paper Acceptance Rate77of425submissions,18%Overall Acceptance Rate1,861of8,427submissions,22%

      Upcoming Conference

    • Article Metrics

      • Downloads (Last 12 months)1
      • Downloads (Last 6 weeks)0

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader