iswc presentation
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Sun, 11 Nov 2012 14:52:54 -0500
changeset 4728 bbf6bbb41f7a
parent 4725 309f90ed1d68
child 4729 123b86217c6d
iswc presentation
presentations/iswc-2012/prov-dm/overview/index2.html
presentations/iswc-2012/prov-dm/overview/primer.ttl
--- a/presentations/iswc-2012/prov-dm/overview/index2.html	Sun Nov 11 14:08:09 2012 -0500
+++ b/presentations/iswc-2012/prov-dm/overview/index2.html	Sun Nov 11 14:52:54 2012 -0500
@@ -968,56 +968,100 @@
 
 <div class="slide" id="prov-n2">
 
-	<h2>Example in PROV-N</h2>
+	<h2>Example in PROV-N (sample from primer)</h2>
 
 <div  style="font-size:small; max-width: 105%; ">
 <pre>
-document ex:process-view
-
-prefix ex  <http://example.org/>
-prefix w3      <http://www.w3.org/>
-prefix tr      <http://www.w3.org/TR/2011/>
-prefix process <http://www.w3.org/2005/10/Process-20051014/tr.html#>
-prefix email   <https://lists.w3.org/Archives/Member/w3c-archive/>
-prefix chairs  <https://lists.w3.org/Archives/Member/chairs/>
-prefix trans   <http://www.w3.org/2005/08/01-transitions.html#>
-prefix rec54   <http://www.w3.org/2001/02pd/rec54#>
-
-
-  entity(tr:WD-prov-dm-20111018, [ prov:type='rec54:WD' ])
-  entity(tr:WD-prov-dm-20111215, [ prov:type='rec54:WD' ])
-  entity(process:rec-advance,    [ prov:type='prov:Plan' ])
-
-
-  entity(chairs:2011OctDec/0004, [ prov:type='trans:transreq' ])
-  entity(email:2011Oct/0141,     [ prov:type='trans:pubreq' ])
-  entity(email:2011Dec/0111,     [ prov:type='trans:pubreq' ])
-
-
-  wasDerivedFrom(tr:WD-prov-dm-20111215, tr:WD-prov-dm-20111018)
-
-
-  activity(ex:act1,-,-,[prov:type="publish"])
-  activity(ex:act2,-,-,[prov:type="publish"])
-
-  wasGeneratedBy(tr:WD-prov-dm-20111018, ex:act1, -)
-  wasGeneratedBy(tr:WD-prov-dm-20111215, ex:act2, -)
-
-  used(ex:act1, chairs:2011OctDec/0004, -)
-  used(ex:act1, email:2011Oct/0141, -)
-  used(ex:act2, email:2011Dec/0111, -)
-
-  agent(w3:Consortium, [ prov:type='prov:Organization' ])
-
-  wasAssociatedWith(ex:act1, w3:Consortium, process:rec-advance)
-  wasAssociatedWith(ex:act2, w3:Consortium, process:rec-advance)
-
+document
+    prefix prov &lt;http://www.w3.org/ns/prov#&gt;
+
+    entity(ex:article,[dcterms:title = "Crime rises in cities" %% xsd:string])
+
+    activity(ex:correct,2012-03-31T09:21:00.000+01:00,2012-04-01T15:21:00.000+01:00)
+
+    used(ex:compose,ex:dataSet1,-)
+
+    wasGeneratedBy(ex:chart1,ex:compile,2012-03-02T10:30:00.000Z)
+
+    agent(ex:derek,[prov:type="prov:Person" %% xsd:string, foaf:givenName = "Derek" %% xsd:string, 
+                    foaf:mbox = "&lt;mailto:derek@example.org&gt;" %% xsd:string])
+
+    wasAssociatedWith(ex:illustrate,ex:derek,-)
+
+    actedOnBehalfOf(ex:derek,ex:chartgen,ex:compose)
+
+    wasDerivedFrom(ex:dataSet2, ex:dataSet1,[prov:type='prov:Revision'])
+
+    specializationOf(ex:articleV2,ex:article)
+
+    alternateOf(ex:articleV2,ex:articleV1)
 endDocument
 </pre>
 </div>
 </div>
 
 
