Re: JESS: ASAP-JessTab and ProtegeKB

2006-08-18 Thread Samson Tu
friedman_hill ernest j wrote: I think vsingh wrote: [Charset utf-8 unsupported, filtering to ASCII...] Hi all, I have the following doubts.Please help. 1.How to use jess tab in console mode? Don't think you can, can you? It's a GUI tool. Actually, JessTab provides its own console as

JESS: Jess Rule with Protege

2006-08-18 Thread vsingh
hi...i am using the recommend rule mentioned in JIA as follows (defrule recommend-ipod-nano (object (is-a Customer) (customer-id ?id)) (not (and (object (is-a SalesOrder)(OrderNumber ?order)(customer-id ?id (object (is-a LineItem)(OrderNumber ?order)(partnumber ?part)) (object (is-a

Re: JESS: ASAP-JessTab and ProtegeKB

2006-08-18 Thread vsingh
another question Say for e.g. of the tekmart applicationinstead of defining the templates...we do a mapclass for getting the facts from protege and then say if I run the rule-recommend-rubber-duckwould that give me a new fact named recommend or generate a new templateIn any case

Re: JESS: Priority/Selection within a match list

2006-08-18 Thread James C. Owen
Stephene et al, As Jason pointed out about salience being used sparingly, there is one other heuristic: If you have more then three levels of salience/ priority then your problem may be better suited for a procedural language. Just a thought... Also, if the rules MUST be done in order,

Re: JESS: No such Variable error

2006-08-18 Thread friedman_hill ernest j
I hope the error message makes it clear that at the line where you're calling assert, there is no variable named ?pn which is in scope. The only variable ?pn is defined inside a not CE, and variables defined inside a not are not available outside of that not. Think about it: what this line says is

Re: JESS: No such Variable error

2006-08-18 Thread vsingh
thanks...its working now.. friedman_hill ernest j wrote: I hope the error message makes it clear that at the line where you're calling assert, there is no variable named ?pn which is in scope. The only variable ?pn is defined inside a not CE, and variables defined inside a not are

JESS: logical or operator error..

2006-08-18 Thread vsingh
Hi...the logical or operator doesnt seem to be working..for sum reason...let me know if i am using it right.heres the excerpt... Jess (defrule recommend-media-for-player (object(is-a Product)(partnumber ?media)(category Desktop | videotape)) = (printout t ?media crlf) ) this piece of

RE: JESS: logical or operator error..

2006-08-18 Thread Orchard, Bob
Take a look at where the quotes are in your category slot perhaps (category Desktop | videotape) would be better for your problem. Also do you really want to do an exact string match with a capital 'D' in desktop? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL