Use the P3P RDF namespace
authorMo McRoberts <mo.mcroberts@bbc.co.uk>
Thu, 10 Oct 2013 23:19:59 +0100
changeset 45 038c95ab9632
parent 44 1097cdefb353
child 46 44ae850f5a50
Use the P3P RDF namespace
examples/example7.nt
examples/example7.rdf
examples/example7.ttl
--- a/examples/example7.nt	Thu Oct 10 23:19:32 2013 +0100
+++ b/examples/example7.nt	Thu Oct 10 23:19:59 2013 +0100
@@ -6,7 +6,7 @@
 _:genid2 <http://w3.org/ns/odrl/2/constraint> _:genid1 .
 _:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Constraint> .
 _:genid3 <http://w3.org/ns/odrl/2/operator> <http://w3.org/ns/odrl/2/eq> .
-_:genid3 <http://w3.org/ns/odrl/2/purpose> <http://www.w3.org/2006/01/P3Pv11contact> .
+_:genid3 <http://w3.org/ns/odrl/2/purpose> <http://www.w3.org/2002/01/p3prdfv1#contact> .
 _:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Permission> .
 _:genid4 <http://w3.org/ns/odrl/2/action> <http://w3.org/ns/odrl/2/distribute> .
 _:genid4 <http://w3.org/ns/odrl/2/target> <http://example.com/billie:888:personal-data> .
--- a/examples/example7.rdf	Thu Oct 10 23:19:32 2013 +0100
+++ b/examples/example7.rdf	Thu Oct 10 23:19:59 2013 +0100
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <rdf:RDF
    xmlns:odrl="http://w3.org/ns/odrl/2/"
-   xmlns:p3p="http://www.w3.org/2006/01/P3Pv11"
+   xmlns:p3p="http://www.w3.org/2002/01/p3prdfv1#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
   <odrl:Party rdf:about="http://example.com/billie:888"/>
@@ -15,7 +15,7 @@
         <odrl:constraint>
           <odrl:Constraint>
             <odrl:operator rdf:resource="http://w3.org/ns/odrl/2/eq"/>
-            <odrl:purpose rdf:resource="http://www.w3.org/2006/01/P3Pv11contact"/>
+            <odrl:purpose rdf:resource="http://www.w3.org/2002/01/p3prdfv1#contact"/>
           </odrl:Constraint>
         </odrl:constraint>
         <odrl:duty>
--- a/examples/example7.ttl	Thu Oct 10 23:19:32 2013 +0100
+++ b/examples/example7.ttl	Thu Oct 10 23:19:59 2013 +0100
@@ -1,6 +1,6 @@
 @base <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
[email protected] p3p: <http://www.w3.org/2006/01/P3Pv11> .
[email protected] p3p: <http://www.w3.org/2002/01/p3prdfv1#> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 
 </policy:1111>