title: How can i use loop in aiml pandorabots for countries population?
body: <p>i am creating a chat bot with aiml in pandorabots who knows the population of all countries and cities .
  How can i ask the chat bot &quot;tell me the 10 countries with the largest population&quot;?</p>
  <p>I have created a map file with the countries and the population but i don't understand how to read questions like &quot;tell me 20(or 52,or any number countries with the largest/smallest population&quot;)
  <a href="https://i.stack.imgur.com/8gUuX.png" rel="nofollow noreferrer">https://i.stack.imgur.com/8gUuX.png</a></p>