Assignment 2: Inference With Knowledge Using Partial-Order Properties |
CSE 415: Introduction to Artificial Intelligence The University of Washington, Seattle, Autumn 2012 |
The reading for this assignment is
Knowledge Representation
in The Elements of Artificial Intelligence with Python.
|
Due Friday, October 12 through
Catalyst CollectIt
at 2:00 PM.
|
Part I. Written Answers (20 points).
|
Part II. ISA Hierarchy Manipulation (80 points plus up to 15 points of extra credit).
The Python code for a program called Linneus that manages a small knowledge base is available
here.
Add the following features to the Linneus program:
|
Updates and Corrections
The link to the Linneus3.py file was corrected on Oct. 8 at 10:52 AM.
Two additional corrections were made on October 10: (a) all occurrences of "living thing"
in the dialog should have been "living-thing", and this was fixed; (b) the dialog part
> A living-thing is an organism. Yes, but a living thing is an organism, because....was corrected to: > A living-thing is an organism. Yes, but an organism is a living-thing, because....Thanks go to Kathryn Nichols for pointing out the error. Update (October 10): Here is what to turn in: a file PartI.txt and a file PartII.py. Your PartI.txt file should contain your name and the answers to the questions in Part I. Your PartII.py file should begin with a multiline string that gives, on the first line, your name, and on the next four lines, the status of your solutions to each of the four exercises in Part II. For example, you might have something like this: '''John Doe 1. (cycle detection) implemented and working. 2. (cycle processing) implemented and working. 3. (Why, with antisymmetry) implemented but only partially working -- seems to only handle a situation involving one use of synonyms. 4. (persistence) implemented and works but does not make a backup file when updating. '''The rest of your file PartII.py should contain a version of the Linneus3 program that provides the implementation of the features according to your status comments. If necessary, additional updates and corrections will be posted here and mentioned in class or on GoPost. |