+<div class="slide" id="prov-xml">
+
+	<h2>Example in PROV-XML (sample from primer)</h2>
+
+<div  style="font-size:small; max-width: 105%; ">
+<pre>
+&lt;prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:ex="http://example/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
+  &lt;prov:entity prov:id="ex:article"&gt;
+    &lt;dcterms:title xsi:type="xsd:string"&gt;Crime rises in cities&lt;/dcterms:title&gt;
+  &lt;/prov:entity&gt;
+
+  &lt;prov:activity prov:id="ex:correct"&gt;
+    &lt;prov:startTime&gt;2012-03-31T09:21:00.000+01:00&lt;/prov:startTime&gt;
+    &lt;prov:endTime&gt;2012-04-01T15:21:00.000+01:00&lt;/prov:endTime&gt;
+  &lt;/prov:activity&gt;
+
+  &lt;prov:used&gt;
+    &lt;prov:activity prov:ref="ex:compose"/&gt;
+    &lt;prov:entity prov:ref="ex:dataSet1"/&gt;
+  &lt;/prov:used&gt;
+
+  &lt;prov:wasGeneratedBy&gt;
+    &lt;prov:time&gt;2012-03-02T10:30:00.000Z&lt;/prov:time&gt;
+    &lt;prov:entity prov:ref="ex:chart1"/&gt;
+    &lt;prov:activity prov:ref="ex:compile"/&gt;
+  &lt;/prov:wasGeneratedBy&gt;
+
+  &lt;prov:agent prov:id="ex:derek"&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;prov:Person&lt;/prov:type&gt;
+    &lt;foaf:givenName xsi:type="xsd:string"&gt;Derek&lt;/foaf:givenName&gt;
+    &lt;foaf:mbox xsi:type="xsd:string"&gt;&lt;mailto:derek@example.org&gt;&lt;/foaf:mbox&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="ex:illustrate"/&gt;
+    &lt;prov:agent prov:ref="ex:derek"/&gt;
+  &lt;/prov:wasAssociatedWith&gt;
+
+  &lt;prov:actedOnBehalfOf&gt;
+    &lt;prov:subordinate 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;
+
+  &lt;prov:wasDerivedFrom&gt;
+    &lt;prov:generatedEntity prov:ref="ex:dataSet2"/&gt;
+    &lt;prov:usedEntity prov:ref="ex:dataSet1"/&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;prov:Revision&lt;/prov:type&gt;
+  &lt;/prov:wasDerivedFrom&gt;
+
+  &lt;prov:specializationOf&gt;
+    &lt;prov:specializedEntity prov:ref="ex:articleV1"/&gt;
+    &lt;prov:generalEntity prov:ref="ex:article"/&gt;
+  &lt;/prov:specializationOf&gt;
+
+&lt;/prov:document&gt;
+</pre>
+</div>
+</div>
+
+
 
 
 <div class="slide" id="layered1-4">
@@ -1279,6 +1323,8 @@
 
 	<h2>Validator Demo</h2>
 
