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].


!Defining the package

As before, we add this page to the package {{japan}}

%%Package japan


!Adding knowledge

Lets calculate our remaining life expectancy based on our age


!Compiling and testing the resulting knowledge base

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

%%KnowledgeBase 
Life expectancy calculator (Japan)

@uses: lifeExpectancy
@uses: japan
%