This page (revision-22) was last changed on 09-May-2015 00:33 by Albrecht Striffler

This page was created on 09-May-2015 00:06 by unknown

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
22 09-May-2015 00:33 1 KB Albrecht Striffler to previous
21 09-May-2015 00:32 1 KB Albrecht Striffler to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed 4 lines
This is a basic demo about how to use and compile multiple packages into the same knowledge base. The basic scenario is described [here|Doc Package#Using multiple Packages for the same knowledge base or ontology]. The common package {{lifeExpectancy}} and more specifics for this demo are described [here|Multi-Package Demo].
\\
\\
To see the source code of this page, go to the drop down "''More...''" and select "''View Page Source''".
This is a basic demo about how to use and compile multiple packages into the same knowledge base. The basic scenario is described [here|Doc Package#Using multiple Packages for the same knowledge base or ontology]. The common package and more specifics for this demo are described [here|Multi-Package Demo].
At line 9 changed one line
As mentioned, we add this page to the package {{japan}}
As before, we add this page to the package {{japan}}
At line 16 changed one line
First we define the current life expectancy in japan using the {{~%~%Constant}} markup.
Lets calculate our remaining life expectancy based on our age
At line 18 removed 3 lines
%%Constant
"Life expectancy in Japan" = 87
%
At line 22 removed 7 lines
Let's calculate our remaining life expectancy based on our age using the {{~%~%Variable}} markup.
%%Variable
"Years to life according to life expectancy" = "Life expectancy in Japan" - Age
%
At line 31 changed one line
Here we define the knowledge base using/compiling two of our three packages:
Here defining a knowledge base using/compiling our two packages:
At line 39 removed 9 lines
!Quick Interview
If not specified otherwise (by using the @package annotation), the {{ ~%~%QuickInterview }} markup will show the content of the first knowledge base, which uses/compiles the package of this page, in this case package {{japan}}.
%%QuickInterview
%