Story #13017

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

Added by Thomas Maroschik over 10 years ago. Updated almost 10 years ago.

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

10%

Estimated time:
Sprint:
Branch:
Tags:

#1

Updated by Thomas Maroschik over 10 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))
#2

Updated by Thomas Maroschik over 10 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.
#3

Updated by Thomas Maroschik over 10 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

#4

Updated by Jochen Rau about 10 years ago

  • Status changed from New to Accepted
#5

Updated by Thomas Maroschik almost 10 years 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