merged with KB/examples
authorPaolo Missier <pmissier@acm.org>
Mon, 23 Apr 2012 16:23:14 +0200
changeset 2446 f5094ac1d2b8
parent 2445 0fb0672dc000 (current diff)
parent 2444 7f8fd09d7f72 (diff)
child 2448 ed0c2c819ed4
merged with KB/examples
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Agent.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Agent.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -3,5 +3,17 @@
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/>
 
-# TODO
+   :derek
+      a prov:Agent, foaf:Person;
+      foaf:givenName      "Derek"^^xsd:string;
+      foaf:mbox           <mailto:dererk@example.org>;
+	  foaf:homePage       <http://dereck.example.com>;
+      prov:actedOnBehalfOf :chartgen;
+   .
+
+   :chartgen 
+      a prov:Agent, prov:Organization, foaf:Organization;
+      foaf:name "Chart Generators, Inc.";
+   . 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Entity.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Entity.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -2,6 +2,6 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix ex:     <http://example.com/> .
 
-# TODO
+ex:bar_chart a prov:Entity.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_actedOnBehalfOf.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_actedOnBehalfOf.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -2,6 +2,12 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix ex:     <http://example.com/> .
 
-# TODO
+ex:derek
+   a prov:Agent;
+   a foaf:Person;
+   foaf:givenName "Derek"^^xsd:string;
+   foaf:mbox      <mailto:dererk@example.org>;
+   prov:actedOnBehalfOf ex:chartgen 
+.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_used.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_used.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -2,6 +2,9 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix ex:     <http://example.com/> .
 
-# TODO
+ex:illustrationActivity 
+   a prov:Activity; 
+   prov:used              ex:aggregatedByRegions
+.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasAssociatedWith.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasAssociatedWith.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -2,6 +2,8 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix ex:     <http://example.com/> .
 
-# TODO
+ex:illustrationActivity 
+   a prov:Activity; 
+   prov:wasAssociatedWith ex:derek.
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasAttributedTo.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasAttributedTo.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -2,6 +2,8 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix ex:     <http://example.com/> .
 
-# TODO
+ex:nationalRegionsList 
+   a prov:Entity;
+   prov:wasAttributedTo ex:civil_action_group.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasDerivedFrom.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasDerivedFrom.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -2,6 +2,6 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix ex:     <http://example.com/> .
 
-# TODO
+ex:bar_chart   prov:wasDerivedFrom ex:aggregatedByRegions.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasGeneratedBy.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasGeneratedBy.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -2,6 +2,9 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix ex:     <http://example.com/> .
 
-# TODO
+ex:bar_chart
+   a prov:Entity;
+   prov:wasGeneratedBy ex:illustrationActivity
+.   
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasInformedBy.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasInformedBy.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -2,6 +2,6 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix ex:     <http://example.com/> .
 
-# TODO
+ex:illustrationActivity    prov:wasInformedBy     ex:aggregationActivity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasStartedByActivity.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasStartedByActivity.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -2,6 +2,8 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix ex:     <http://example.com/> .
 
-# TODO
+ex:workflow a prov:Activity .
+ex:subWorkflow a prov:Activity .
+ex:subWorkflow prov:wasStartedByActivity prov:Workflow .
\ No newline at end of file
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl	Mon Apr 23 16:21:40 2012 +0200
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl	Mon Apr 23 16:23:14 2012 +0200
@@ -15,11 +15,32 @@
 		a prov:Agent;
 	.
 	
+	#Rows of the post quoting post ex:post9821v1
+	ex:quote1
+		a prov:Entity;
+		ex:value "Analysis of the datasets demonstrate that there is more crime";
+		wasQuotedFrom ex:post9821v1.
+		
+	#Rows of the post quoting post ex:post9821v2
+	ex:quote2
+		a prov:Entity;
+		ex:value "In sumary, there are clearly more crimes in the country";
+		wasQuotedFrom ex:post9821v2.
+	
+	ex:publicationActivity1123
+		a prov:Axtivity;
+		prov:used ex:quote1,
+		          ex:quote2,
+				  ex:aggregatedByRegions;
+		prov:generated ex:post19201.
+		
+	
 	ex:post19201
 		a prov:Entity, sioc:Post;
 		prov:wasAttributedTo   ex:john;
-      prov:wasQuotedFrom     ex:post9821v1, 
-                             ex:post9821v2;
+        prov:wasDerivedFrom    ex:post9821v1, 
+                               ex:post9821v2;
+		prov:wasGeneratedBy    ex:publicationActivity1123;
 		prov:hadOriginalSource ex:aggregatedByRegions;
 	.
 }