Download HW-02 due 01/28

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
CmSc310 Artificial Intelligence
Homework 02
1. Represent the frame description for the elephant family as a semantic net.
Mammal
subclass:
Animal
warm_blooded: yes
Elephant
subclass:
* colour:
* size:
Mammal
grey
large
Clyde
instance:
colour:
owner:
Nellie
instance:
size:
Elephant
small
Elephant
pink
Fred
2. Represent the following as a semantic net.
"Herbert is a small hippopotamus who lives in Edinburgh zoo. Like all
hippopotamuses he eats grass and likes swimming".
Represent the same facts as frames
3.
Write rules for the following relations
uncle(X,Y) - X is an uncle of Y
aunt(X,Y) - X is an aunt of Y
nephew(X,Y) - X is a nephew of Y
niece(X,Y) - X is a niece of Y.
Include the rules in the family program, test them and make them run.
What to turn in:
 A Word file containing:
a. The semantic net for problem 1
b. The semantic net for problem 2
c. The frame representation for problem 2
Note: Please, write your name and the number of the assignment at the top of the
document

The Prolog program (.pro file) for problem 3
Note: Please, write your name in comments at the beginning of the program.
1
Related documents