![]() |
The use of composable relations enables the knowledge base to cover as many combinations of the phenomena that may affect a relation as possible, by representing each phenomenon individually rather than precompiling everything together. Because only the component parts (i.e. the composable relations) of relations need to be represented, instead of all possible, and however complex, combinations of them, the knowledge base can be smaller and more effective. This section describes how such composable relations are represented in the knowledge base, as well as whether and how they can be composed to form compounded relations.
Composable relations are those containing composable functors and for which a method of composition exists (that describes how a complete set of composable relations can be composed). The composable functors employed are those proposed by Bobrow et al. [3] with a new addition: composable selection. A summary of such composable relations is presented in table 2.
The composable relations introduced by Bobrow et al.
[3] are easy to understand. The formulae
in
and
represent terms (respectively
and
) of a sum, and the formulae
in
and
represent factors (respectively
and
)
of a product.
However, ecological models in use typically contain selection statements which declare that one certain equation must be employed when a condition is satisfied and some other one otherwise. Formally, a selection is a relation of the form
![]() |
To illustrate this notation, the selection relation (8) can be composed from the following composable relations:
![]() |
To combine the composable relations, a number of rules are defined to implement the semantics of the representational formalism. In theory, a set of rules can be generated that enables the aggregation of any set of composable relations. In practice, however, a trade-off must be made between flexibility (the ability to combine many different types of composable relation) and comprehensibility (the use of a set of rules that is easily understood by the knowledge engineer who employs composable relations). Thus, the types of composable relations that can be combined has to be restricted.
Table 3 summarises what composable relations can
be joined to form compounded relations. The principle guiding the
construction of this table is to allow only the composition of
relations of certain types for which a resulting compound relation is
intuitively obvious. For example, according to Table
3, a composable addition relation can
be combined with a composable subtraction relation
because
their combination is clearly
. However, according to Table
3, a composable addition relation
can
not be combined with a composable multiplication relation
, because an arbitrary and non-intuitive rule would
otherwise have to be defined to decide whether the compound relation
would be
or
.
The order in which the composable
selections must be considered is defined by the priorities (or is
implicit in the case of
). Therefore, composable
selections can be combined with one another provided no two composable
``if'' relations have the same priority.
In order to derive the actual rules of composition, the sets of all
composable relations with the same functor for a given model
are defined first:
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
From this, the rules of composition can be built as given in the
expressions (9),
(10) and (11).
They jointly state how a given set of composable relations can be
rewritten as a single compound relation. Each of these rules contains
a complete set of all composable relations in the antecedent. In
particular, the antecedent of rule (9)
contains the set of all composable addition and subtraction relations
with the same participant in the left-hand side.
Similarly, the antecedent rule (10)
contains the complete set of composable multiplication relations.
Finally, the antecedent of rule (11) is
satisfied for the complete set of composable if and else relations
with the same left-hand participant , provided that the priorities
are strictly ordered (i.e. no two priorities are equal) and that there
is only a single composable else relation. The latter two conditions
are added because two composable if relations with the same priority
or two composable else relations can not be compounded. The
consequents of the rules of composition explain how these complete
sets of composable relations can be joined. This is simply a matter
of applying the appropriate mathematical operation to the provided
terms.