This is a basic demo about how to use and compile multiple packages into the same knowledge base. The basic scenario is described here. The common package and more specifics for this demo are described here.

Defining the package#

As before, we add this page to the package japan

japan

Adding knowledge#

Lets calculate our remaining life expectancy based on our age

Constant
Life expectancy in Japan = 87
Variable
"Years to life according to life expectancy"
=

Compiling and testing the resulting knowledge base#

Here defining a knowledge base using/compiling our two packages:

Life expectancy calculator (Japan)
lifeExpectancy
japan