« Return to Thread: JESS: object and instance in jess

Re: JESS: object and instance in jess

by Ernest Friedman-Hill :: Rate this Message:

Reply to Author | View in Thread


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                            ejfried@...
Livermore, CA 94550                             http://www.jessrules.com





--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users you@...'
in the BODY of a message to majordomo@..., NOT to the list
(use your own address!) List problems? Notify owner-jess-users@....
--------------------------------------------------------------------

 « Return to Thread: JESS: object and instance in jess