AI-ExpertSystem-Simple

 view release on metacpan or  search on metacpan

examples/Glass.xml  view on Meta::CPAN

    </condition>
    <condition>
     <attribute>candlewick</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>candlewick</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>21</name>
   <conditions>
    <condition>
     <attribute>rays</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>plain</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>decagon</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>decagon</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>22</name>
   <conditions>
    <condition>
     <attribute>rays</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>plain</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>empress</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>empress</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>23</name>
   <conditions>
    <condition>
     <attribute>rays</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>plain</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>lariat</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>lariat</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>24</name>
   <conditions>
    <condition>
     <attribute>rays</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>plain</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>octagon</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>octagon</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>25</name>
   <conditions>

examples/Glass.xml  view on Meta::CPAN

     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>fairfax</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>26</name>
   <conditions>
    <condition>
     <attribute>ruby</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>rays</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>plain</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>royal.ruby</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>27</name>
   <conditions>
    <condition>
     <attribute>rays</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>plain</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>no</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>forest.green</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>28</name>
   <conditions>
    <condition>
     <attribute>fuchsia</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>emblem</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>fuchsia</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>29</name>
   <conditions>
    <condition>
     <attribute>emblem</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>large.rose</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>rose</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>30</name>
   <conditions>
    <condition>
     <attribute>orchid</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>emblem</attribute>
     <value>no</value>
    </condition>

examples/Glass.xml  view on Meta::CPAN

    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>cupid</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>34</name>
   <conditions>
    <condition>
     <attribute>rose.in.emblem</attribute>
     <value>no</value>
    </condition>
    <condition>
     <attribute>emblem</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>cherokee.rose</value>
    </action>
   </actions>
  </rule>
  <rule>
   <name>35</name>
   <conditions>
    <condition>
     <attribute>rose.in.emblem</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>emblem</attribute>
     <value>yes</value>
    </condition>
    <condition>
     <attribute>etched</attribute>
     <value>yes</value>
    </condition>
   </conditions>
   <actions>
    <action>
     <attribute>type.glass</attribute>
     <value>rose.point</value>
    </action>
   </actions>
  </rule>
 </rules>
 <questions>
  <question>
   <attribute>lariat</attribute>
   <text>Does the piece have a looped rim?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>cherry.blossom</attribute>
   <text>Are there small cherries in the pattern?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>pretzel</attribute>
   <text>Does the glass have a laced pattern?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>moonstone</attribute>
   <text>Is the glass beaded with a white edge?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>fuchsia</attribute>
   <text>Are there Fuchsia, or hanging flowers with stems in them, in the glass?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>etched</attribute>
   <text>Is the glass etched? (versus pressed)</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>empress</attribute>
   <text>Does the rim look as though there are knotches?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>waterford</attribute>
   <text>Does the glass have a laced pattern?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>rays</attribute>
   <text>Are there 'rays' starting in the center of the piece moving toward the edge?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>geometric</attribute>
   <text>Is there a geometric pattern in the glass?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>fire.king</attribute>
   <text>Are flowers missing from the pattern?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>emblem</attribute>
   <text>Does the glass bear an emblem?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>plain</attribute>
   <text>Is the glass basically without a pattern?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>octagon</attribute>
   <text>Is the glass eight sided?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>iris</attribute>
   <text>Does the glass have iris flowers?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>cupid</attribute>
   <text>Is there a cupid figure in the emblem?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>decagon</attribute>
   <text>Is the glass ten sided?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>candlewick</attribute>
   <text>Does the glass have balls around the rim?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>avocado</attribute>
   <text>Are there two avocado plants present (looks like two pears)?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>sunflower</attribute>
   <text>Are there sunflowers in the pattern?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>pineapple</attribute>
   <text>Are there images of pineapples in the glass?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>orchid</attribute>
   <text>Are there orchids in the glass?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>lace.edge</attribute>
   <text>Does the piece have a flat rim with holes, giving a lacey apperance?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>alice</attribute>
   <text>Are there small flowers only around the rim of the piece?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>ruby</attribute>
   <text>Is the piece a deep ruby red in color?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>rose.in.emblem</attribute>
   <text>Is there a rose in the emblem?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>square</attribute>
   <text>Does the glass have a square pattern?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>sharon</attribute>
   <text>Are there six 'spokes' in the piece?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>large.rose</attribute>
   <text>Are there large roses in the glass?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>cube</attribute>
   <text>Does the glass have a cubed pattern?</text>
   <response>yes</response>
   <response>no</response>
  </question>
  <question>
   <attribute>bead.block</attribute>
   <text>Does the glass have squares with beads connecting the squares?</text>
   <response>yes</response>
   <response>no</response>
  </question>
 </questions>
</knowledgebase>



( run in 0.628 second using v1.01-cache-2.11-cpan-39bf76dae61 )