Re: JESS: ASKing of the knowledgebase

2001-11-29 Thread ejfried
I think Mark Nahabedian wrote: > > I've been using Jess 5.2. Should I upgrade or is there a similar > patch to 5.2? > You can add the line engine.run(10); at line 547 in jess/MiscFunctions.java to get the same effect. > Do I need to define a query or is there some other way? > >

Re: JESS: ASKing of the knowledgebase

2001-11-28 Thread Mark Nahabedian
I've been using Jess 5.2. Should I upgrade or is there a similar patch to 5.2? Do I need to define a query or is there some other way? Given that I need a query, can I just assert the appropriate need-... first and then do the query? Can I get the query definition itself to assert need-...?

Re: JESS: ASKing of the knowledgebase

2001-11-27 Thread ejfried
This comes up about twice a month on the mailing list. In currently released versions of Jess, queries don't trigger backward chaining. In the next release, they will. To turn this on for yourself, look in jess/MiscFunctions.java, at about line 680 (Jess 6.0b2): // Allow backwards chain

JESS: ASKing of the knowledgebase

2001-11-27 Thread Mark Nahabedian
How can I determine if a fact is present or can be concluded via backward chaining? Other expert systems I've used have an operator, typically named ASK, which will do this. Suppose I have a two argument predicate OPPOSITE-SIDE which is symetric, such that if (OPPOSITE-SIDE a b) is true then (O