solve the Unification problems in prolog given below
Do these开发者_开发问答 terms unify? Why?
likes(jax, X). and likes(X, jin).
food(X, Y, Z). and food(M, M, M).
food(b, c, d(a)). and food(X, X, X).
In below clause, X will instantiate to what value?
- [X|Y]= [likes(jin, black(dog)),likes(kate, dog)].
I need the answer for the above query and justify the answer.
精彩评论