Historically, knowledge bases (e.g. think of basic prolog or ontologies) are
more "static" and contain both facts and rules. Maybe it would be more
appropriate to think of those facts as "initial" rather than "global".
In fact, you can write a rule :
rule "Init"
when
then
insert( new X(..) );
insert( new Y(..) );
end
I think it could be desirable to support a more compact syntax, e.g.
declare fact X( val1, val2, ... )
or maybe, more mvel-like:
declare fact X().{ field=val, ... }
As always, open to discussion on feature requests :)
Davide
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-Help-tp4018290p4018303.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.