Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorials:beginner:cram_prolog [2019/07/10 14:53] – [Using Prolog for reasoning] gkazhoya | tutorials:beginner:cram_prolog [2022/05/24 09:20] – [Using built-in predicates] schimpf | ||
---|---|---|---|
Line 43: | Line 43: | ||
</ | </ | ||
Then we get one correct possible assignment for all the variables as one entry of the lazy list. | Then we get one correct possible assignment for all the variables as one entry of the lazy list. | ||
+ | |||
+ | It is important to remember that the ` is needed for unbound variables, not the ' or you will get an error. | ||
+ | |||
If there are no solutions for the query Prolog returns NIL: | If there are no solutions for the query Prolog returns NIL: | ||
Line 104: | Line 107: | ||
(((? | (((? | ||
</ | </ | ||
+ | |||
+ | |||
+ | Now that we are familiar with the CRAM Prolog syntax, let's dive right into resolving CRAM abstract entity descriptions, | ||
+ | |||
+ | **Next Tutorial:** [[tutorials: |