To test it, add some values in the interview questionnaire below.
Interview#
Solutions#
The Knowledge Base#
In this part of the article, the knowledge base for this demo is defined.
Terminology#
We first define what questions can be asked and solutions can be derived in this demo.
We also define german question texts.
Height
Weight
bmi
Underweight
Normal weight
Overweight
Severe overweight
Severe overweight
Knowledge#
Here we define how the BMI is calculated and the solutions are derived.
The BMI is calculated using DiaFlux models, where first the "Height" and "Weight" is asked to the user.
Then, the value of the abstraction "bmi" is derived, when values for the aforementioned questions are known.
Final solutions are derived depending on the result of the calculated value of "bmi".
Definition of Knowledge Base#
Here we follow with some basic stuff that is needed to tell the system, that we have a knowledge base here.