Search Mailing List Archives
[protege-owl] How to determine the execution sequence of swrl rules?
tredmond at stanford.edu
Wed Aug 1 10:03:06 PDT 2007
I can give a generic rule-system answer.
The usual answer with rule systems is that you should not and can not
predict the sequence. Rules are allowed to fire at any time when
their preconditions have been met. The advice that is usually given
is to not think procedurally or about the sequence. Just try to make
each rule be a valid statement of what is supposed to happen
regardless of the timing.
In practice there are occasions where this is hard to do. Some rule
systems have facilities to help the user constrain rule execution
sequence when it absolutely becomes necessary (e.g. rule priorities
and rule modules). But I don't know how or if this could be applied
On Aug 1, 2007, at 2:43 AM, daphne wrote:
> Hello everyone!
> I am very curious about how to determine the execution sequence of
> the swrl
> Sometimes the execution of one rule lies in the reasoning results
> of another
> However, I find sometimes it does not work as I expected, in that I
> can not
> decide which is the first to execute.
> If anyone can give me an answer, I will be very appreciated!
> View this message in context: http://www.nabble.com/How-to-
> Sent from the Protege - OWL mailing list archive at Nabble.com.
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/
More information about the protege-owl