title: artificial intelligence and expert systems
body: <p>I started building my expert system from generating decision tree like this: 
  decision tree: <a href="http://obrazki.elektroda.pl/6125718100_1336340563.png" rel="nofollow">http://obrazki.elektroda.pl/6125718100_1336340563.png</a></p>
  
  <p>I used PC-Shell to build expert system,  main code looks like:</p>
  
  <pre><code>result=e IF a&gt;20, b=yes;
  result=f IF a&gt;20, b=no;
  result=c IF a==20;
  result=g IF a&lt;20, d="is dry"; 
  </code></pre>
  
  <p>etc...</p>
  
  <p>So where is artificial intelligence in this?
  Doesn't it works like text based game where you answers and in the end you've got result?
  And how in this example will work inference (forward and backward)?</p>