AI-ExpertSystem-Simple

 view release on metacpan or  search on metacpan

examples/Animal.xml  view on Meta::CPAN

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE knowledgebase SYSTEM "sie-1.0.dtd">
<knowledgebase>
 <goal>
  <attribute>type.animal</attribute>
  <text>I think your animal is a type.animal</text>
 </goal>
 <rules>
  <rule>
   <name>1</name>
   <conditions>
    <condition>
     <attribute>backbone</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>superphylum</attribute>
     <value>backbone</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>2</name>
   <conditions>
    <condition>
     <attribute>backbone</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>superphylum</attribute>
     <value>jellyback</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>3</name>
   <conditions>
    <condition>
     <attribute>warm.blooded</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>superphylum</attribute>
     <value>backbone</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>phylum</attribute>
     <value>warm</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>4</name>
   <conditions>
    <condition>
     <attribute>warm.blooded</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>superphylum</attribute>
     <value>backbone</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>phylum</attribute>
     <value>cold</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>5</name>
   <conditions>
    <condition>
     <attribute>live.prime.in.soil</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>superphylum</attribute>
     <value>jellyback</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>phylum</attribute>
     <value>soil</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>6</name>
   <conditions>
    <condition>
     <attribute>live.prime.in.soil</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>superphylum</attribute>
     <value>jellyback</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>phylum</attribute>
     <value>elsewhere</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>7</name>
   <conditions>
    <condition>
     <attribute>has.breasts</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>phylum</attribute>
     <value>warm</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>class</attribute>
     <value>breasts</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>8</name>
   <conditions>
    <condition>
     <attribute>has.breasts</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>phylum</attribute>
     <value>warm</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>bird/penguin</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>9</name>
   <conditions>
    <condition>
     <attribute>always.in.water</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>phylum</attribute>
     <value>cold</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>class</attribute>
     <value>water</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>10</name>
   <conditions>
    <condition>
     <attribute>always.in.water</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>phylum</attribute>
     <value>cold</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>class</attribute>
     <value>dry</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>11</name>
   <conditions>
    <condition>
     <attribute>phylum</attribute>
     <value>soil</value>
    </condition>
    <condition>
     <attribute>flat.bodied</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>flatworm</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>12</name>
   <conditions>
    <condition>
     <attribute>phylum</attribute>
     <value>soil</value>
    </condition>
    <condition>
     <attribute>flat.bodied</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>worm/leech</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>13</name>
   <conditions>
    <condition>
     <attribute>phylum</attribute>
     <value>elsewhere</value>
    </condition>
    <condition>
     <attribute>body.in.segments</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>class</attribute>
     <value>segments</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>14</name>
   <conditions>
    <condition>
     <attribute>phylum</attribute>
     <value>elsewhere</value>
    </condition>
    <condition>
     <attribute>body.in.segments</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>class</attribute>
     <value>unified</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>15</name>
   <conditions>
    <condition>
     <attribute>can.eat.meat</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>class</attribute>
     <value>breasts</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>order</attribute>
     <value>meat</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>16</name>
   <conditions>
    <condition>
     <attribute>can.eat.meat</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>class</attribute>
     <value>breasts</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>order</attribute>
     <value>vegy</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>17</name>
   <conditions>
    <condition>
     <attribute>boney</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>class</attribute>
     <value>water</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>fish</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>18</name>
   <conditions>
    <condition>
     <attribute>boney</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>class</attribute>
     <value>water</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>shark/ray</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>19</name>
   <conditions>
    <condition>
     <attribute>class</attribute>
     <value>dry</value>
    </condition>
    <condition>
     <attribute>scally</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>order</attribute>
     <value>scales</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>20</name>
   <conditions>
    <condition>
     <attribute>class</attribute>
     <value>dry</value>
    </condition>
    <condition>
     <attribute>scally</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>order</attribute>
     <value>soft</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>21</name>
   <conditions>
    <condition>
     <attribute>class</attribute>
     <value>segments</value>
    </condition>
    <condition>
     <attribute>shell</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>order</attribute>
     <value>shell</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>22</name>
   <conditions>
    <condition>
     <attribute>class</attribute>
     <value>segments</value>
    </condition>
    <condition>
     <attribute>shell</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>centiped/milliped/insect</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>23</name>
   <conditions>
    <condition>
     <attribute>digest.cells</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>class</attribute>
     <value>unified</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>order</attribute>
     <value>cells</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>24</name>
   <conditions>
    <condition>
     <attribute>digest.cells</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>class</attribute>
     <value>unified</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>order</attribute>
     <value>stomach</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>25</name>
   <conditions>
    <condition>
     <attribute>fly</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>meat</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>bat</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>26</name>
   <conditions>
    <condition>
     <attribute>fly</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>meat</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>family</attribute>
     <value>nowings</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>27</name>
   <conditions>
    <condition>
     <attribute>hooves</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>vegy</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>family</attribute>
     <value>hooves</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>28</name>
   <conditions>
    <condition>
     <attribute>hooves</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>vegy</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>family</attribute>
     <value>feet</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>29</name>
   <conditions>
    <condition>
     <attribute>rounded.shell</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>scales</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>turtle</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>30</name>
   <conditions>
    <condition>
     <attribute>rounded.shell</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>scales</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>family</attribute>
     <value>noshell</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>31</name>
   <conditions>
    <condition>
     <attribute>jump</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>soft</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>frog</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>32</name>
   <conditions>
    <condition>
     <attribute>jump</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>soft</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>salamander</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>33</name>
   <conditions>
    <condition>
     <attribute>tail</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>shell</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>lobster</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>34</name>
   <conditions>
    <condition>
     <attribute>tail</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>shell</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>crab</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>35</name>
   <conditions>
    <condition>
     <attribute>stationary</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>cells</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>family</attribute>
     <value>stationary</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>36</name>
   <conditions>
    <condition>
     <attribute>stationary</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>cells</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>jellyfish</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>37</name>
   <conditions>
    <condition>
     <attribute>multicelled</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>stomach</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>family</attribute>
     <value>multicelled</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>38</name>
   <conditions>
    <condition>
     <attribute>multicelled</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>order</attribute>
     <value>stomach</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>protozoa</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>39</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>nowings</value>
    </condition>
    <condition>
     <attribute>opposing.thumb</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>genus</attribute>
     <value>thumb</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>40</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>nowings</value>
    </condition>
    <condition>
     <attribute>opposing.thumb</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>genus</attribute>
     <value>nothumb</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>41</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>hooves</value>
    </condition>
    <condition>
     <attribute>two.toes</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>genus</attribute>
     <value>twotoes</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>42</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>hooves</value>
    </condition>
    <condition>
     <attribute>two.toes</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>genus</attribute>
     <value>onetoe</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>43</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>feet</value>
    </condition>
    <condition>
     <attribute>live.in.water</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>genus</attribute>
     <value>water</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>44</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>feet</value>
    </condition>
    <condition>
     <attribute>live.in.water</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>genus</attribute>
     <value>dry</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>45</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>noshell</value>
    </condition>
    <condition>
     <attribute>limbs</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>crocodile/alligator</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>46</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>noshell</value>
    </condition>
    <condition>
     <attribute>limbs</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>snake</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>47</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>stationary</value>
    </condition>
    <condition>
     <attribute>spikes</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>sea.anemone</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>48</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>stationary</value>
    </condition>
    <condition>
     <attribute>spikes</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>coral/sponge</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>49</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>multicelled</value>
    </condition>
    <condition>
     <attribute>spiral.shell</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>snail</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>50</name>
   <conditions>
    <condition>
     <attribute>family</attribute>
     <value>multicelled</value>
    </condition>
    <condition>
     <attribute>spiral.shell</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>genus</attribute>
     <value>noshell</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>51</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>thumb</value>
    </condition>
    <condition>
     <attribute>prehensile.tail</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>monkey</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>52</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>thumb</value>
    </condition>
    <condition>
     <attribute>prehensile.tail</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>species</attribute>
     <value>notail</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>53</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>nothumb</value>
    </condition>
    <condition>
     <attribute>over.400</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>species</attribute>
     <value>400</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>54</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>nothumb</value>
    </condition>
    <condition>
     <attribute>over.400</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>species</attribute>
     <value>under400</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>55</name>
   <conditions>
    <condition>
     <attribute>horns</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>genus</attribute>
     <value>twotoes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>species</attribute>
     <value>horns</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>56</name>
   <conditions>
    <condition>
     <attribute>horns</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>genus</attribute>
     <value>twotoes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>species</attribute>
     <value>nohorns</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>57</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>onetoe</value>
    </condition>
    <condition>
     <attribute>plating</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>rhinoceros</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>58</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>onetoe</value>
    </condition>
    <condition>
     <attribute>plating</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>horse/zebra</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>59</name>
   <conditions>
    <condition>
     <attribute>hunted</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>genus</attribute>
     <value>water</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>whale</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>60</name>
   <conditions>
    <condition>
     <attribute>hunted</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>genus</attribute>
     <value>water</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>dolphin/porpoise</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>61</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>dry</value>
    </condition>
    <condition>
     <attribute>front.teeth</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>species</attribute>
     <value>teeth</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>62</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>dry</value>
    </condition>
    <condition>
     <attribute>front.teeth</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>species</attribute>
     <value>noteeth</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>63</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>noshell</value>
    </condition>
    <condition>
     <attribute>bivalve</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>clam/oyster</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>64</name>
   <conditions>
    <condition>
     <attribute>genus</attribute>
     <value>noshell</value>
    </condition>
    <condition>
     <attribute>bivalve</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>squid/octopus</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>65</name>
   <conditions>
    <condition>
     <attribute>nearly.hairless</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>notail</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>man</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>66</name>
   <conditions>
    <condition>
     <attribute>nearly.hairless</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>notail</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>subspecies</attribute>
     <value>hair</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>67</name>
   <conditions>
    <condition>
     <attribute>species</attribute>
     <value>400</value>
    </condition>
    <condition>
     <attribute>land.based</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>bear/tiger/lion</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>68</name>
   <conditions>
    <condition>
     <attribute>species</attribute>
     <value>400</value>
    </condition>
    <condition>
     <attribute>land.based</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>walrus</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>69</name>
   <conditions>
    <condition>
     <attribute>thintail</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>under400</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>cat</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>70</name>
   <conditions>
    <condition>
     <attribute>thintail</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>under400</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>coyote/wolf/fox/dog</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>71</name>
   <conditions>
    <condition>
     <attribute>one.horn</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>horns</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>hippopotamus</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>72</name>
   <conditions>
    <condition>
     <attribute>one.horn</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>horns</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>subspecies</attribute>
     <value>nohorn</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>73</name>
   <conditions>
    <condition>
     <attribute>lives.in.desert</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>nohorns</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>camel</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>74</name>
   <conditions>
    <condition>
     <attribute>lives.in.desert</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>nohorns</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>giraffe</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>75</name>
   <conditions>
    <condition>
     <attribute>large.ears</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>teeth</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>rabbit</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>76</name>
   <conditions>
    <condition>
     <attribute>large.ears</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>teeth</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>rat/mouse/squirrel/beaver/porcupine</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>77</name>
   <conditions>
    <condition>
     <attribute>pouch</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>noteeth</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>kangaroo/koala.bear</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>78</name>
   <conditions>
    <condition>
     <attribute>pouch</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>species</attribute>
     <value>noteeth</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>mole/shrew/elephant</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>79</name>
   <conditions>
    <condition>
     <attribute>long.powerful.arms</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>subspecies</attribute>
     <value>hair</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>orangutan/gorilla/chimpanzie</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>80</name>
   <conditions>
    <condition>
     <attribute>long.powerful.arms</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>subspecies</attribute>
     <value>hair</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>baboon</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>81</name>
   <conditions>
    <condition>
     <attribute>fleece</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>subspecies</attribute>
     <value>nohorn</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>sheep/goat</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>82</name>
   <conditions>
    <condition>
     <attribute>fleece</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>subspecies</attribute>
     <value>nohorn</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>subsubspecies</attribute>
     <value>nofleece</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>83</name>
   <conditions>
    <condition>
     <attribute>domesticated</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>subsubspecies</attribute>
     <value>nofleece</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>cow</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>84</name>
   <conditions>
    <condition>
     <attribute>domesticated</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>subsubspecies</attribute>
     <value>nofleece</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.animal</attribute>
     <value>deer/moose/antelope</value>
    </action>
   </actions>
  </rule>
 </rules>
 <questions>
  <question>
   <attribute>long.powerful.arms</attribute>
   <text>Does your animal have long, powerful arms?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>lives.in.desert</attribute>
   <text>Does your animal normally live in the desert?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>thintail</attribute>
   <text>Does your animal have a thin tail?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>bivalve</attribute>
   <text>Is your animal protected by two half-shells?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>hunted</attribute>
   <text>Is your animal, unfortunately, commercially hunted?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>jump</attribute>
   <text>Does your animal jump?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>hooves</attribute>
   <text>Does your animal have hooves?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>always.in.water</attribute>
   <text>Is your animal always in water?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>horns</attribute>
   <text>Does your animal have horns?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>two.toes</attribute>
   <text>Does your animal stand on two toes/hooves per foot?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>flat.bodied</attribute>
   <text>Does your animal have a flat body?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>live.prime.in.soil</attribute>
   <text>Does your animal live primarily in soil?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>domesticated</attribute>
   <text>Is your animal domesticated?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>pouch</attribute>
   <text>Does your animal have a pouch?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>over.400</attribute>
   <text>Does an adult normally weigh over 400 pounds?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>opposing.thumb</attribute>
   <text>Does your animal have an opposing thumb?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>can.eat.meat</attribute>
   <text>Does your animal eat red meat?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>warm.blooded</attribute>
   <text>Is the animal warm blooded?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>limbs</attribute>
   <text>Does your animal have limbs?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>body.in.segments</attribute>
   <text>Is the animals body in segments?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>has.breasts</attribute>
   <text>Normally, does the female of your animal nurse its young with milk?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>fleece</attribute>
   <text>Does your animal have fleece?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>nearly.hairless</attribute>
   <text>Is your animal nearly hairless?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>prehensile.tail</attribute>
   <text>Does your animal have a prehensile tail?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>rounded.shell</attribute>
   <text>Does the animal have a rounded shell?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>scally</attribute>
   <text>Is your animal covered with scaled skin?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>boney</attribute>
   <text>Does your animal have a boney skeleton?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>large.ears</attribute>
   <text>Does your animal have large ears?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>one.horn</attribute>
   <text>Does your animal have one horn?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>land.based</attribute>
   <text>Is your animal land based?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>plating</attribute>
   <text>Is your animal covered with a protective plating?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>tail</attribute>
   <text>Does your animal have a tail?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>backbone</attribute>
   <text>Does your animal have a backbone?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>front.teeth</attribute>
   <text>Does your animal have large front teeth?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>multicelled</attribute>
   <text>Is your animal made up of more than one cell?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>stationary</attribute>
   <text>Is your animal attached permanently to an object?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>fly</attribute>
   <text>Can your animal fly?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>spiral.shell</attribute>
   <text>Does your animal have a spiral-shaped shell?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>spikes</attribute>
   <text>Does your animal normally have spikes radiating from it's body?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>live.in.water</attribute>
   <text>Does your animal live in water?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>digest.cells</attribute>
   <text>Does your animal use many cells to digest it's food instead of a stomach?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>shell</attribute>
   <text>Does your animal have a shell?</text>
   <response>yes</response>
   <response>no</response>
  </question>
 </questions>
</knowledgebase>



( run in 0.255 second using v1.01-cache-2.11-cpan-4d50c553e7e )