Remove @base
authorMo McRoberts <mo.mcroberts@bbc.co.uk>
Mon, 12 May 2014 10:45:08 +0100
changeset 49 6180eb5b79b4
parent 48 cfe2a5d1cf37
child 50 e4134825ebec
Remove @base
examples/example1.ttl
examples/example10.ttl
examples/example11.ttl
examples/example1a.ttl
examples/example2.ttl
examples/example3.ttl
examples/example4.ttl
examples/example5.ttl
examples/example6.nt
examples/example6.rdf
examples/example6.ttl
examples/example7.ttl
examples/example8.nt
examples/example8.rdf
examples/example8.ttl
examples/example9.ttl
--- a/examples/example1.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example1.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,15 +1,14 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 
-</policy:0099>
+<http://example.com/policy:0099>
 	a odrl:Set;
 	odrl:permission [
 		a odrl:Permission ;
-		odrl:target </asset:9898> ;
+		odrl:target <http://example.com/asset:9898> ;
 		odrl:action odrl:reproduce
 	] ;
 	odrl:prohibition [
 		a odrl:Prohibition ;
-		odrl:target </asset:9898> ;
+		odrl:target <http://example.com/asset:9898> ;
 		odrl:action odrl:modify
 	] .
--- a/examples/example10.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example10.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,15 +1,14 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 
-</policy:5109>
+<http://example.com/policy:5109>
 	a odrl:Agreement ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:display ;
-		odrl:target </myPlace:billie:photos:football2010> ;
-		odrl:assigner </myPlace:billie> ;
-		odrl:assignee </myPlace:network:football>
+		odrl:target <http://example.com/myPlace:billie:photos:football2010> ;
+		odrl:assigner <http://example.com/myPlace:billie> ;
+		odrl:assignee <http://example.com/myPlace:network:football>
 	] .
 
-</myPlace:billie> a odrl:Party .
-</myPlace:network:football> a odrl:Group .
+<http://example.com/myPlace:billie> a odrl:Party .
+<http://example.com/myPlace:network:football> a odrl:Group .
--- a/examples/example11.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example11.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,12 +1,11 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 @prefix x: <http://example.com/x#> .
 
-</policy:881212>
+<http://example.com/policy:881212>
 	a odrl:Set ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:index ;
-		odrl:target </archive/2010> ;
-		x:collection </x/database>
+		odrl:target <http://example.com/archive/2010> ;
+		x:collection <http://example.com/x/database>
 	] .
--- a/examples/example1a.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example1a.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,10 +1,9 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 @prefix dct: <http://purl.org/dc/terms/> .
 
-</asset:9898> dct:license </policy:0099> .
+<http://example.com/asset:9898> dct:license <http://example.com/policy:0099> .
 
-</policy:0099>
+<http://example.com/policy:0099>
 	a odrl:Set;
 	odrl:permission odrl:reproduce ;
 	odrl:prohibition odrl:modify .
