







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








November 1, 2005 Instructor: Jerry Zhu CLOSED BOOK (One letter-size notes allowed. Turn it in with the exam)
Problem Score Max Score: 5 points each 1 ___________ 2 ___________ 3 ___________ 4 ___________ 5 ___________ 6 ___________ 7 ___________ 8 ___________ 9 ___________ 10 ___________ 11 ___________ 12 ___________ 13 ___________ 14 ___________ 15 ___________ 16 ___________ 17 ___________ 18 ___________ 19 ___________ 20 ___________ Total ___________ 100
English to FOL The English sentence: โI saw the duck in the park with a telescope.โ is famous for its ambiguity. We have defined the following objects and predicates for you: I, Duck, Park, Telescope V(x, y, z): x visually detected y using device z L(x,y): x is located in y P(x,y): x possesses y As an example, this is one possible (although somewhat unusual) FOL interpretation of the original sentence, and its English re-interpretation: โx V(I, Duck, x) โง L(Duck, Park) โง P(Duck, Telescope) I saw the duck (using some device โ maybe just my eyes), the duck is in the park, and the duck has a telescope. Write down 5 more different FOL interpretations of the original sentence. You do not have to re-interpret them in English. You may define new predicates if necessary.
FOL backward chaining Given the FOL KB: above(x, z) โง ontop(z, y) โ above(x, y) ontop(x, y) โ above(x, y) ontop(A, B) ontop(B, C) When proving above(A, C), what might happen if we always scan the KB from top to bottom, and apply the first rule in the KB whose right-hand-side matches the sub-goal we are trying to prove?
Propositional logic Show that the following KB is inconsistent. You can use and mix whatever sound rules (e.g. Modus Ponens, resolution).
ยฌ ( A โ D)
A โ B
E โ ยฌ ( D โ C)
( B โง A ) โ E
(scratch paper)