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] Getting the data type of a property range

Thomas Russ tar at ISI.EDU
Thu Apr 26 11:51:26 PDT 2007


On Apr 26, 2007, at 10:43 AM, Reeves, Russell wrote:

> I’m using the protégé-owl api and am having no problems getting the  
> collection of a class’ properties.
>
> I can even get a property by name.
>
> What I can’t seem to figure out is how to get the data type of the  
> range (e.g. xsd:Date). I manage to get a SimpleInstance but don’t  
> know where to go from there.
>
> Anyone have a code snippet?
Perhaps one of these?

RDFProperty.getRange
   or
RDFProperty.getRangeDatatype





More information about the protege-owl mailing list