Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Collect disseminated Individuals

Tania Tudorache tudorache at
Wed Mar 21 10:59:57 PDT 2007


In a frames ontology, you can use the methods from the Cls interface:

getInstances() - to get all the instances of a class and of all its 


getDirectInstances() - to get the instances of a cls (and not of its 

The javadoc of the Cls interface is here:

For an OWL ontology, you can use the call:

 getInstances(boolean includingSubclasses)

from the RDFSClass interface.

If you have Protege OWL related questions, please post in future on the 
Protege-OWL mailing list.


Ulfert Rist wrote:
> Hello all,
> some help is needed on the (trivial?) question, how to make it happen -- primarily with means only of data modelling -- that individuals of a class, individuals of a subclass, and individuals of a subsubclass, can be retrieved in an almost simple way:
> class A, individuals A1,A2,A3
> subclass of A: B, with indivuals B1, B2
> subclass of B: C, with indivuals C1, C2
> When the user asks for all members of A, then the resulting answer should be {A1, A2, A3, B1, B2, C1, C2} 
> Do I need a reasoner here, or skript programming?
> Thanks,
> Ulf

More information about the protege-discussion mailing list