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] JAVA - OWL obtaining domain and range for a given object property

R A J E E V Santhirarasa rajeev299 at
Wed Aug 20 20:29:49 PDT 2008

I read the OWL file which was created using Protege.
I have all the
 1)   OWLNamedClasses in an ArrayLIST.

  2)  ObjectTypeProperties in an Array List

3)  OWLNAMEDCLASSES as Key and ArrayList of ObjectTypeProperty associated to
the OWLNAMEDCLASS as Object in a hash table.

I want to find the domain class and the range class as a Pair for any given
Object type property.

Class A, B , C , D
ObjectTypeProperty, X, Y, Z

Domain  |  ObjectTypeProperty  | Range
   A        |           X                    |    B
   A        |           X                    |    C
   D        |           Y                   |    C

I want to find :
A  and it's pair B for the given X (object type property).

How Can I do this in JAVA?
Is there any method that will give the Domain and Range for a given
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-owl mailing list