[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

OR-SML: A functional database programming language for disjunctive information and its applications

  • Advanced Querying Concepts
  • Conference paper
  • First Online:
Database and Expert Systems Applications (DEXA 1994)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 856))

Included in the following conference series:

  • 121 Accesses

Abstract

We describe a functional database language OR-SML for handling disjunctive information in database queries, and its implementation on top of Standard ML [12]. The core language has the power of the nested relational algebra, augmented by or-sets which are used to deal with disjunctive information. Sets, or-sets and tuples can be freely combined to create objects, which gives the language a greater flexibility. It is configurable by user-defined base types, and can be used independently or interfaced to other systems built in ML. We give examples of queries which require disjunctive information (such as querying incomplete or independent databases) and show how to use the language to answer these queries.

Partial support was provided by NSF Grant IRI-90-04137 and AT&T Doctoral Fellowship, while this author was a graduate student at the University of Pennsylvania.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. V. Breazu-Tannen, P. Buneman, and S. Naqvi. Structural recursion as a query language. In Proc. of DBPL-91, pages 9–19.

    Google Scholar 

  2. V. Breazu-Tannen, P. Buneman, and L. Wong. Naturally embedded query languages. In LNCS 646: Proc. ICDT-92, pages 140–154. Springer, October 92.

    Google Scholar 

  3. P. Buneman, S. Davidson, A. Watters, A semantics for complex objects and approximate answers, JCSS 43:170–218, 1991.

    Google Scholar 

  4. P. Buneman, A. Jung, A. Ohori, Using powerdomains to generalize relational databases, Theoret. Comp. Sci. 91:23–55, 1991.

    Google Scholar 

  5. S. Grumbach, T. Milo, Towards tractable algebras for bags, Proceedings of the 12th PODS, Washington DC, 1993, pages 49–58.

    Google Scholar 

  6. C. Gunter, The mixed powerdomain, Theoret. Comp. Sci. 103:311–334, 1992.

    Google Scholar 

  7. E. Gunter and L. Libkin. A functional database programming language with support for disjunctive information, AT&T Technical Memo, 1993.

    Google Scholar 

  8. T. Imielinski, S. Naqvi, and K. Vadaparty. Incomplete objects — a data model for design and planning applications. In Proc. of SIGMOD, Denver CO, May 1991.

    Google Scholar 

  9. L. Libkin, A relational algebra for complex objects based on partial information, In LNCS 495: Proc. of MFDBS-91, Springer-Verlag, 1991, pages 36–41.

    Google Scholar 

  10. L. Libkin and L. Wong, Semantic representations and query languages for or-sets, Proceedings of the 12th PODS, Washington DC, 1993, pages 37–48.

    Google Scholar 

  11. L. Libkin and L. Wong, Some properties of query languages for bags, In Proc. of DBPL-93, Springer Verlag, 1994, pages 97–114.

    Google Scholar 

  12. R. Milner, M. Tofte, R. Harper, “The Definition of Standard ML”, The MIT Press, Cambridge, Mass, 1990.

    Google Scholar 

  13. A. Ohori, V. Breazu-Tannen and P. Buneman, Database programming in Machiavelli: a polymorphic language with static type inference, In SIGMOD 89.

    Google Scholar 

  14. B. Rounds, Situation-theoretic aspects of databases, In Proc. Conf. on Situation Theory and Applications, CSLI vol. 26, 1991, pages 229–256.

    Google Scholar 

  15. H.-J. Schek and M. Scholl, The relational model with relation-valued attributes, Inform. Systems 11 (1986), 137–147.

    Google Scholar 

  16. P.W. Trinder and P.L. Wadler, List comprehensions and the relational calculus, In Proceedings of the Glasgow Workshop on Functional Programming, pages 187–202.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Dimitris Karagiannis

Rights and permissions

Reprints and permissions

Copyright information

© 1994 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gunter, E., Libkin, L. (1994). OR-SML: A functional database programming language for disjunctive information and its applications. In: Karagiannis, D. (eds) Database and Expert Systems Applications. DEXA 1994. Lecture Notes in Computer Science, vol 856. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58435-8_230

Download citation

  • DOI: https://doi.org/10.1007/3-540-58435-8_230

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-58435-3

  • Online ISBN: 978-3-540-48796-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics