Story #13017

As Roger I want to have an event-condition-action based rule engine.

Added by Thomas Maroschik over 2 years ago. Updated over 1 year ago.

Status:Accepted Start date:2011-02-14
Priority:Should have Due date:
Assignee:- % Done:

10%

Category:-
Target version:-
Sprint: Tags:
Branch:
Story points-
Velocity based estimate-
Remaining hours
Votes: 0

Description

History

Updated by Thomas Maroschik over 2 years ago

I think we shouldn't target SWRL as first implementation.

SWRL is much like RIF BLD monotonic, which enables backward chaining rules.
This means, that you can search after some input facts based upon some ouput facts. I think we won't have this kind of application in the semantic framework. It would be a nice to have, but we have to implement 2 different rule engines:

  • a production rule engine, which supports non-monotonic logic (pure forward chaining engine, event based)
    • IF THEN (customer.discount = 10%)
  • a reasoning rule engine, which supports monotonic logic (we could implement owl inference upon this)
    • IF (child-of(y,x) AND brother-of(z,x)) THEN (uncle-of(z,y))

Updated by Thomas Maroschik over 2 years ago

  • Subject changed from As Roger I want to have an event-condition-action based SWRL rule engine. to As Roger I want to have an event-condition-action based rule engine.

Updated by Thomas Maroschik over 2 years ago

  • % Done changed from 0 to 10

Beginning to build a rule engine, itself.

The documentation of Drools 5.x helped me a lot in regards of implementation http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html/ch02.html#

This slides helped me a lot in regards to performance: http://www2.inf.fh-rhein-sieg.de/~pbecke2m/xps/regel2.pdf

Updated by Jochen Rau about 2 years ago

  • Status changed from New to Accepted

Updated by Thomas Maroschik over 1 year ago

This seems like a nice approach for a DSL:

https://github.com/bobthecow/Ruler

I don't think our first steps should be aligned to RuleML/RIF or something like that. Lets see how our own DSL for rules could be exported to RuleML/RIF afterwards.

Also available in: Atom PDF