title: How best to store data for a chatbot?
body: <p>I was looking on the internet for <em>chatbots</em>. It was only fun. But now, I love this subject so much that I want to develop my own chatbot.<br>
  But the first thing is to look for a good way to manage the "brain" of my chatbot. I think that it's the best solution to save everything in a XML file, isn't it?<br>
  So the file type is clear. Comes to the relationship between different nouns etc. When I have a noun, e.g. a tree. How do I save best that a tree has leaves, branches and roots. And that a tree needs water and sunlight to survive?<br>
  Should I save it like that or otherwise?</p>
  
  <p>This would be my XML for this <em>tree</em>-example:</p>
  
  <pre><code>&lt;nouns&gt;
      &lt;noun id="noun_0"&gt;
          &lt;name&gt;tree&lt;/name&gt;
          &lt;relationship&gt;
              &lt;has&gt;noun_1&lt;/has&gt;
              &lt;has&gt;noun_2&lt;/has&gt;
              &lt;has&gt;noun_3&lt;/has&gt;
              &lt;need&gt;noun_4&lt;/need&gt;
              &lt;need&gt;noun_5&lt;/need&gt;
          &lt;/relationship&gt;
      &lt;/noun&gt;
      &lt;noun id="noun_1"&gt;
          &lt;name&gt;root&lt;/name&gt;
      &lt;/noun&gt;
      &lt;noun id="noun_2"&gt;
          &lt;name&gt;branch&lt;/name&gt;
          &lt;relationship&gt;
              &lt;has&gt;noun_3&lt;/has&gt;
          &lt;/relationship&gt;
      &lt;/noun&gt;
      &lt;noun id="noun_3"&gt;
          &lt;name&gt;leaf&lt;/name&gt;
      &lt;/noun&gt;
      &lt;noun id="noun_4"&gt;
          &lt;name&gt;water&lt;/name&gt;
      &lt;/noun&gt;
      &lt;noun id="noun_5"&gt;
          &lt;name&gt;light&lt;/name&gt;
      &lt;/noun&gt;
  
      . . .
  
  &lt;/nouns&gt;
  </code></pre>