Template updates
authorMo McRoberts <mo.mcroberts@bbc.co.uk>
Thu, 12 Sep 2013 18:09:59 +0100
changeset 42 be4bbe7237f0
parent 41 bae6c64d7524
child 43 bed61692a97c
Template updates
2/ODRL20.html
2/template.phtml
examples/example6.ttl
--- a/2/ODRL20.html	Wed Sep 11 20:28:07 2013 +0100
+++ b/2/ODRL20.html	Thu Sep 12 18:09:59 2013 +0100
@@ -112,7 +112,7 @@
 </p>
 <h3 id="sec-example-1">Set</h3>
 <p>
-	The following shows an instance of a <a href="#term-Set">set</a> <a href="#term-Policy">policy</a>. The set shows a policy expression, stating that the <a href="#term-Asset">asset</a>, <code>http//example.com/asset:9898</code>, is the target of the <a href="#term-Permission">permission</a> to <a href="#term-reproduce">reproduce</a> and the <a href="#term-Prohibition">prohibition</a> to <a href="#term-modify">modify</a>.
+	The following shows an instance of a <a href="#term-Set">set</a> <a href="#term-Policy">policy</a>. The set shows a policy expression, stating that the <a href="#term-Asset">asset</a>, <code>http://example.com/asset:9898</code>, is the target of the <a href="#term-Permission">permission</a> to <a href="#term-reproduce">reproduce</a> and the <a href="#term-Prohibition">prohibition</a> to <a href="#term-modify">modify</a>.
 </p>
 <pre><code>@base &lt;http://example.com/&gt; .
 @prefix odrl: &lt;http://w3.org/ns/odrl/2/&gt; .
@@ -144,7 +144,7 @@
 </code></pre><p>Download this example as <a href="https://dvcs.w3.org/hg/odrl/raw-file/tip/examples/example1a.ttl">Turtle</a>, <a href="https://dvcs.w3.org/hg/odrl/raw-file/tip/examples/example1a.rdf">RDF/XML</a>, or <a href="https://dvcs.w3.org/hg/odrl/raw-file/tip/examples/example1a.nt">N-Triples</a>.</p>
 <h3 id="sec-example-2">Offer</h3>
 <p>
-	The following shows the instance of an <a href="#term-Offer">offer</a> policy. The offer contains the music file <code>http//example.com/music:4545</code> that is offered by the <a href="#term-Party">party</a> <code>http//example.com/sony:10</code> with the permissions to <a href="#term-play">play</a> and copy the file. The permission to copy is only granted once. The two permissions are offered in exchange for a payment of <code>AUD$0.50</code>.
+	The following shows the instance of an <a href="#term-Offer">offer</a> policy. The offer contains the music file <code>http://example.com/music:4545</code> that is offered by the <a href="#term-Party">party</a> <code>http://example.com/sony:10</code> with the permissions to <a href="#term-play">play</a> and copy the file. The permission to copy is only granted once. The two permissions are offered in exchange for a payment of <code>AUD$0.50</code>.
 </p>
 <pre><code>@base &lt;http://example.com/&gt; .
 @prefix odrl: &lt;http://w3.org/ns/odrl/2/&gt; .
@@ -284,7 +284,7 @@
 		odrl:constraint [
 			a odrl:Constraint ;
 			odrl:operator odrl:eq ;
-			odrl:spatial &lt;http://psi.oasis-open.org/iso/3166/#380&gt;
+			odrl:spatial &lt;http://ontologi.es/place/IT&gt;
 		] ;
 		odrl:duty &lt;/duty:01&gt;, &lt;/duty:02&gt;
 	] .
--- a/2/template.phtml	Wed Sep 11 20:28:07 2013 +0100
+++ b/2/template.phtml	Thu Sep 12 18:09:59 2013 +0100
@@ -116,7 +116,7 @@
 ?>
 <h3 id="sec-example-1">Set</h3>
 <p>
-	The following shows an instance of a <a href="#term-Set">set</a> <a href="#term-Policy">policy</a>. The set shows a policy expression, stating that the <a href="#term-Asset">asset</a>, <code>http//example.com/asset:9898</code>, is the target of the <a href="#term-Permission">permission</a> to <a href="#term-reproduce">reproduce</a> and the <a href="#term-Prohibition">prohibition</a> to <a href="#term-modify">modify</a>.
+	The following shows an instance of a <a href="#term-Set">set</a> <a href="#term-Policy">policy</a>. The set shows a policy expression, stating that the <a href="#term-Asset">asset</a>, <code>http://example.com/asset:9898</code>, is the target of the <a href="#term-Permission">permission</a> to <a href="#term-reproduce">reproduce</a> and the <a href="#term-Prohibition">prohibition</a> to <a href="#term-modify">modify</a>.
 </p>
 <?php printExample('example1'); ?>
 
@@ -125,7 +125,7 @@
 
 <h3 id="sec-example-2">Offer</h3>
 <p>
-	The following shows the instance of an <a href="#term-Offer">offer</a> policy. The offer contains the music file <code>http//example.com/music:4545</code> that is offered by the <a href="#term-Party">party</a> <code>http//example.com/sony:10</code> with the permissions to <a href="#term-play">play</a> and copy the file. The permission to copy is only granted once. The two permissions are offered in exchange for a payment of <code>AUD$0.50</code>.
+	The following shows the instance of an <a href="#term-Offer">offer</a> policy. The offer contains the music file <code>http://example.com/music:4545</code> that is offered by the <a href="#term-Party">party</a> <code>http://example.com/sony:10</code> with the permissions to <a href="#term-play">play</a> and copy the file. The permission to copy is only granted once. The two permissions are offered in exchange for a payment of <code>AUD$0.50</code>.
 </p>
 <?php printExample('example2'); ?>
 
--- a/examples/example6.ttl	Wed Sep 11 20:28:07 2013 +0100
+++ b/examples/example6.ttl	Thu Sep 12 18:09:59 2013 +0100
@@ -11,7 +11,7 @@
 		odrl:constraint [
 			a odrl:Constraint ;
 			odrl:operator odrl:eq ;
-			odrl:spatial <http://psi.oasis-open.org/iso/3166/#380>
+			odrl:spatial <http://ontologi.es/place/IT>
 		] ;
 		odrl:duty </duty:01>, </duty:02>
 	] .