Hi, my problem is in jessTab (in protege).in my ontology I have a slot that it's type is Class. In a rule I declare the name of a class and it return me value of another slot in that object.but when I declare name of class in LHS it can not recognize it as a object(or Class name)
--- On Fri, 26/6/09, Ernest Friedman-Hill <[email protected]> wrote: From: Ernest Friedman-Hill <[email protected]> Subject: Re: JESS: object and instance in jess To: "jess-users" <[email protected]> Date: Friday, 26 June, 2009, 8:06 PM On Jun 19, 2009, at 1:44 AM, Rose S wrote: > Hi, > I have 2 questions: > 1.in an instance of a class which has a slot with multiple cardinality > how can I access and act on each value? Search for "multifields" in the Jess manual chapter on writing rules. > > 2.how can I specify that a name is the name of a class in protege? > for example in this command: > (defglobal ?*dn* = Androgenic) > How can declare that Androgenic is the name of a class? > Jess wouldn't care about this, so you'd have to be more specific: declare that it's the name of a class for the benefit of what? In other words, after you've made this declaration, what do you want to have happen? --------------------------------------------------------- Ernest Friedman-Hill Informatics & Decision Sciences Phone: (925) 294-2154 Sandia National Labs PO Box 969, MS 9012 [email protected] Livermore, CA 94550 http://www.jessrules.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]. -------------------------------------------------------------------- Get your preferred Email name! Now you can @ymail.com and @rocketmail.com. http://mail.promotions.yahoo.com/newdomains/aa/
