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 removed 2 lines
\\
To test it, add some values in the interview questionnaire below.
At line 4 added 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 9 changed 2 lines
%%QuickInterview
%
[{KnowWEPlugin quickInterview}]
At line 12 removed one line
At line 14 removed one line
At line 16 changed one line
@show_abstractions: true
@master: Body-Mass-Index
@show_abstractions: true
@show_digits: 2
At line 19 removed one line
At line 24 removed one line
At line 26 removed one line
At line 30 changed one line
Start questionaire #1
Startquestionaire #1
At line 41 changed one line
- Severe overweight
- Heavy overweight
At line 44 removed 17 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.
%
At line 42 added one line
Here we define __how__ the BMI is calculated and the solutions are derived.
At line 63 removed 7 lines
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 71 changed one line
<flowchart fcid="flow_26ef012e" name="Main" icon="sanduhr.gif" width="789" height="262" autostart="true" idCounter="21">
<flowchart fcid="flow_26ef012e" name="Main" icon="sanduhr.gif" width="623" height="397" autostart="true" idCounter="19">
At line 75 changed 2 lines
<position left="20" top="89"></position>
<action markup="KnOffice"><![CDATA[Height]]></action>
<position left="35" top="150"></position>
<action markup="KnOffice">Height</action>
At line 80 changed 2 lines
<position left="175" top="89"></position>
<action markup="KnOffice"><![CDATA[Weight]]></action>
<position left="190" top="150"></position>
<action markup="KnOffice">Weight</action>
At line 85 changed one line
<position left="32" top="20"></position>
<position left="47" top="81"></position>
At line 90 changed 2 lines
<position left="327" top="89"></position>
<action markup="KnOffice"><![CDATA["bmi" = ((Weight / (Height*Height)))]]></action>
<position left="322" top="150"></position>
<action markup="KnOffice">"bmi" = ((Weight / (Height*Height)))</action>
At line 95 changed 2 lines
<position left="173" top="211"></position>
<action markup="KnOffice"><![CDATA["Underweight" = P7]]></action>
<position left="168" top="272"></position>
<action markup="KnOffice">"Underweight" = P7</action>
At line 100 changed 2 lines
<position left="331" top="211"></position>
<action markup="KnOffice"><![CDATA["Normal weight" = P7]]></action>
<position left="326" top="272"></position>
<action markup="KnOffice">"Normal weight" = P7</action>
At line 105 changed 2 lines
<position left="480" top="211"></position>
<action markup="KnOffice"><![CDATA["Overweight" = P7]]></action>
<position left="475" top="272"></position>
<action markup="KnOffice">"Overweight" = P7</action>
At line 109 removed 4 lines
<node fcid="#node_20">
<position left="635" top="211"></position>
<action markup="KnOffice"><![CDATA["Severe overweight" = P7]]></action>
</node>
At line 114 removed one line
At line 119 changed one line
<guard markup="KnOffice"><![CDATA["Height" > 0]]></guard>
<guard markup="KnOffice">"Height" > 0</guard>
At line 130 changed one line
<guard markup="KnOffice"><![CDATA[KNOWN["Weight"]]]></guard>
<guard markup="KnOffice">KNOWN["Weight"]</guard>
At line 136 changed one line
<guard markup="KnOffice"><![CDATA["bmi" < 18.5]]></guard>
<guard markup="KnOffice">"bmi" < 18.5</guard>
At line 142 changed one line
<guard markup="KnOffice"><![CDATA["bmi" >= 18.5 AND "bmi" <= 25]]></guard>
<guard markup="KnOffice">"bmi" >= 18.5 AND "bmi" <= 25</guard>
At line 148 changed one line
<guard markup="KnOffice"><![CDATA["bmi" > 25 AND "bmi" <= 35]]></guard>
<guard markup="KnOffice">"bmi" > 25</guard>
At line 150 removed 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 removed one line
At line 123 added one line
Here we follow with some basic stuff that is needed to tell the system, that we have a knowledge base here.
At line 163 removed 4 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 removed one line
At line 173 removed one line