Range improvements.
--- a/2/ODRL20.nt Mon Sep 09 09:09:15 2013 +0100
+++ b/2/ODRL20.nt Mon Sep 09 09:21:08 2013 +0100
@@ -642,19 +642,27 @@
<http://w3.org/ns/odrl/2/absoluteSize> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "testing" .
<http://w3.org/ns/odrl/2/absoluteSize> <http://www.w3.org/2000/01/rdf-schema#label> "absolute size"@en .
<http://w3.org/ns/odrl/2/absoluteSize> <http://www.w3.org/2000/01/rdf-schema#comment> "The absolute dimension that the Asset may be resized."@en .
+<http://w3.org/ns/odrl/2/absoluteSize> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#decimal> .
<http://w3.org/ns/odrl/2/count> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
<http://w3.org/ns/odrl/2/count> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
<http://w3.org/ns/odrl/2/count> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://w3.org/ns/odrl/2/rightOperand> .
<http://w3.org/ns/odrl/2/count> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "testing" .
<http://w3.org/ns/odrl/2/count> <http://www.w3.org/2000/01/rdf-schema#label> "count"@en .
<http://w3.org/ns/odrl/2/count> <http://www.w3.org/2000/01/rdf-schema#comment> "The numeric count indicating the number of times the corresponding entity may be exercised"@en .
+<http://w3.org/ns/odrl/2/count> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2001/XMLSchema#dateTime> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2001/XMLSchema#date> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid1 .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid3 <http://www.w3.org/2002/07/owl#unionOf> _:genid2 .
<http://w3.org/ns/odrl/2/dateTime> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
<http://w3.org/ns/odrl/2/dateTime> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
<http://w3.org/ns/odrl/2/dateTime> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://w3.org/ns/odrl/2/rightOperand> .
<http://w3.org/ns/odrl/2/dateTime> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "testing" .
<http://w3.org/ns/odrl/2/dateTime> <http://www.w3.org/2000/01/rdf-schema#label> "date/time"@en .
<http://w3.org/ns/odrl/2/dateTime> <http://www.w3.org/2000/01/rdf-schema#comment> "The date (and optional time and timezone) representing a point in time or period."@en .
-<http://w3.org/ns/odrl/2/dateTime> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Literal> .
+<http://w3.org/ns/odrl/2/dateTime> <http://www.w3.org/2000/01/rdf-schema#range> _:genid3 .
<http://w3.org/ns/odrl/2/deliveryChannel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
<http://w3.org/ns/odrl/2/deliveryChannel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
<http://w3.org/ns/odrl/2/deliveryChannel> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://w3.org/ns/odrl/2/rightOperand> .
--- a/2/ODRL20.rdf Mon Sep 09 09:09:15 2013 +0100
+++ b/2/ODRL20.rdf Mon Sep 09 09:21:08 2013 +0100
@@ -164,6 +164,7 @@
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
<rdfs:comment xml:lang="en">The absolute dimension that the Asset may be resized.</rdfs:comment>
<rdfs:label xml:lang="en">absolute size</rdfs:label>
+ <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
<rdfs:subPropertyOf rdf:resource="http://w3.org/ns/odrl/2/rightOperand"/>
<vs:term_status>testing</vs:term_status>
</rdf:Property>
@@ -380,6 +381,7 @@
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
<rdfs:comment xml:lang="en">The numeric count indicating the number of times the corresponding entity may be exercised</rdfs:comment>
<rdfs:label xml:lang="en">count</rdfs:label>
+ <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
<rdfs:subPropertyOf rdf:resource="http://w3.org/ns/odrl/2/rightOperand"/>
<vs:term_status>testing</vs:term_status>
</rdf:Property>
@@ -387,7 +389,21 @@
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
<rdfs:comment xml:lang="en">The date (and optional time and timezone) representing a point in time or period.</rdfs:comment>
<rdfs:label xml:lang="en">date/time</rdfs:label>
- <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+ <rdfs:range>
+ <owl:Class>
+ <owl:unionOf>
+ <rdf:Description>
+ <rdf:first rdf:resource="http://www.w3.org/2001/XMLSchema#date"/>
+ <rdf:rest>
+ <rdf:Description>
+ <rdf:first rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
+ <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
+ </rdf:Description>
+ </rdf:rest>
+ </rdf:Description>
+ </owl:unionOf>
+ </owl:Class>
+ </rdfs:range>
<rdfs:subPropertyOf rdf:resource="http://w3.org/ns/odrl/2/rightOperand"/>
<vs:term_status>testing</vs:term_status>
</rdf:Property>
--- a/2/ODRL20.ttl Mon Sep 09 09:09:15 2013 +0100
+++ b/2/ODRL20.ttl Mon Sep 09 09:21:08 2013 +0100
@@ -747,14 +747,16 @@
rdfs:subPropertyOf :rightOperand ;
vs:term_status "testing" ;
rdfs:label "absolute size"@en ;
- rdfs:comment "The absolute dimension that the Asset may be resized."@en .
+ rdfs:comment "The absolute dimension that the Asset may be resized."@en ;
+ rdfs:range xsd:decimal .
:count
a rdf:Property , owl:DatatypeProperty ;
rdfs:subPropertyOf :rightOperand ;
vs:term_status "testing" ;
rdfs:label "count"@en ;
- rdfs:comment "The numeric count indicating the number of times the corresponding entity may be exercised"@en .
+ rdfs:comment "The numeric count indicating the number of times the corresponding entity may be exercised"@en ;
+ rdfs:range xsd:nonNegativeInteger .
:dateTime
a rdf:Property , owl:DatatypeProperty ;
@@ -762,7 +764,10 @@
vs:term_status "testing" ;
rdfs:label "date/time"@en ;
rdfs:comment "The date (and optional time and timezone) representing a point in time or period."@en ;
- rdfs:range rdfs:Literal .
+ rdfs:range [
+ a owl:Class ;
+ owl:unionOf ( xsd:date xsd:dateTime ) ;
+ ] .
:deliveryChannel
a rdf:Property , owl:ObjectProperty ;