Merge with main repo changes
authorGraham Klyne
Thu, 08 Nov 2012 12:13:00 +0000
changeset 4665 4dd30a320272
parent 4664 098e7be8b4d5 (current diff)
parent 4663 68466e58349c (diff)
child 4666 8593b5b71cd3
child 4679 06627e013264
Merge with main repo changes
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/presentations/iswc-2012/rdfa/blog-example-nomarkup.html	Thu Nov 08 12:13:00 2012 +0000
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>Civic participation in the UK</title>
+		<link rel="stylesheet" type="text/css" href="blog-example.css" />
+    </head>
+
+  	<body prefix="prov: http://www.w3.org/ns/prov#">
+    	<h2>Civic Participation in the UK</h2>
+		The Guardian's Data Blog has an 
+		<a href="http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government"> interesting post</a> by Ami Sedghi on how much the UK public trusts their government.
+    
+		An interesting part of the post is the information about civic participation.
+     	Here's a graph from the post:<br>
+   
+        <a href="http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government#highcharts-0">
+        <img alt="graph of civic participation" src="graph.png"/></a>
+        <p>
+        Captured on: 2012-04-25T03:40:00Z
+        </p>
+        <p>
+    	The post also had information taken from a January 2012 YouGov survey about the UK political system. 
+      	Here are some results on civic participation:
+      	</p>
+      	<blockquote>
+        <ul>
+          <li>50% of men and 42% of women agreed or strongly agreed that being involved in 
+              politics was a good way to benefit groups that people care about such as pensioners and the disabled</li>
+          <li>Just over a quarter of men and only 15% of agreed or strongly agreed that involvement in politics was a good way to benefit themselves and their family</li>
+          <li>Over a third of both men and women felt that being involved in politics and public affairs took too much time and effort</li>
+        </ul>
+      	</blockquote>
+    	
+    	<p>Overall, the post provides insight into the status of civic participation in the UK. </p>
+  </body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/presentations/iswc-2012/rdfa/blog-example-rdfa.html	Thu Nov 08 12:13:00 2012 +0000
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+
+<html>
+	<head>
+        <title>Civic participation in the UK</title>
+        <link rel="stylesheet" type="text/css" href="blog-example.css" />
+    </head>
+
+  	<body prefix="prov: http://www.w3.org/ns/prov#">
+    	<h2>Civic Participation in the UK</h2>
+    	The Guardian's Data Blog has an
+   		<a typeof="prov:Entity" href="http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government">
+     	interesting post
+     		<span property="prov:wasAttributedTo" resource="#ami"> </span>
+     	</a>
+    	 by 
+  	  <span resource="#ami" typeof="prov:Person">
+    	   Ami Sedghi 
+     
+      </span>
+   	  on how much the UK public trusts their government.
+    
+
+  		An interesting part of the post is the information about civic participation.
+     	Here's a graph from the post:
+   
+    	<div resource="graph.png" typeof="prov:Entity">
+          <a property="prov:wasDerivedFrom" href="http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government#highcharts-0">
+          <img  alt="graph of civic participation" src="graph.png"/>
+          <span property="prov:wasGeneratedBy" resource="#screencapture"></span>
+          </a>
+        </div>
+        <p>
+        Captured on:
+        <span resource="#screencapture" typeof="prov:Activity">
+             <span property="prov:used" resource="http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government#highcharts-0"></span>
+             <span property="prov:endedAtTime" datatype="xsd:dateTime">2012-04-25T03:40:00Z</span>
+        </span>
+        </p>
+ 
+        <p>
+        The post also had information taken from a January 2012 YouGov survey about the UK political system. 
+        Here are some results on civic participation:
+        </p>
+        <blockquote typeof="prov:Entity">
+        <ul>
+          <li>50% of men and 42% of women agreed or strongly agreed that being involved in 
+              politics was a good way to benefit groups that people care about such as pensioners and the disabled</li>
+          <li>Just over a quarter of men and only 15% of agreed or strongly agreed that involvement in politics was a good way to benefit themselves and their family</li>
+          <li>Over a third of both men and women felt that being involved in politics and public affairs took too much time and effort</li>
+        </ul>
+        <span property="prov:wasQuotedFrom" resource="http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government"></span>
+        </blockquote>
+        
+
+        <p>Overall, the post provides insight into the status of civic participation in the UK. </p>
+  </body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/presentations/iswc-2012/rdfa/blog-example.css	Thu Nov 08 12:13:00 2012 +0000
@@ -0,0 +1,47 @@
+body {
+width:600px;
+ font: 200 14px/1.5 Helvetica, Verdana, sans-serif;
+}
+ 
+h2 {
+  font: 400 40px/1.5 Helvetica, Verdana, sans-serif;
+  margin: 0;
+  padding: 0;
+}
+ 
+ul {
+  list-style-type: none;
+  margin: 0;
+  padding: 0;
+}
+
+blockquote {
+   border: 1px solid;
+   padding: 4px;
+}
+ 
+li {
+  border-bottom: 1px solid #ccc;
+}
+ 
+li:last-child {
+  border: none;
+}
+ 
+li a {
+  text-decoration: none;
+  color: #000;
+  display: block;
+  width: 200px;
+ 
+  -webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
+  -moz-transition: font-size 0.3s ease, background-color 0.3s ease;
+  -o-transition: font-size 0.3s ease, background-color 0.3s ease;
+  -ms-transition: font-size 0.3s ease, background-color 0.3s ease;
+  transition: font-size 0.3s ease, background-color 0.3s ease;
+}
+ 
+li a:hover {
+  font-size: 30px;
+  background: #f6f6f6;
+}
\ No newline at end of file
--- a/presentations/iswc-2012/rdfa/blog-example.html	Thu Nov 08 12:12:17 2012 +0000
+++ b/presentations/iswc-2012/rdfa/blog-example.html	Thu Nov 08 12:13:00 2012 +0000
@@ -1,31 +1,73 @@
 <!DOCTYPE html>
