Re: All classes for an instnace?
Andrew n marshall <[email protected]>
| Newsgroups | gmane.comp.ai.powerloom |
|---|---|
| Message-ID | <[email protected]> |
Nevermind... I found the type-of relation (retrieve all (type-of ?concept myInstance)) Andrew n marshall wrote: > > How do I retrieve the class sets an instance is a member of? > > By example, given: > (defconcept MyClassA) > (defconcept MyClassB) > (assert (and (MyClassA myInstance) > (isa myInstance MyClassB))) > What (retrieve?) statement could return both MyClassA and MyClassB? > > > Thanks. > > > > Anm > > _______________________________________________ > powerloom-forum mailing list > [email protected] > http://mailman.isi.edu/mailman/listinfo/powerloom-forum