Skip to main content

Constraint Programming for Context Comprehension

  • Chapter
  • First Online:

Abstract

A close similarity is demonstrated between context comprehension, such as discourse analysis, and constraint programming. The constraint store takes the role of a growing knowledge base learned throughout the discourse, and a suitable constraint solver does the job of incorporating new pieces of knowledge. The language of Constraint Handling Rules, CHR, is suggested for defining constraint solvers that reflect “world knowledge” for the given domain, and driver algorithms may be expressed in Prolog or additional rules of CHR. It is argued that this way of doing context comprehension is an instance of abductive reasoning. The approach fits with possible worlds semantics that allows both standard first-order and non-monotonic semantics.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    The mentioning of the substitution σ in Definition 25.3 is necessary in order to preserve the identity of variables in the store and its normalized version.

  2. 2.

    Most implementations of CHR are based on a multiset semantics; some implementations has an option for switching to a set semantics, but for reasons of efficiency, this is discouraged. It is recommended to use relevant simpagations for duplicate elimination as shown in the example.

  3. 3.

    The constraint solver uses a predicate “is” which is a Prolog device for arithmetic that only works when all variables in its right hand side argument are given at the time of the call. Replacing it by a proper constraint solver capable of handling equations concerning the addition and subtraction of the constant one, will make it possible to work with non-ground constraints, corresponding to calculating the robot’s position and direction relative to an unknown start position.

  4. 4.

    Abductive reasoning is often mentioned as a special case of non-monotonicity since conclusions are drawn that may not be a logical consequence of the present knowledge base. However, what we call standard semantics used in relation to abduction is a first-order, monotonic semantics for the constraint stores (knowledge bases) with a knowledge assimilation mechanism that conforms with conjunction. Readers puzzled by this discussion may find the paper (Console et al. 1991) from 1991 interesting, in which the relation between abduction and deduction is investigated in a way that has strong links to the work presented here.