+
 <html>
-<head>
-<title>Civic participation in the UK</title>
-</head>
-<body>
-<h1>Civic Participation in the UK</h1>
-<p>
-The Guardian's Data Blog has an 
-<a href="http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government">interesting post</a> 
-by Ami Sedghi on how much the UK public trusts their government.
-</p>
-<p>
-An interesting part of the post is the information about civic participation. Here's a graph from the post:<br>
-<img src="graph.png"/>. 
-</p> 
-<p>
-The post post also had information taken from a January 2012 YouGov survey about the UK political system. 
-Here are some results on civic participation:
-<blockquote>
-<ul>
-<li>50% of men and 42% of women agreed or strongly agreed that being involved in politics was a good way to benefit groups that people care about such as pensioners and the disabled
-<li>Just over a quarter of men and only 15% of agreed or strongly agreed that involvement in politics was a good way to benefit themselves and their family
-<li>Over a third of both men and women felt that being involved in politics and public affairs took too much time and effort
-</ul>
-</blockquote>
-</p>
-Overall, the post provides insight into the status of civic participation in the UK. 
 
-</body>
-</html>
\ No newline at end of file
+  <head>
+    <title>Civic participation in the UK</title>
+    <link rel="stylesheet" type="text/css" href="blog-example.css" />
+  </head>
+
+  <body>
+    <h2>Civic Participation in the UK</h2>
+
+
+<div prefix="foaf: http://xmlns.com/foaf/0.1/
+             sioc: http://rdfs.org/sioc/ns#
+             sio:  http://semanticscience.org/resource/
+             dcat: http://www.w3.org/ns/dcat#
+             prov: http://www.w3.org/ns/prov#">
+  
+  <p>The Guardian's Data Blog has an
+    <a typeof="prov:Entity sioc:Post"
+       href="http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government">
+         <span rel="prov:wasAttributedTo"
+               resource="#ami">
+           <span property="foaf:homepage"
+                 resource="http://www.guardian.co.uk/profile/ami-sedghi"/>
+           <span rel="foaf:img"
+                 href="http://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2010/9/29/1285761333697/Ami-Sedghi-byline-pic-002.jpg"/>
+         </span>
+        interesting post
+    </a>
+    by <span about="#ami" typeof="foaf:Person prov:Person prov:Agent"
+             property="foaf:name">Ami Sedghi</span>
+    on how much the UK public trusts their government.
+    </p>
+  
+  <p>An interesting part of the post is the information about civic participation.
+     Here's a graph from the post:<br>
+    <span resource="#graph_data" typeof="dcat:Dataset">
+      <span rel="dcat:distribution" resource="#dist" typeof="dcat:Distribution">
+        <span rel="dcat:accessURL" resource="https://docs.google.com/spreadsheet/ccc?key=0AonYZs4MzlZbdG9rRnNhSjNIdE4zRE9MZ0VYMnhtVVE"/>
+      </span>
+      <span rel="prov:wasAttributedTo" resource="#yougov" typeof="foaf:Organization prov:Organization prov:Agent">
+        <span rel="foaf:homepage" href="http://yougov.com/"/>
+      </span>
+
+
+      <span resource="http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government#highcharts-0"
+            typeof="prov:Entity sio:SIO_000445">
+        <img typeof="prov:Entity sio:SIO_000445" rel="prov:hadDerivation" src="graph.png"/>
+      </span>
+    </span>.
+  </p>
+  
+</div>
+
+    <p>The post also had information taken from a January 2012 YouGov survey about the UK political system. 
+      Here are some results on civic participation:
+      <blockquote>
+        <ul>
+          <li>50% of men and 42% of women agreed or strongly agreed that being involved in 
+              politics was a good way to benefit groups that people care about such as pensioners and the disabled</li>
+          <li>Just over a quarter of men and only 15% of agreed or strongly agreed that involvement in politics was a good way to benefit themselves and their family</li>
+          <li>Over a third of both men and women felt that being involved in politics and public affairs took too much time and effort</li>
+        </ul>
+      </blockquote>
+    </p>
+
+    <p>Overall, the post provides insight into the status of civic participation in the UK. 
+    </p>
+  </body>
+
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/presentations/iswc-2012/rdfa/blog-example.ttl	Thu Nov 08 12:13:00 2012 +0000
@@ -0,0 +1,19 @@
[email protected] rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
[email protected] xsd: <http://www.w3.org/2001/XMLSchema#> .
[email protected] prov: <http://www.w3.org/ns/prov#>.
+
+<http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government>
+   rdf:type prov:Entity;
+   prov:wasAttributedTo <#ami> .
+<#ami>
+   rdf:type prov:Person .
+<graph.png>
+   rdf:type prov:Entity;
+   prov:wasDerivedFrom <http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government#highcharts-0> .
+<#screencapture>
+   rdf:type prov:Activity;
+   prov:used <http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government#highcharts-0>;
+   prov:endedAtTime "2012-04-25T03:40:00Z"^^xsd:dateTime .
+_:bnode
+   rdf:type prov:Entity;
+   prov:wasQuotedFrom <http://www.guardian.co.uk/news/datablog/2012/nov/02/happiness-index-how-much-trust-government> .
--- a/primer/Primer.html	Thu Nov 08 12:12:17 2012 +0000
+++ b/primer/Primer.html	Thu Nov 08 12:13:00 2012 +0000
@@ -40,6 +40,12 @@
      "Working Draft, "+
      "URL: <a href=\"http://www.w3.org/TR/prov-n/\">http://www.w3.org/TR/prov-n/</a>",
 
