> Now I would like to implements the two given rules in order to be able to > ask question like: "certifies Alice Georg?", hoping that JESS would perform > all the backtracking search, which otherwise I would have to implement with > very long (and inelegant) java code. > > Could you kindly give me some hints for implementing them? >
Seems to me you do not really need a forward chaining rule engine like Jess, but something more like Prolog (backward chaining + built-in backtracking search)? Maybe Jess specialists (which I am not) will correct me on this one? If it *has* to be Java, there should be plenty Prolog implementations for Java around. Also, most Prolog systems should offer a Java interface. If other parts of your program do need forward chaining, most self-respecting Prolog implementations have CHR integrated with it (not the Java ones though...), a rule-based paradigm very close to production rules. Cheers, Peter
begin:vcard fn:Peter Van Weert n:Van Weert;Peter org:K.U.Leuven;Computer Science adr:room 01.08;;Celestijnenlaan 200A;Heverlee;;3001;Belgium email;internet:[EMAIL PROTECTED] title:DTAI (Declarative Languages and Artificial Intelligence) tel;work:+ 32 16 327064 x-mozilla-html:TRUE url:http://www.cs.kuleuven.be/~petervw/ version:2.1 end:vcard