References

  1. Abdennadher, S., Christiansen, H.: An experimental CLP platform for integrity constraints and abduction. In: Proceedings of FQAS2000, Flexible Query Answering Systems: Advances in Soft Computing series, pp. {141–152}. Physica-Verlag, Heidelberg (Springer) (2000)

    Google Scholar 

  2. Alchourrón, C.E., Gärdenfors, P., Makinson, D.: On the logic of theory change: Partial meet contraction and revision functions. J. Symbol. Logic 50(2), 510–530 (1985)

    Google Scholar 

  3. Aliseda, A.: Abductive Reasoning: Logical Investigations into Discovery and Explanation (Synthese library). Springer, Berlin (2006)

    Google Scholar 

  4. Apt, K.: Principles of Constraint Programming. Cambridge University Press, Cambridge (2003)

    Google Scholar 

  5. Betz, H., Frühwirth, T.W.: A linear-logic semantics for Constraint Handling Rules. In: {{van} Beek, P.} (ed.) Constraint Programming, Lecture Notes in Computer Science, vol. {3709}, pp. 137–151. Springer, Berlin (2005)

    Google Scholar 

  6. van de Camp, M., Christiansen, H.: Resolving relative time expressions in Dutch text with Constraint Handling Rules. In: D. Duchier, Y. Parmentier (eds.) CSLP, Lecture Notes in Computer Science, vol. 8114, pp. 166–177. Springer, Berlin (2012)

    Google Scholar 

  7. Charniak, E., McDermott, D.: Introduction to Artificial Intelligence. Addison-Wesley Publishing Company, Reading (1985)

    Google Scholar 

  8. Christiansen, H.: CHR grammars. Int. J. Theory Pract. Logic Programm. 5(4–5), 467–501 (2005)

    Google Scholar 

  9. Christiansen, H.: On the implementation of global abduction. In: Inoue, K., Satoh, K., Toni, F. (eds.) CLIMA VII, Lecture Notes in Computer Science, vol. 4371, pp. 226–245. Springer, Berlin (2006)

    Google Scholar 

  10. Christiansen, H.: Implementing probabilistic abductive logic programming with Constraint Handling Rules. In: Schrijvers, T., Frühwirth, T.W. (eds.) Constraint Handling Rules, Lecture Notes in Computer Science, vol. 5388, pp. 85–118. Springer, Berlin (2008)

    Google Scholar 

  11. Christiansen, H.: Executable specifications for hypothesis-based reasoning with Prolog and Constraint Handling Rules. J. Appl. Logic 7(3), 341–362 (2009)

    Google Scholar 

  12. Christiansen, H.: An adaptation of Constraint Handling Rules for interactive and intelligent installations. In: Sneyers, J., Frühwirth, T.W. (eds.) CHR'12: Proceedings of 9th Workshop on Constraint Handling Rules, pp. 1–15. K.U.Leuven, Department of Computer Science, CW 624 (2012)

    Google Scholar 

  13. Christiansen, H., Dahl, V.: HYPROLOG: A new logic programming language with assumptions and abduction. In: Gabbrielli, M., Gupta, G. (eds.) ICLP, Lecture Notes in Computer Science, vol. 3668, pp. 159–173. Springer, Berlin (2005a)

    Google Scholar 

  14. Christiansen, H., Dahl, V.: Meaning in context. In: Dey, A., Kokinov, B., Leake, D., Turner, R. (eds.) Proceedings of Fifth International and Interdisciplinary Conference on Modeling and Using Context (CONTEXT-05), Lecture Notes in Artificial Intelligence, vol. 3554, pp. 97–111 Springer, Berlin (2005b)

    Google Scholar 

  15. Christiansen, H., Have, C.T., Tveitane, K.: From use cases to UML class diagrams using logic grammars and constraints. In: RANLP '07: Proceedings of International Conference Recent Advance Nature Language Processing, pp. 128–132. Incoma Ltd, Shoumen, Bulgaria (2007)

    Google Scholar 

  16. Christiansen, H., Saleh, A.H.: Modeling dependent events with CHRiSM for probabilistic abduction. In: Sneyers}, J. (ed.) CHR '11: Proceedings of 8th Workshop on Constraint Handling Rules, pp. 48–63. GUC, Technical report (2011)

    Google Scholar 

  17. Console, L., Dupré, D.T., Torasso, P.: On the relationship between abduction and deduction. J. Logic Comput. 1(5), 661–690 (1991)

    Google Scholar 

  18. Denecker, M., Kakas, A.C.: Abduction in logic programming. In: Kakas, A.C., Sadri, F. (eds.) Computational Logic: Logic Programming and Beyond, Lecture Notes in Computer Science, vol. 2407, pp. 402–436. Springer, Berlin (2002)

    Google Scholar 

  19. Frühwirth, T.W.: Theory and practice of Constraint Handling Rules. J. Logic Programm. 37(1–3), 95–138 (1998)

    Google Scholar 

  20. Frühwirth, T.W.: Constraint Handling Rules. Cambridge University Press, Cambridge (2009)

    Google Scholar 

  21. Gärdenfors, P.: Belief revision and nonmonotonic logic: Two sides of the same coin? In: ECAI, pp. 768–773 (1990)

    Google Scholar 

  22. Gärdenfors, P., Rott, H.: Belief revision. In: Gabbay, D.M., Hogger, C.J., Robinson, J.A. (eds.) Handbook of Logic in Artificial Intelligence and Logic Programming, Epistemic and Temporal Reasoning, vol. IV, pp. 35–132. Oxford University Press, Oxford (1995)

    Google Scholar 

  23. Hobbs, J.R.: Ontological promiscuity. In: ACL, 23rd Annual Meeting of the Association for Computational Linguistics, 8–12 July 1985, University of Chicago, Chicago, Illinois, USA, Proceedings, pp. 61–69. ACL (1985)

    Google Scholar 

  24. Hobbs, J.R., Stickel, M.E., Appelt, D.E., Martin, P.A.: Interpretation as abduction. Artif. Intell. 63(1–2), 69–142 (1993)

    Google Scholar 

  25. Jaffar, J., Lassez, J.L.: Constraint logic programming. In: POPL, Conference Record of the Fourteenth Annual ACM Symposium on Principles of Programming Languages, Munich, Germany, 21–23 January 1987, pp. 111–119 (1987)

    Google Scholar 

  26. Kowalski, R.A., Bowen, K.A. (eds.): Logic programming. Proceedings of the Fifth International Conference and Symposium, Seattle, Washington, 15–19 August 1988 (2 volumes). MIT Press (1988)

    Google Scholar 

  27. Maim, E.: Abduction and constraint logic programming. In: ECAI, pp. 149–153 (1992)

    Google Scholar 

  28. Pereira, F.C.N., Shieber, S.M.: Prolog and natural-language analysis, CSLI Lecture Notes Series, vol. 10. Center for the Study of Language and Information, Menlo Park (1987)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Henning Christiansen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer Science+Business Media New York

About this chapter

Cite this chapter

Christiansen, H. (2014). Constraint Programming for Context Comprehension. In: Brézillon, P., Gonzalez, A. (eds) Context in Computing. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-1887-4_25

Download citation

  • DOI: https://doi.org/10.1007/978-1-4939-1887-4_25

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4939-1886-7

  • Online ISBN: 978-1-4939-1887-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics