Minor example RDF tweak
authorMo McRoberts <mo.mcroberts@bbc.co.uk>
Wed, 11 Sep 2013 16:07:11 +0100
changeset 39 1c4d66f9d2ca
parent 38 fad839b808d9
child 40 86598a35175d
Minor example RDF tweak
2/ODRL20.html
examples/example2.nt
examples/example2.rdf
examples/example2.ttl
--- a/2/ODRL20.html	Wed Sep 11 16:01:15 2013 +0100
+++ b/2/ODRL20.html	Wed Sep 11 16:07:11 2013 +0100
@@ -159,6 +159,7 @@
 		odrl:duty _:requirements
 	] ;
 	odrl:permission [
+		a odrl:Permission ;
 		odrl:target &lt;/music:4545&gt; ;
 		odrl:assigner &lt;/sony:10&gt; ;
 		odrl:action odrl:copy ;
--- a/examples/example2.nt	Wed Sep 11 16:01:15 2013 +0100
+++ b/examples/example2.nt	Wed Sep 11 16:07:11 2013 +0100
@@ -6,6 +6,7 @@
 _:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Constraint> .
 _:genid2 <http://w3.org/ns/odrl/2/count> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
 _:genid2 <http://w3.org/ns/odrl/2/operator> <http://w3.org/ns/odrl/2/lteq> .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Permission> .
 _:genid3 <http://w3.org/ns/odrl/2/target> <http://example.com/music:4545> .
 _:genid3 <http://w3.org/ns/odrl/2/assigner> <http://example.com/sony:10> .
 _:genid3 <http://w3.org/ns/odrl/2/action> <http://w3.org/ns/odrl/2/copy> .
--- a/examples/example2.rdf	Wed Sep 11 16:01:15 2013 +0100
+++ b/examples/example2.rdf	Wed Sep 11 16:07:11 2013 +0100
@@ -12,7 +12,7 @@
       </odrl:Permission>
     </odrl:permission>
     <odrl:permission>
-      <rdf:Description>
+      <odrl:Permission>
         <odrl:action rdf:resource="http://w3.org/ns/odrl/2/copy"/>
         <odrl:assigner rdf:resource="http://example.com/sony:10"/>
         <odrl:constraint>
@@ -23,7 +23,7 @@
         </odrl:constraint>
         <odrl:duty rdf:nodeID="requirements"/>
         <odrl:target rdf:resource="http://example.com/music:4545"/>
-      </rdf:Description>
+      </odrl:Permission>
     </odrl:permission>
   </odrl:Offer>
   <odrl:Party rdf:about="http://example.com/sony:10"/>
--- a/examples/example2.ttl	Wed Sep 11 16:01:15 2013 +0100
+++ b/examples/example2.ttl	Wed Sep 11 16:07:11 2013 +0100
@@ -11,6 +11,7 @@
 		odrl:duty _:requirements
 	] ;
 	odrl:permission [
+		a odrl:Permission ;
 		odrl:target </music:4545> ;
 		odrl:assigner </sony:10> ;
 		odrl:action odrl:copy ;