Back to the 2020 paper

Module 2: Knowledge Representation and Reasoning

20207m

Consider the following sentences:

  • John likes all kinds of food.
  • Apples are food.
  • Chicken is food.
  • Anything anyone eats and isn't killed by it, is food.
  • Sue eats everything Bill eats.

(i) Translate the sentences into formulae in predicate logic. Prove that John likes peanuts using backward chaining.
(ii) Convert the formulae of part (i) into clause form.
(iii) Prove that John likes peanuts using resolution.
(iv) Use resolution to answer the question, "What food does Sue eat?"

Similar questions