This page (revision-39) was last changed on 01-Apr-2020 01:46 by albrecht.striffler

This page was created on 31-Oct-2012 12:40 by Joachim Baumeister

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
39 01-Apr-2020 01:46 4 KB albrecht.striffler to previous
38 22-Feb-2017 17:52 4 KB Albrecht Striffler to previous | to last
37 29-Apr-2016 15:52 4 KB Albrecht Striffler to previous | to last
36 29-Apr-2016 15:52 4 KB Albrecht Striffler to previous | to last
35 29-Apr-2016 15:51 4 KB Albrecht Striffler to previous | to last
34 29-Apr-2016 15:47 4 KB Albrecht Striffler to previous | to last
33 29-Apr-2016 15:44 4 KB Albrecht Striffler to previous | to last
32 29-Apr-2016 15:42 4 KB Albrecht Striffler to previous | to last
31 29-Apr-2016 15:40 4 KB Albrecht Striffler to previous | to last
30 29-Apr-2016 15:30 3 KB Volker Belli to previous | to last
29 17-Sep-2015 15:50 3 KB Albrecht Striffler to previous | to last
28 17-Sep-2015 15:50 3 KB Albrecht Striffler to previous | to last
27 17-Sep-2015 15:50 3 KB Albrecht Striffler to previous | to last
26 17-Sep-2015 15:49 3 KB Albrecht Striffler to previous | to last
25 17-Sep-2015 15:49 3 KB Albrecht Striffler to previous | to last
24 17-Sep-2015 15:47 3 KB Albrecht Striffler to previous | to last
23 17-Sep-2015 15:47 3 KB Albrecht Striffler to previous | to last
22 17-Sep-2015 15:46 3 KB Albrecht Striffler to previous | to last
21 19-Jun-2015 13:31 3 KB Albrecht Striffler to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 added 2 lines
\\
To test it, add some values in the interview questionnaire below.
At line 4 removed 3 lines
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".
At line 10 changed one line
[{KnowWEPlugin quickInterview}]
%%QuickInterview
%
At line 12 added one line
At line 14 added one line
At line 14 changed 3 lines
@master: Body-Mass-Index
@show_abstractions: true
@show_digits: 2
@show_abstractions: true
At line 19 added one line
At line 24 added one line
At line 27 added 2 lines
We first define __what__ questions can be asked and solutions can be derived in this demo.
At line 26 changed one line
Startquestionaire #1
Start questionaire #1
At line 37 changed one line
- Heavy overweight
- Severe overweight
At line 44 added 26 lines
We also define german question and solution texts. This is optional. If no texts are given for a certain language, the original name is shown.
%%Property
Height.prompt.de = Wie groß sind Sie?
Weight.prompt.de = Wie schwer sind Sie?
bmi.prompt.de = Ihr Body Mass Index
Underweight.prompt.de = Untergewicht
Normal weight.prompt.de = Normalgewicht
Overweight.prompt.de = Übergewicht
Severe overweight.prompt.de = Starkes Übergewicht
Severe overweight.description.de = Ihr BMI ist größer 35. Sie sollten dringend abnehmen.
%
!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".
At line 41 changed one line
<flowchart fcid="flow_26ef012e" name="Main" icon="sanduhr.gif" width="623" height="397" autostart="true" idCounter="19">
<flowchart fcid="flow_26ef012e" name="Main" icon="sanduhr.gif" width="789" height="262" autostart="true" idCounter="21">
At line 45 changed 2 lines
<position left="35" top="150"></position>
<action markup="KnOffice">Height</action>
<position left="20" top="89"></position>
<action markup="KnOffice"><![CDATA[Height]]></action>
At line 50 changed 2 lines
<position left="190" top="150"></position>
<action markup="KnOffice">Weight</action>
<position left="175" top="89"></position>
<action markup="KnOffice"><![CDATA[Weight]]></action>
At line 55 changed one line
<position left="47" top="81"></position>
<position left="32" top="20"></position>
At line 60 changed 2 lines
<position left="322" top="150"></position>
<action markup="KnOffice">"bmi" = ((Weight / (Height*Height)))</action>
<position left="327" top="89"></position>
<action markup="KnOffice"><![CDATA["bmi" = ((Weight / (Height*Height)))]]></action>
At line 65 changed 2 lines
<position left="168" top="272"></position>
<action markup="KnOffice">"Underweight" = P7</action>
<position left="173" top="211"></position>
<action markup="KnOffice"><![CDATA["Underweight" = P7]]></action>
At line 70 changed 2 lines
<position left="326" top="272"></position>
<action markup="KnOffice">"Normal weight" = P7</action>
<position left="331" top="211"></position>
<action markup="KnOffice"><![CDATA["Normal weight" = P7]]></action>
At line 75 changed 2 lines
<position left="475" top="272"></position>
<action markup="KnOffice">"Overweight" = P7</action>
<position left="480" top="211"></position>
<action markup="KnOffice"><![CDATA["Overweight" = P7]]></action>
At line 109 added 4 lines
<node fcid="#node_20">
<position left="635" top="211"></position>
<action markup="KnOffice"><![CDATA["Severe overweight" = P7]]></action>
</node>
At line 114 added one line
At line 84 changed one line
<guard markup="KnOffice">"Height" > 0</guard>
<guard markup="KnOffice"><![CDATA["Height" > 0]]></guard>
At line 95 changed one line
<guard markup="KnOffice">KNOWN["Weight"]</guard>
<guard markup="KnOffice"><![CDATA[KNOWN["Weight"]]]></guard>
At line 101 changed one line
<guard markup="KnOffice">"bmi" < 18.5</guard>
<guard markup="KnOffice"><![CDATA["bmi" < 18.5]]></guard>
At line 107 changed one line
<guard markup="KnOffice">"bmi" >= 18.5 AND "bmi" <= 25</guard>
<guard markup="KnOffice"><![CDATA["bmi" >= 18.5 AND "bmi" <= 25]]></guard>
At line 113 changed one line
<guard markup="KnOffice">"bmi" > 25</guard>
<guard markup="KnOffice"><![CDATA["bmi" > 25 AND "bmi" <= 35]]></guard>
At line 150 added 7 lines
<edge fcid="#rule_21">
<origin>#node_7</origin>
<target>#node_20</target>
<guard markup="KnOffice"><![CDATA["bmi" > 35]]></guard>
</edge>
At line 159 added one line
At line 162 added 5 lines
!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. Using the menu that expands when hovering over the small book icon on the right, you can also export the knowledge base as a .d3web-file to load and run it in your own application (click ''Download''), or start a one-choice-dialog for this demo (click ''Run Interview'').
At line 171 added one line
At line 173 added one line