--- a/examples/example2.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example2.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,19 +1,18 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 
-</policy:0231>
+<http://example.com/policy:0231>
 	a odrl:Offer ;
 	odrl:permission [
 		a odrl:Permission ;
-		odrl:target </music:4545> ;
-		odrl:assigner </sony:10> ;
+		odrl:target <http://example.com/music:4545> ;
+		odrl:assigner <http://example.com/sony:10> ;
 		odrl:action odrl:play ;
 		odrl:duty _:requirements
 	] ;
 	odrl:permission [
 		a odrl:Permission ;
-		odrl:target </music:4545> ;
-		odrl:assigner </sony:10> ;
+		odrl:target <http://example.com/music:4545> ;
+		odrl:assigner <http://example.com/sony:10> ;
 		odrl:action odrl:copy ;
 		odrl:duty _:requirements ;
 		odrl:constraint [
@@ -26,6 +25,6 @@
 _:requirements
 	a odrl:Duty ;
 	odrl:action odrl:pay ;
-	odrl:target </ubl:AUD0.50> .
+	odrl:target <http://example.com/ubl:AUD0.50> .
 
-</sony:10> a odrl:Party .
+<http://example.com/sony:10> a odrl:Party .
--- a/examples/example3.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example3.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,20 +1,19 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 
-</policy:9001>
+<http://example.com/policy:9001>
 	a odrl:Agreement ;
 	odrl:permission [
 		a odrl:Permission ;
-		odrl:target </music:4545> ;
-		odrl:assigner </sony:10> ;
-		odrl:assignee </billie:888> ;
+		odrl:target <http://example.com/music:4545> ;
+		odrl:assigner <http://example.com/sony:10> ;
+		odrl:assignee <http://example.com/billie:888> ;
 		odrl:action odrl:play ;
 		odrl:duty _:requirements
 	] ;
 	odrl:permission [
-		odrl:target </music:4545> ;
-		odrl:assigner </sony:10> ;
-		odrl:assignee </billie:888> ;
+		odrl:target <http://example.com/music:4545> ;
+		odrl:assigner <http://example.com/sony:10> ;
+		odrl:assignee <http://example.com/billie:888> ;
 		odrl:action odrl:copy ;
 		odrl:duty _:requirements ;
 		odrl:constraint [
@@ -27,7 +26,7 @@
 _:requirements
 	a odrl:Duty ;
 	odrl:action odrl:pay ;
-	odrl:target </ubl:AUD0.50> .
+	odrl:target <http://example.com/ubl:AUD0.50> .
 
-</sony:10> a odrl:Party .
-</billie:888> a odrl:Party .
+<http://example.com/sony:10> a odrl:Party .
+<http://example.com/billie:888> a odrl:Party .
--- a/examples/example4.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example4.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,13 +1,12 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 
-</policy:04311>
+<http://example.com/policy:04311>
 	a odrl:Request ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:display ;
-		odrl:assignee </guest:0589> ;
-		odrl:target </news:0099>
+		odrl:assignee <http://example.com/guest:0589> ;
+		odrl:target <http://example.com/news:0099>
 	] .
 
-</guest:0589> a odrl:Party .
+<http://example.com/guest:0589> a odrl:Party .
--- a/examples/example5.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example5.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,13 +1,12 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 
-</policy:0811>
+<http://example.com/policy:0811>
 	a odrl:Ticket ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:play ;
-		odrl:target </game:4589> ;
+		odrl:target <http://example.com/game:4589> ;
 		odrl:constraint [
 			a odrl:Constraint ;
 			odrl:operator odrl:lteq ;
--- a/examples/example6.nt	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example6.nt	Mon May 12 10:45:08 2014 +0100
@@ -1,6 +1,6 @@
 _:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Constraint> .
 _:genid1 <http://w3.org/ns/odrl/2/operator> <http://w3.org/ns/odrl/2/eq> .
-_:genid1 <http://w3.org/ns/odrl/2/spatial> <http://psi.oasis-open.org/iso/3166/#380> .
+_:genid1 <http://w3.org/ns/odrl/2/spatial> <http://ontologi.es/place/IT> .
 _:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Permission> .
 _:genid2 <http://w3.org/ns/odrl/2/action> <http://w3.org/ns/odrl/2/distribute> .
 _:genid2 <http://w3.org/ns/odrl/2/target> <http://example.com/wallpaper:2321> .
--- a/examples/example6.rdf	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example6.rdf	Mon May 12 10:45:08 2014 +0100
@@ -18,7 +18,7 @@
         <odrl:constraint>
           <odrl:Constraint>
             <odrl:operator rdf:resource="http://w3.org/ns/odrl/2/eq"/>
-            <odrl:spatial rdf:resource="http://psi.oasis-open.org/iso/3166/#380"/>
+            <odrl:spatial rdf:resource="http://ontologi.es/place/IT"/>
           </odrl:Constraint>
         </odrl:constraint>
         <odrl:duty rdf:resource="http://example.com/duty:01"/>
--- a/examples/example6.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example6.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,37 +1,36 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 
-</policy:5531>
+<http://example.com/policy:5531>
 	a odrl:Offer ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:distribute ;
-		odrl:target </wallpaper:2321> ;
-		odrl:assigner </sony:99> ;
+		odrl:target <http://example.com/wallpaper:2321> ;
+		odrl:assigner <http://example.com/sony:99> ;
 		odrl:constraint [
 			a odrl:Constraint ;
 			odrl:operator odrl:eq ;
 			odrl:spatial <http://ontologi.es/place/IT>
 		] ;
-		odrl:duty </duty:01>, </duty:02>
+		odrl:duty <http://example.com/duty:01>, <http://example.com/duty:02>
 	] .
 
-</duty:01>
+<http://example.com/duty:01>
 	a odrl:Duty ;
 	odrl:action odrl:pay ;
-	odrl:target </ubl:EU1000.00> .
+	odrl:target <http://example.com/ubl:EU1000.00> .
 
-</duty:02>
+<http://example.com/duty:02>
 	a odrl:Duty ;
 	odrl:action odrl:nextPolicy ;
-	odrl:target </policy:7777> .
+	odrl:target <http://example.com/policy:7777> .
 
-</policy:7777>
+<http://example.com/policy:7777>
 	a odrl:Set ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:display ;
-		odrl:target </wallpaper:2321>
+		odrl:target <http://example.com/wallpaper:2321>
 	] .
 
-</sony:99> a odrl:Party .
+<http://example.com/sony:99> a odrl:Party .
--- a/examples/example7.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example7.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,16 +1,15 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 @prefix p3p: <http://www.w3.org/2006/01/P3Pv11> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 
-</policy:1111>
+<http://example.com/policy:1111>
 	a odrl:Privacy ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:distribute ;
-		odrl:target </billie:888:personal-data> ;
-		odrl:assigner </billie:888> ;
-		odrl:assignee </gov:health:au> ;
+		odrl:target <http://example.com/billie:888:personal-data> ;
+		odrl:assigner <http://example.com/billie:888> ;
+		odrl:assignee <http://example.com/gov:health:au> ;
 		odrl:duty [
 			a odrl:Duty ;
 			odrl:action odrl:delete ;
@@ -27,5 +26,5 @@
 		]
 	] .
 
-</billie:888> a odrl:Party .
-</gov:health:au> a odrl:Party .
+<http://example.com/billie:888> a odrl:Party .
+<http://example.com/gov:health:au> a odrl:Party .
--- a/examples/example8.nt	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example8.nt	Mon May 12 10:45:08 2014 +0100
@@ -5,7 +5,7 @@
 _:genid1 <http://w3.org/ns/odrl/2/target> <http://example.com/music:1234908> .
 _:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Prohibition> .
 _:genid2 <http://w3.org/ns/odrl/2/action> <http://example.com/mobile#ringtone> .
-_:genid2 <http://w3.org/ns/odrl/2/assignee> <http://example.com/billie:888> .
+_:genid2 <http://w3.org/ns/odrl/2/assignee> <file:///http://example.combillie:888> .
 _:genid2 <http://w3.org/ns/odrl/2/assigner> <http://example.com/sony:10> .
 _:genid2 <http://w3.org/ns/odrl/2/target> <http://example.com/music:1234908> .
 <http://example.com/policy:3433> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://w3.org/ns/odrl/2/Agreement> .
--- a/examples/example8.rdf	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example8.rdf	Mon May 12 10:45:08 2014 +0100
@@ -17,7 +17,7 @@
     <odrl:prohibition>
       <odrl:Prohibition>
         <odrl:action rdf:resource="http://example.com/mobile#ringtone"/>
-        <odrl:assignee rdf:resource="http://example.com/billie:888"/>
+        <odrl:assignee rdf:resource="file:///http://example.combillie:888"/>
         <odrl:assigner rdf:resource="http://example.com/sony:10"/>
         <odrl:target rdf:resource="http://example.com/music:1234908"/>
       </odrl:Prohibition>
--- a/examples/example8.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example8.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,24 +1,23 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 @prefix mobile: <http://example.com/mobile#> .
 
-</policy:3433>
+<http://example.com/policy:3433>
 	a odrl:Agreement ;
 	odrl:conflict odrl:perm ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:play ;
-		odrl:assignee </billie:888> ;
-		odrl:assigner </sony:10> ;
-		odrl:target </music:1234908>
+		odrl:assignee <http://example.com/billie:888> ;
+		odrl:assigner <http://example.com/sony:10> ;
+		odrl:target <http://example.com/music:1234908>
 	] ;
 	odrl:prohibition [
 		a odrl:Prohibition ; 
 		odrl:action mobile:ringtone ;
-		odrl:assignee </billie:888> ;
-		odrl:assigner </sony:10> ;
-		odrl:target </music:1234908>
+		odrl:assignee </http://example.combillie:888> ;
+		odrl:assigner <http://example.com/sony:10> ;
+		odrl:target <http://example.com/music:1234908>
 	] .
 
