Prolog Lecture Notes 3rd Week
Prolog Lecture Notes 3rd Week. Logical expressions and prolog Operators Lists. 1. smart(X):-teaches(X,computing). 2. teaches(john,math132). 3. wife(X,john),teaches(X,comp111). 4. mathematics(math132). 5. computing(comp111). 1. likes(X,Y):-mother(X,Y), good(Y). 2. woman(X):- mother(X).
1.15k views • 89 slides