Add a resource representing the range of this property. The resource denotes the class or datatype that objects of statements using this property as predicate should belong to. For datatype properties, XML Schema Datatype names are pre-declared as resources in the {@link com.hp.hpl.jena.vocabulary.XSD XSD} vocabulary class. For object properties,the resource should be represent the range class. Note that {@link OntClass} isa Java sub-class of {@link Resource}, so OntClass objects can be passed directly.
@param res A resource that represents a range class for this property. @exception OntProfileException If the {@link Profile#RANGE()} property is not supported in the current language profile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|