%----------------------------------------------------------------------------- % Rules %----------------------------------------------------------------------------- rule mammal_1 if the body_covering of Creature is hair then the animal_class of Creature is mammal; rule mammal_2 if the feeds_young_on of Creature is milk then the animal_class of Creature is mammal; rule bird_1 if the body_covering of Creature is feathers then the animal_class of Creature is bird; rule bird_2 if the motion of Creature is flies and the reproduction of Creature is eggs then the animal_class of Creature is bird; rule feeding_type_1 if the animal_class of Creature is mammal and the food of Creature is meat then the feeding_type of Creature is carnivore; rule feeding_type_2 if the animal_class of Creature is mammal and the teeth of Creature is pointed and the feet of Creature is claws and the eyes of Creature is point_forward then the feeding_type of Creature is carnivore; rule feeding_type_3 if the animal_class of Creature is mammal and the food of Creature is grass then the feeding_type of Creature is ungulate; rule feeding_type_4 if the animal_class of Creature is mammal and the feet of Creature is hoofs then the feeding_type of Creature is ungulate; rule species_1 if the feeding_type of Creature is carnivore and the colour of Creature is tawny and the marking of Creature is dark_spots then the species of Creature is cheetah; rule species_2 if the feeding_type of Creature is carnivore and the colour of Creature is tawny and the marking of Creature is black_stripes then the species of Creature is tiger; rule species_3 if the feeding_type of Creature is ungulate and the colour of Creature is tawny and the marking of Creature is dark_spots and the legs_and_neck of Creature is long then the species of Creature is giraffe; rule species_4 if the feeding_type of Creature is ungulate and the colour of Creature is black_and_white then the species of Creature is zebra; rule species_5 if the animal_class of Creature is bird and the motion of Creature is walks and the colour of Creature is black_and_white and the legs_and_neck of Creature is long then the species of Creature is ostrich; rule species_6 if the animal_class of Creature is bird and the motion of Creature is swims and the colour of Creature is black_and_white then the species of Creature is penguin; rule species_7 if the animal_class of Creature is bird and the motion of Creature is flies then the species of Creature is albatross; %----------------------------------------------------------------------------- % Prompts %----------------------------------------------------------------------------- askable colour 'what is the colour (black_and_white,tawny,other,unknown)? '; askable body_covering 'what is the body_covering (hair,feathers,other,unknown)? '; askable feeds_young_on 'what does it feed its young on (milk,other,unknown)? '; askable reproduction 'how does it reproduce (eggs,live_birth,unknown)? '; askable motion 'how does it move (flies,swims,walks,other,unknown)? '; askable food 'what does it eat (grass,meat,other,unknown)? '; askable marking 'describe its markings (black_stripes,dark_spots,other)? '; askable legs_and_neck 'describe its legs and neck (long,other,unknown)? '; askable teeth 'describe its teeth (pointed,blunt,unknown)? '; askable feet 'describe its feet (claws,hoofs,other,unknown)? '; askable eyes 'describe its eyes (point_forward,other,unknown)? '; %----------------------------------------------------------------------------- % Facts %----------------------------------------------------------------------------- the body_covering of joe is hair; the food of joe is grass; the colour of joe is black_and_white;