Skip to main content

Annotated constraint logic programming applied to temporal reasoning

  • Conference paper
  • First Online:
Programming Language Implementation and Logic Programming (PLILP 1994)

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

Abstract

Annotated constraint logic programming (ACLP) combines constraint logic programming (CLP) and generalized annotated programming (GAP). With ACL we propose a first order logic with constraints where formulas can be annotated. ACL comes with inference rules for annotated formulas and a constraint theory for handling annotations. We describe an implementation based on the standard interpreter for logic programs. The inference rules of ACL are turned into clauses of the interpreter, and the constraints on annotations are solved by a suitable constraint solver. Then we optimize the interpreter.

We also introduce an instance of ACLP for reasoning about time. Temporal ACLP is conceptually simple while covering substantial parts of temporal logic. Temporal annotations avoid the proliferation of variables and quantifiers of standard first-order approaches. In TACLP, the model of time can be freely chosen since it is represented in the constraint theory. Both qualitative and quantitative (metric) temporal reasoning with time points (instants) and periods (temporal intervals) are supported. TACLP is implemented as an instance of the generic interpreter. An example, the “Workshop Murder Mystery”, forms a guideline through the paper.

Part of this work is supported by ESPRIT Project 5291 CHIC

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. M. Abadi and Z. Manna, Temporal Logic Programming, Journal of Symbolic Computation (1989) 8, pp 277–295.

    Google Scholar 

  2. J. F. Allen, Towards a General Theory of Action and Time, Artificial Intelligence, Vol. 23, 1984, pp 123–154.

    Google Scholar 

  3. J.F.A.K. van Benthem, The Logic of Time, Synthese Library, Vol. 156, D. Reidel Pub., Holland, 1983.

    Google Scholar 

  4. K. A. Bowen and R. A. Kowalski, Amalgamating Language and Metalanguage in Logic Programming, In Logic Programming, K.A. Clark and S.A. Tarnlund (eds), pp. 153–173, Academic Press, 1982.

    Google Scholar 

  5. Ch. Brzoska, Temporal Logic Programming with Bounded Universal Goals, 10th ICLP, Budapest, Hungary, MIT Press, 1993.

    Google Scholar 

  6. R. Dechter, I. Meiri and J. Pearl, Temporal Constraint Networks, Artificial Intelligence, Vol. 49, pp. 61–95, 1991.

    Google Scholar 

  7. M. Fisher and R. Owens, From the Past to the Future: Executing Temporal Logic Programs, LPAR 92, St. Petersburg, Russia, Springer LNCS 624, July 1992, pp 369–380.

    Google Scholar 

  8. A. M. Frisch and R. B. Scherl, A General framework for Modal Deduction, 2nd KR '91, pp. 196–207, Cambridge, Mass., Morgan Kaufmann, 1991.

    Google Scholar 

  9. T. Frühwirth, Temporal Annotated Constraint Logic Programming, Workshop on Executable Modal and Temporal Logics at IJCAI 93, Chambery, France, August 1993.

    Google Scholar 

  10. T. Frühwirth, Temporal Reasoning with Constraint Handling Rules, Technical Report ECRC-94-05, ECRC Munich, Germany, January 1994.

    Google Scholar 

  11. T. Frühwirth, Annotating Formulas with Temporal Information, Workshop on Logic and Change at ECAI 94, Amsterdam, The Netherlands, August 1994.

    Google Scholar 

  12. A. Galton (ed), Temporal Logics and Their Applications, Academic Press, 1987.

    Google Scholar 

  13. A. Galton, A Critical Examination of Allen's Theory of Action and Time, Artificial Intelligence, Vol. 42, 1990, pp. 159–188.

    Google Scholar 

  14. J. Jaffar and M. J. Maher, Constraint Logic Programming: A Survey, Journal of Logic Programming, to appear.

    Google Scholar 

  15. M. Kifer and V.S. Subrahmanian, Theory of Generalized Annotated Logic Programming and its Applications, Journal of Logic Programming, April 1992.

    Google Scholar 

  16. S. M. Leach and J. J. Lu, Computing Annotated Logic Programs: Theory and Implementation, 11th ICLP, Santa Margherita Ligure, Italy, MIT Press, 1994.

    Google Scholar 

  17. M. Meier, J. Schimpf et al., ECLiPSe 3.4 User Manual and Extensions User Manual, ECRC Munich, Germany, January 1994.

    Google Scholar 

  18. D. McDermot, A Temporal Logic for Reasoning about Processes and Plans, Cognitive Science 6:101–155, 1982.

    Google Scholar 

  19. I. Meiri, Combining Qualitative and Quantitative Constraints in Temporal Reasoning, AAAI 91, July 1991, pp 260–267.

    Google Scholar 

  20. B. Moszkowski, Executing Temporal Logic Programs, Cambridge University Press, 1986.

    Google Scholar 

  21. L. Sterling and E. Shapiro, “Interpreters”, Chapter 17, The Art of Prolog, Second Edition, MIT Press, 1994.

    Google Scholar 

  22. P. van Hentenryck, Constraint Logic Programming, The Knowledge Engineering Review, Vol 6:3, 1991, pp 151–194.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Manuel Hermenegildo Jaan Penjam

Rights and permissions

Reprints and permissions

Copyright information

© 1994 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Frühwirth, T. (1994). Annotated constraint logic programming applied to temporal reasoning. In: Hermenegildo, M., Penjam, J. (eds) Programming Language Implementation and Logic Programming. PLILP 1994. Lecture Notes in Computer Science, vol 844. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58402-1_17

Download citation

  • DOI: https://doi.org/10.1007/3-540-58402-1_17

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-58402-5

  • Online ISBN: 978-3-540-48695-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics