Adds new contexts to the agenda.
kw
context context-list
context-list⇩ |
A list of context names. |
The backward chaining goal context
adds new contexts context-list on top of the agenda (the context stack). The current context is not changed. It is an error if the named contexts do not exist.
If context-list contains variables, then they must be already bound.
(context (my-context)) (context (?x ?y)) ; if ?x ?y bound to context names
KnowledgeWorks and Prolog User Guide (Windows version) - 01 Dec 2021 19:36:03