AI-ExpertSystem-Simple
view release on metacpan - search on metacpan
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>
view all matches for this distributionview release on metacpan - search on metacpan
( run in 2.468 seconds using v1.00-cache-2.02-grep-82fe00e-cpan-f5108d614456 )