Author: Grzegorz J. Nalepa, based on the work with Antoni Ligęza
Version: Draft 2008Q3
The description of AL presented here is based on several papers, including
^
(v
; both the symbols have classical meaning and interpretation.=
directly.Maiden_Name
or The_Year_of_Last_Pregnancy
for a man is not applicable and hence it takes no value for all men.Phone_Number
=\emptyset means that the considered person has no phone number.NULL
values present in relational databases. A formula of the form Consider a set of n attributes A = A_1,A_2, …, A_n Any rule is assumed to be of the form:
where alpha_i is one of the admissible relational symbols in ALSV(FD),
and RHS is the right-hand side of the rule covering conclusion and perhaps the retract and assert definitions if necessary.
The current values of all the attributes are specified with the contents of the knowledge-base (including current sensor readings, measurements, inputs examination, etc.).
From logical point of view it is a formula of the form:
Eq: state-formula
where
for simple attributes and
for complex.
_
in Prolog).A=_
can be specified, meaning „any value”, „all possible values of the attribute”, „we don't care”A=NULL
, so we store NULL in stateA=NULL
=⇒ A=_
. Seems to be valid… This rules should be optionally disabled/enabled in the inference engine.