+    "PROV-XML":
+     "Hook Hua, Curt Tilmes, Stephan Zednik "+
+     "<a href=\"http://www.w3.org/TR/prov-xml/\"><cite>PROV-XML: The PROV XML Schema</cite></a>. "+
+     "Working Draft, "+
+     "URL: <a href=\"http://www.w3.org/TR/prov-xml/\">http://www.w3.org/TR/prov-xml/</a>",
+
     "PROV-AQ":
      "Graham Klyne, Paul Groth "+
      "<a href=\"http://www.w3.org/TR/prov-aq/\"><cite>PROV-AQ: Provenance Access and Query</cite></a>. "+
@@ -477,20 +483,22 @@
     as referred to by the author.
    </p>
    <p>
-    If a file, F, is copied from one directory to another, we may want to say that
-    these are both the same file, just in a different location. We may say that
-    the file in the first directory, F1, is a specialization of F, and that the
-    file in the second directory, F2, is a specialization of F. Note that it is
-    the context (location) rather than content of the file that changes in this case.
-   </p>
-   <p>
     The above are just some examples of where we may want to connect entities by
     saying that they refer to the same thing, but at different levels of specialization.
     PROV also allows us to more generally draw a connection between two descriptions
-    of the same thing, even if not at different levels of specialization. For example,
+    of the same thing, even if not at different levels of specialization, describing the
+    entities as <i>alternates</i> of each other. For example,
     two versions of the webpage above, W1 and W2, are alternates of each other because
     they describe the same webpage.
    </p>
+   <p>
+    As another example, if a file is copied from one directory to another, we may want to say that
+    (according to our model) these are both the same file, just in a different location.
+    We may say that the file in the first directory, F1, is an alternate of the 
+    file in the second directory, F2. Note that it is
+    the context (location) rather than content of the file that differs between the entities
+    in this case.
+   </p>
    <!--
    <h3>Alternate Entities and Specialization</h3>
    <p>
