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 Product)(partnumber ?part)(name “ipod nano”)) 
=>
(printout t “The Customer” ?id “should be recommended to purchase the
product” ?part "whos ordernumber is" ?order crlf)) 

As you can see I have used (object(is-a *) becuase I ahve used the mapped
class from Proetege KB.

the rule gets defined and says TRUE....but when I (run)....it shows no
effect.....whats the reason......also I ahve uploaded instances as
facts..for products..etc......pls adivse ASAP.....


Thanks
-- 
View this message in context: 
http://www.nabble.com/Jess-Rule-with-Protege-tf2119037.html#a5844236
Sent from the Jess forum at Nabble.com.
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to