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-owl] how can I navigate an expression?

Tania Tudorache tudorache at
Fri Aug 31 16:59:38 PDT 2007

Hi Manuel,

I wish there was an easy answer to this :)

Using the getExpressionRoot() method is not recommended because it is a 
very expensive method.

Instead, you could look at the implementation of the Properties View of 
the classes tab that does more or less the same thing as you would like 
to do. You can browse the source code of Protege-OWL here:

Some useful methods might be:




I hope this helps,

Manuel wrote:
> Hi,
> I'd like to know what classes and methods I should
> use to navigate an expression, for example: if I
> create an ontology in which I have a class A that is
> a subclass of ((B and C) or (D or E and F)), how can
> I fetch all components of this expression using the
> OWL API? Should I use getExpressionRoot() of
> OWLAnonymousClass or exists a better way to do
> this?
> Thanks a lot.
> ------------------------------------------------------------------------
> _______________________________________________
> protege-owl mailing list
> protege-owl at
> Instructions for unsubscribing: 

More information about the protege-owl mailing list