Enter rules for the expert system in the entry area below, and then click on "Run ES" to see the results. Rules have a very strict syntax. All input must be in the form of questions and associated answers. All questions must be preceded by an identifier within square brackets. All answers must be preceded by an identifier in curly braces and followed by an identifier in angle brackets. The identifier in angle brackets following an answer indicates which question will be asked next. The expert system automatically starts with the question having the identifier "init". Final answers are written as questions having no associated answers.
This is a somewhat complicated syntax to explain and it may be best to study a simple set of questions and answers to see how this schema works. You can use the rules at esdb3.txt for both study and as input to this program. They define an expert system which can guess which integer you picked between one and ten.
Run ES
Enter question database below: