title: How to Define My Own Ranges for OWL DataProperties
body: <p>I have recently started learning Web Ontology Language (OWL). I want to define a DataProperty with my own defined range of value.
  Consider the following property:</p>
  
  <pre><code>  &lt;owl:DatatypeProperty rdf:ID="myProperty"&gt;
       &lt;rdfs:domain rdf:resource="#MyDomain"/&gt;
       &lt;rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/&gt;
    &lt;/owl:DatatypeProperty&gt;
  </code></pre>
  
  <p>The property has the range of double value but I want to restrict the range in order to make my property to accept only double values between 0 and 1. I would be very grateful if you guide me how to define my own ranges for data properties.</p>