@@ -549,6 +557,7 @@
   <ul>
    <li>[[PROV-O]] RDF triples, expressed using the [[TURTLE]] notation.</li>
    <li>[[PROV-N]] expressions.</li>
+   <li>[[PROV-XML]] fragments.</li>
   </ul>
   <p>
    Select the formats to display using the buttons below. Note that if all formats
@@ -1077,7 +1086,7 @@
   agent(ex:chartgen,
         [prov:type='prov:Organization',
          foaf:name="Chart Generators Inc"])
-  actedOnBehalfOf(ex:derek, ex:chartgen, ex:compose)
+  actedOnBehalfOf(ex:derek, ex:chartgen)
     </pre>
    </div>
    <div class="provxml example">
@@ -1097,7 +1106,6 @@
   &lt;prov:actedOnBehalfOf&gt;
     &lt;prov:delegate prov:ref="ex:derek"/&gt;
     &lt;prov:responsible prov:ref="ex:chartgen"/&gt;
-    &lt;prov:activity prov:ref="ex:compose"/&gt;
   &lt;/prov:actedOnBehalfOf&gt;
     </pre>
    </div>
@@ -1610,6 +1618,9 @@
   &lt;prov:agent prov:id="ex:edith"&gt;
     &lt;prov:type&gt;prov:Person&lt;/prov:type&gt;
   &lt;/prov:agent&gt;
+  &lt;prov:entity prov:id="ex:instructions"&gt;
+    &lt;prov:type&gt;prov:Plan&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
     </pre>
    </div>
    <div class="turtle example">
@@ -1653,6 +1664,9 @@
     </pre>
    </div>
    <div class="provxml example">
+    <p>
+     In PROV-XML, the plan is an optional child of the wasAssociatedWith element.
+    </p>
     <div class="exampleheader">
      <span class="exampleheader"><b>XML Example</b>
       <a onclick="
@@ -1665,7 +1679,7 @@
   &lt;prov:wasAssociatedWith&gt;
     &lt;prov:activity prov:ref="ex:correct"/&gt;
     &lt;prov:agent prov:ref="ex:edith"/&gt;
-    &lt;prov:plan&gt;ex:instructions&lt;/prov:plan&gt;
+    &lt;prov:plan prov:ref="ex:instructions"/&gt;
   &lt;/prov:wasAssociatedWith&gt;
   &lt;prov:wasGeneratedBy&gt;
     &lt;prov:entity prov:ref="ex:dataSet2"/&gt;
@@ -2000,6 +2014,7 @@
    <li>Added buttons to hide all Turtle or PROV-N examples throughout document.</li>
    <li>Added XML examples throughout, including buttons to hide/show and a link to a supporting complete XML file.</li>
    <li>Rewritten intuition section on specialization and alternate to be clearer and more case-based.</li>
+   <li>Made actedOnBehalfOf examples consistent, not making explicit any activity to which the delegation was constrained.</li>
    <li>Fixed minor typos.</li>
   </ul>
  </section>
--- a/primer/primer-prov-xml-examples.xml	Thu Nov 08 12:12:17 2012 +0000
+++ b/primer/primer-prov-xml-examples.xml	Thu Nov 08 12:13:00 2012 +0000
@@ -86,7 +86,6 @@
   <prov:actedOnBehalfOf>
     <prov:delegate prov:ref="ex:derek"/>
     <prov:responsible prov:ref="ex:chartgen"/>
-    <prov:activity prov:ref="ex:compose"/>
   </prov:actedOnBehalfOf>
 
   <!-- Roles -->
@@ -218,4 +217,4 @@
     <prov:alternate2 prov:ref="ex:articleV2"/>
   </prov:alternateOf>
 
-</prov:document>
+</prov:document>
\ No newline at end of file
--- a/primer/primer-provn-examples.txt	Thu Nov 08 12:12:17 2012 +0000
+++ b/primer/primer-provn-examples.txt	Thu Nov 08 12:13:00 2012 +0000
@@ -35,12 +35,12 @@
 agent(ex:derek,
       [prov:type='prov:Person', foaf:givenName="Derek", 
        foaf:mbox="<mailto:[email protected]>"])
-    
+
 agent(ex:chartgen,
       [prov:type='prov:Organization',
        foaf:name="Chart Generators Inc"])
-actedOnBehalfOf(ex:derek, ex:chartgen, ex:compose)
-    
+actedOnBehalfOf(ex:derek, ex:chartgen)
+
 wasAttributedTo(ex:chart1, ex:derek)
     
 // Roles