Up Next
Go up to Top
Go forward to Question 2 [15 marks]

Question 1 [15 marks]

Consider the knowledge base KB:
a <- b & d.
b <- e & f.
c <- h & e.
d <- e.
d <- b & g.
e <- h.
g <- c & d.
h.
(a)
[5 marks] a isn't a logical consequence of KB. Explain what this means and show why a isn't a logical consequence of KB.
(b)
[5 marks] g is a logical consequence of KB. Give a top-down derivation for the query ?g.
(c)
[5 marks] Give Clark's completion of the knowledge base:
passed_each([],St).
passed_each([C|R],St) <-
    passed(St,C) &
    passed_each(R,St).
  • Solution to Question 1, part (a)
  • Solution to Question 1, part (b)
  • Solution to Question 1, part (c)

  • Up Next