Access to Business Rules of Supply Chain Partners

From Wiki

Jump to: navigation, search
Rule: If inspector believes vehicle is repairable then process as repair otherwise process as total loss.
RIF Text Syntax (two rules)
?Vehicle#<ex:Vehicle>[<ex:status> -> "repair"] :-  ?Inspector#<p:Inspector>[<p:hasBelief> -> <ex:repair>(?Vehicle)].

?Vehicle#<ex:Vehicle>[<ex:status> -> "notRepairable"] :- not(?Inspector#<p:Inspector>[<p:hasBelief> -> <ex:repair>(?Vehicle)]). 
XML Syntax
not available

Issues:

  • The second rule requires negation.

See also: rif:UCR#Editing Access to Business Rules of Supply Chain Partners

Personal tools