Skip to main content

A closed form for datalog queries with integer order

  • Constraint Logic Programming
  • Conference paper
  • First Online:
ICDT '90 (ICDT 1990)

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

Included in the following conference series:

Abstract

The use of constraints within logic programming and within database languages promises interesting new applications. We show that Datalog queries with simple integer order constraints can be evaluated bottom-up in closed form over generalized databases.

preliminary version

This work was supported in part by NSF grant IRI-8617344.

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.

References

  1. S. Abiteboul, V. Vianu. Procedural and Declarative Database Update Languages. Proc. 7th ACM Symposium on Principles of Database Systems, 240–250, 1988.

    Google Scholar 

  2. A.K. Aylamazyan, M.M. Gilula, A.P. Stolboushkin, G.F. Schwartz. Reduction of the Relational Model with Infinite Domain to the Case of Finite Domains. Proc. USSR Acad. of Science (Doklady), 286(2):308–311, 1986.

    Google Scholar 

  3. A. Colmerauer. An Introduction to Prolog III. Draft, 1987.

    Google Scholar 

  4. A.K. Chandra. Theory of Database Queries. 7th ACM Symposium on Principles of Database Systems, 1–9, 1988.

    Google Scholar 

  5. A.K. Chandra, D. Harel. Computable Queries for Relational Data Bases. Journal of Computer and Systems Sciences, 21:156–178, 1980.

    Google Scholar 

  6. J. Chomicki, T. Imielinski. Relational Specifications of Infinite Query Answers. Proc. ACM SIGMOD International Conference on Management of Data, 174–183, 1989.

    Google Scholar 

  7. M. Dincbas, et al. The Constraint Logic Programming Language CHIP. Proc. Fifth Generation Computer Systems, Tokyo Japan, 1988.

    Google Scholar 

  8. J. Ferrante, J.R. Geiser. An Efficient Decision Procedure for the Theory of Rational Order. Theoretical Computer Science, 4:227–233, 1977.

    Google Scholar 

  9. J. Ferrante, C.W. Rackoff. The Computational Complexity of Logical Theories, Springer-Verlag (No. 718), 1979.

    Google Scholar 

  10. R. Hull, J. Su. Domain Independence and the Relational Calculus. Technical Report 88-64, University of Southern California, submitted to IPL, 1989.

    Google Scholar 

  11. J. Jaffar, J-L. Lassez. Constraint Logic Programming. Proc. 14th ACM Symposium on Principles of Programming Languages, 111–119, 1987.

    Google Scholar 

  12. F. Kabanza, J-M. Stevenne, P. Wolper. Handling Infinite Temporal Data, 9th ACM Symposium on Principles of Database Systems, 392–403, 1990.

    Google Scholar 

  13. P.C. Kanellakis. Elements of Relational Database Theory. Handbook of Theoretical Computer Science, North-Holland, to appear.

    Google Scholar 

  14. P.C. Kanellakis, G.M. Kuper, P.Z. Revesz. Constraint Query Languages, 9th ACM Symposium on Principles of Database Systems, 299–313, 1990.

    Google Scholar 

  15. M. Kifer. On Safety, Domain Independence, and Capturability of Database Queries. Proc. International Conference on Databases and Knowledge Bases, Jerusalem Israel, 1988.

    Google Scholar 

  16. S.C. Kleene. General Recursive Functions on Natural Numbers. Matematische Annalen, 112:727–742, 1936.

    Google Scholar 

  17. P. Kolaitis, C.H. Papadimitriou. Why not Negation by Fixpoint? Proc. 7th ACM Symposium on Principles of Database Systems, 231–239, 1988.

    Google Scholar 

  18. H.R. Lewis, C.H. Papadimitriou. Elements of the Theory of Computation. Prentice-Hall, 1981.

    Google Scholar 

  19. J.W. Lloyd. Foundations of Logic Programming. Springer-Verlag, 1984.

    Google Scholar 

  20. R. Ramakrishnan. Magic Templates: A Spellbinding Approach to Logic Programs. Proc. 5th International Conference on Logic Programming, 141–159, 1988.

    Google Scholar 

  21. J.D. Ullman. Principles of Database Systems. Computer Science Press, 2nd Ed., 1982.

    Google Scholar 

  22. J.D. Ullman, A. Van Gelder. Parallel Complexity of Logical Query Programs. Algorithmica, 3:5–42, 1988.

    Google Scholar 

  23. M.Y. Vardi. The Complexity of Relational Query Languages. Proc. 14th ACM Symposium on Theory of Computing, 137–146, 1982.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Serge Abiteboul Paris C. Kanellakis

Rights and permissions

Reprints and permissions

Copyright information

© 1990 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Revesz, P.Z. (1990). A closed form for datalog queries with integer order. In: Abiteboul, S., Kanellakis, P.C. (eds) ICDT '90. ICDT 1990. Lecture Notes in Computer Science, vol 470. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-53507-1_77

Download citation

  • DOI: https://doi.org/10.1007/3-540-53507-1_77

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-53507-2

  • Online ISBN: 978-3-540-46682-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics