I am adding few new DataType in the OWL using Protege.
The DataType is like percentage and I want to specify it\'s range with the double value ranging from 0 to 100.
It's just xsd:double[ >= 0, <= 100 ]
.
0
100
@prefix : .
@prefix owl: .
@prefix rdf: .
@prefix xsd: .
@prefix rdfs: .
:hasPercentage a owl:DatatypeProperty ;
rdfs:range [ a rdfs:Datatype ;
owl:onDatatype xsd:double ;
owl:withRestrictions ( [ xsd:minInclusive
0 ] [ xsd:maxInclusive 100 ] )
] .
a owl:Ontology .