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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 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.
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.
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.
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
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)
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)
Aliseda, A.: Abductive Reasoning: Logical Investigations into Discovery and Explanation (Synthese library). Springer, Berlin (2006)
Apt, K.: Principles of Constraint Programming. Cambridge University Press, Cambridge (2003)
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)
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)
Charniak, E., McDermott, D.: Introduction to Artificial Intelligence. Addison-Wesley Publishing Company, Reading (1985)
Christiansen, H.: CHR grammars. Int. J. Theory Pract. Logic Programm. 5(4–5), 467–501 (2005)
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)
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)
Christiansen, H.: Executable specifications for hypothesis-based reasoning with Prolog and Constraint Handling Rules. J. Appl. Logic 7(3), 341–362 (2009)
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)
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)
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)
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)
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)
Console, L., Dupré, D.T., Torasso, P.: On the relationship between abduction and deduction. J. Logic Comput. 1(5), 661–690 (1991)
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)
Frühwirth, T.W.: Theory and practice of Constraint Handling Rules. J. Logic Programm. 37(1–3), 95–138 (1998)
Frühwirth, T.W.: Constraint Handling Rules. Cambridge University Press, Cambridge (2009)
Gärdenfors, P.: Belief revision and nonmonotonic logic: Two sides of the same coin? In: ECAI, pp. 768–773 (1990)
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)
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)
Hobbs, J.R., Stickel, M.E., Appelt, D.E., Martin, P.A.: Interpretation as abduction. Artif. Intell. 63(1–2), 69–142 (1993)
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)
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)
Maim, E.: Abduction and constraint logic programming. In: ECAI, pp. 149–153 (1992)
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)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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)