-</billie:888> a odrl:Party .
-</sony:10> a odrl:Party .
+<http://example.com/billie:888> a odrl:Party .
+<http://example.com/sony:10> a odrl:Party .
--- a/examples/example9.ttl	Mon May 12 10:44:59 2014 +0100
+++ b/examples/example9.ttl	Mon May 12 10:45:08 2014 +0100
@@ -1,27 +1,26 @@
[email protected] <http://example.com/> .
 @prefix odrl: <http://w3.org/ns/odrl/2/> .
 
-</policy:5531>
+<http://example.com/policy:5531>
 	a odrl:Agreement ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:print ;
-		odrl:target </report:2321> ;
-		odrl:assigner </pub:88> ;
-		odrl:assignee </billie:888> ;		
+		odrl:target <http://example.com/report:2321> ;
+		odrl:assigner <http://example.com/pub:88> ;
+		odrl:assignee <http://example.com/billie:888> ;		
 	] .
 	
-</policy:9999>
+<http://example.com/policy:9999>
 	a odrl:Agreement ;
-	odrl:inheritFrom </policy:5531> ;
+	odrl:inheritFrom <http://example.com/policy:5531> ;
 	odrl:permission [
 		a odrl:Permission ;
 		odrl:action odrl:display ;
-		odrl:target </report:2333> ;
-		odrl:assigner </pub:88> ;
-		odrl:assignee </class:IT01>
+		odrl:target <http://example.com/report:2333> ;
+		odrl:assigner <http://example.com/pub:88> ;
+		odrl:assignee <http://example.com/class:IT01>
 	] .
 
-</pub:88> a odrl:Party .
-</billie:888> a odrl:Party .
-</class:IT01> a odrl:Group .
+<http://example.com/pub:88> a odrl:Party .
+<http://example.com/billie:888> a odrl:Party .
+<http://example.com/class:IT01> a odrl:Group .