+<p><a href="primer.ttl">Primer in turtle</a></p>
+
 
 </div>
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/presentations/iswc-2012/prov-dm/overview/primer.ttl	Sun Nov 11 14:52:54 2012 -0500
@@ -0,0 +1,135 @@
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix ex: <http://example/> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix xsi: <http://www.w3.org/2001/XMLSchema-instance> .
+
+
+ex:article a prov:Entity ;
+	dcterms:title "Crime rises in cities"^^xsd:string .
+
+ex:articleV1 a prov:Entity .
+
+ex:articleV2 a prov:Entity .
+
+ex:dataSet1 a prov:Entity .
+
+ex:dataSet2 a prov:Entity .
+
+ex:regionList a prov:Entity .
+
+ex:composition a prov:Entity .
+
+ex:chart1 a prov:Entity .
+
+ex:chart2 a prov:Entity .
+
+ex:blogEntry a prov:Entity .
+
+ex:compile a prov:Activity .
+
+ex:compile2 a prov:Activity .
+
+ex:compose a prov:Activity .
+
+ex:correct a prov:Activity ;
+	prov:startedAtTime "2012-03-31T09:21:00.000+01:00"^^xsd:dateTime ;
+	prov:endedAtTime "2012-04-01T15:21:00.000+01:00"^^xsd:dateTime .
+
+ex:illustrate a prov:Activity .
+
+ex:compose prov:used ex:dataSet1 , ex:regionList .
+
+ex:composition prov:wasGeneratedBy ex:compose .
+
+ex:illustrate prov:used ex:composition .
+
+ex:chart1 prov:wasGeneratedBy ex:illustrate .
+
+_:node17bojam6lx1 a prov:Generation ;
+	prov:activity ex:compile .
+
+ex:chart1 prov:qualifiedGeneration _:node17bojam6lx1 .
+
+_:node17bojam6lx1 prov:atTime "2012-03-02T10:30:00.000Z"^^xsd:dateTime .
+
+ex:chart1 prov:wasGeneratedBy ex:compile .
+
+_:node17bojam6lx2 a prov:Generation ;
+	prov:activity ex:compile2 .
+
+ex:chart2 prov:qualifiedGeneration _:node17bojam6lx2 .
+
+_:node17bojam6lx2 prov:atTime "2012-04-01T15:21:00.000+01:00"^^xsd:dateTime .
+
+ex:chart2 prov:wasGeneratedBy ex:compile2 .
+
+ex:derek a prov:Agent ;
+	prov:type "prov:Person"^^xsd:string ;
+	foaf:givenName "Derek"^^xsd:string ;
+	foaf:mbox "<mailto:derek@example.org>"^^xsd:string .
+
+ex:compose prov:wasAssociatedWith ex:derek .
+
+ex:illustrate prov:wasAssociatedWith ex:derek .
+
+ex:chartgen a prov:Agent ;
+	prov:type "prov:Organization"^^xsd:string ;
+	foaf:name "Chart Generators Inc"^^xsd:string .
+
+_:node17bojam6lx3 a prov:Delegation ;
+	prov:agent ex:chartgen .
+
+ex:derek prov:qualifiedDelegation _:node17bojam6lx3 .
+
+_:node17bojam6lx3 prov:hadActivity ex:compose .
+
+ex:derek prov:actedOnBehalfOf ex:chartgen .
+
+ex:chart1 prov:wasAttributedTo ex:derek .
+
+_:node17bojam6lx4 a prov:Usage ;
+	prov:entity ex:dataSet1 .
+
+ex:compose prov:qualifiedUsage _:node17bojam6lx4 .
+
+_:node17bojam6lx4 prov:role "ex:dataToCompose"^^xsd:string .
+
+_:node17bojam6lx5 a prov:Usage ;
+	prov:entity ex:regionList .
+
+ex:compose prov:qualifiedUsage _:node17bojam6lx5 .
+
+_:node17bojam6lx5 prov:role "ex:regionsToAggregateBy"^^xsd:string .
+
+ex:dataSet2 prov:wasGeneratedBy ex:correct .
+
+ex:correct prov:used ex:dataSet1 .
+
+_:node17bojam6lx6 a prov:Derivation ;
+	prov:entity ex:dataSet1 .
+
+ex:dataSet2 prov:qualifiedDerivation _:node17bojam6lx6 .
+
+_:node17bojam6lx6 prov:type "prov:Revision"^^xsd:QName .
+
+ex:dataSet2 prov:wasDerivedFrom ex:dataSet1 .
+
+ex:chart2 prov:wasDerivedFrom ex:dataSet2 .
+
+_:node17bojam6lx7 a prov:Derivation ;
+	prov:entity ex:article .
+
+ex:blogEntry prov:qualifiedDerivation _:node17bojam6lx7 .
+
+_:node17bojam6lx7 prov:type "prov:Quotation"^^xsd:QName .
+
+ex:blogEntry prov:wasDerivedFrom ex:article .
+
+ex:articleV1 prov:specializationOf ex:article ;
+	prov:wasDerivedFrom ex:dataSet1 .
+
+ex:articleV2 prov:specializationOf ex:article ;
+	prov:wasDerivedFrom ex:dataSet2 ;
+	prov:alternateOf ex:articleV1 .