Merge
authorSimon Miles <simon.miles@kcl.ac.uk>
Sun, 01 Apr 2012 16:08:56 +0100
changeset 2146 5d34cb7bd4a2
parent 2145 b1c7373a02e1 (current diff)
parent 2144 3369289fe002 (diff)
child 2147 8c129b571fb2
Merge
--- a/ontology/khalid-jun-dropbox/eg16-journalism-qualified-association.ttl	Sun Apr 01 16:08:31 2012 +0100
+++ b/ontology/khalid-jun-dropbox/eg16-journalism-qualified-association.ttl	Sun Apr 01 16:08:56 2012 +0100
@@ -1,14 +1,18 @@
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.org#> .
+
 ### what recipe (a plan) did Dereck (an agent) follow to create the graphical chart
 
 ### simple expression using prov-o core
-ex:illustrationActivity    prov:wasAssociatedWith ex:derek .
+ex:illustrationActivity prov:wasAssociatedWith ex:derek .
 
 ### more complex expression using prov-o qualified
 ex:illustrationActivity
-		prov:qualifiedAssociation [
-			a  prov:Association ;
-			prov:hadPlan	ex:plan1 ;
-			prov:agent 	   ex:derek
-		] .
+   prov:qualifiedAssociation [
+      a prov:Association;
+      prov:hadPlan ex:plan1;
+      prov:agent   ex:derek
+   ];
+.
 
-ex:plan1	a 	prov:Plan, prov:Entity .
+ex:plan1 a prov:Plan, prov:Entity .
--- a/ontology/khalid-jun-dropbox/eg16-journalism-qualified-derivation.ttl	Sun Apr 01 16:08:31 2012 +0100
+++ b/ontology/khalid-jun-dropbox/eg16-journalism-qualified-derivation.ttl	Sun Apr 01 16:08:56 2012 +0100
@@ -1,15 +1,24 @@
-#### we know that the chart was derived from the aggregated data, but what else do we know about this derivation? when did it happen etc?
-
-### The example is quite contentious at the moment because we have not settled down on derivation modeling yet.
-
-### this is what we can express using the core classes and properties
-ex:chart1     prov:wasDerivedFrom     ex:aggregate1 .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.org#> .
 
-
-### this is what we can express using qualified relationships to talk more about the derivation relationship between the chart and the aggregated data, such as when the derivation took place, what activity was involved in the derivation 
+# The chart's derivation from the aggregate can be expressed 
+# using the Starting Point classes and properties.
+ex:chart1
+   a prov:Entity;
+   prov:wasDerivedFrom ex:aggregate1;
+.
+ex:aggregate1 a prov:Entity .
 
-ex:chart1	prov:qualifiedDerivation   [
-			a prov:Derivation ;
-			prov:entity	ex:aggregate1 ;		
-			prov:atTime	""^^xsd:dateTime 	
-		].
\ No newline at end of file
+# How can we provide additional information about the derivation? For example, when did it happen?
+# Qualified relationships enable one to talk more about the derivation between the chart and the aggregated data,
+# such as when the derivation took place, what activity was involved in the derivation.
+
+ex:chart1
+   prov:wasDerivedFrom ex:aggregate1;
+   prov:qualifiedDerivation   [
+      a prov:Derivation;
+      prov:entity	ex:aggregate1;		
+      prov:atTime	"2011-07-14T03:03:03Z"^^xsd:dateTime;
+   ];
+.
--- a/ontology/khalid-jun-dropbox/eg16-journalism-qualified-generation.ttl	Sun Apr 01 16:08:31 2012 +0100
+++ b/ontology/khalid-jun-dropbox/eg16-journalism-qualified-generation.ttl	Sun Apr 01 16:08:56 2012 +0100
@@ -1,13 +1,15 @@
-#### we know that the chart was generated in a graph creation process, but what else do we know about this generation activity? when did it happen etc? what entity was used in this activity?
-
-### this is what we can express using the core classes and properties
-ex:chart1     prov:wasGeneratedBy ex:illustrationActivity .
-
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.org#> .
 
-### this is what we can express using qualified relationships to talk more about the generation activity
+# The chart was generated in an illustration activity.
+ex:chart1 prov:wasGeneratedBy ex:illustrationActivity .
 
-ex:chart1	prov:qualifiedGeneration  [
-			a prov:Generation ;
-			prov:activity	ex:illustrationActivity ;
-			prov:atTime	prov:wasStartedAt   "2011-07-14T15:52:14Z"^^xsd:dateTime ;
-		] .
\ No newline at end of file
+# Qualification: The chart was generated at a particular time.
+ex:chart1
+   prov:qualifiedGeneration [
+      a prov:Generation;
+      prov:activity ex:illustrationActivity;
+      prov:atTime "2011-07-14T15:52:14Z"^^xsd:dateTime;
+   ];
+.
--- a/ontology/khalid-jun-dropbox/eg16-journalism-qualified-usage.ttl	Sun Apr 01 16:08:31 2012 +0100
+++ b/ontology/khalid-jun-dropbox/eg16-journalism-qualified-usage.ttl	Sun Apr 01 16:08:56 2012 +0100
@@ -1,9 +1,16 @@
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.org#> .
 
-### When was the aggregated data used to create the chart?
+# The aggregated data was used to create the chart.
+ex:illustrationActivity prov:used ex:aggregate1 .
 
+# Qualification: The aggregated data was used a particular time when creating the chart.
 ex:illustrationActivity		
-		prov:qualifiedUsage  [
-			a  prov:Usage ;
-			prov:entity	ex:aggregate1 ;
-			prov:atTime	""^^xsd:dateTime 		
-		] .
+   prov:used ex:aggregate1 .
+   prov:qualifiedUsage  [
+      a prov:Usage;
+      prov:entity ex:aggregate1;
+      prov:atTime ""^^xsd:dateTime 		
+   ];
+.
--- a/ontology/khalid-jun-dropbox/eg16-journalism-simple-without-comments.ttl	Sun Apr 01 16:08:31 2012 +0100
+++ b/ontology/khalid-jun-dropbox/eg16-journalism-simple-without-comments.ttl	Sun Apr 01 16:08:56 2012 +0100
@@ -8,8 +8,8 @@
    prov:used              ex:dataSet1 ;
    prov:used              ex:regionList1 ;
    prov:wasAssociatedWith ex:derek ;
-   prov:wasStartedAt      "2011-07-14T15:02:14Z"^^xsd:dateTime ;
-   prov:wasEndedAt        "2011-07-14T15:34:14Z"^^xsd:dateTime ;
+   prov:wasStartedAt      "2011-07-14T01:01:01Z"^^xsd:dateTime ;
+   prov:wasEndedAt        "2011-07-14T02:02:02Z"^^xsd:dateTime ;
 .
 
 ex:aggregate1 prov:wasGeneratedBy ex:aggregationActivity .
--- a/ontology/khalid-jun-dropbox/eg16-journalism-simple.ttl	Sun Apr 01 16:08:31 2012 +0100
+++ b/ontology/khalid-jun-dropbox/eg16-journalism-simple.ttl	Sun Apr 01 16:08:56 2012 +0100
@@ -1,3 +1,8 @@
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix ex:   <http://example.org#> .
+
 ### in the first step, aggregate data by region, using raw dataset ex:dataSet1 and a list of regions ex:regionList1, and it genreated a new entity, ex:aggregated
 
 ex:aggregationActivity a prov:Activity ;
@@ -6,7 +11,9 @@
 
 ex:aggregate1          prov:wasGeneratedBy ex:aggregationActivity .
 
-ex:regionList1, ex:dataSet1, ex:aggregate1 a prov:Entity .
+ex:regionList1 a prov:Entity .
+ex:dataSet1    a prov:Entity .
+ex:aggregate1  a prov:Entity .
 
 ### in the second step, a graphical chart was created using the aggregated data
 
@@ -21,7 +28,7 @@
 ex:chart1     prov:wasDerivedFrom     ex:aggregate1 .
 
 
-==== Agent ====
+# ==== Agent ====
 ### Derek was involved in both the aggregation and chart creation activities: 
 
 ex:aggregationActivity     prov:wasAssociatedWith ex:derek .
@@ -32,7 +39,7 @@
 	       foaf:givenName "Derek"^^xsd:string ;
                foaf:mbox      <mailto:dererk@example.org> .
 
-==== actedOnBehalfOf ====
+# ==== actedOnBehalfOf ====
 
 ### Derek works as part of an organization, Chart Generators, and so the provenance declares that he acts on their behalf. 
 
@@ -42,13 +49,14 @@
             a prov:Organization ;
             foaf:name "Chart Generators" .
 
-==== wasInformedBy ====
+# ==== wasInformedBy ====
 ### the chart creation is dependent on the aggregation activity
 
 ex:illustrationActivity     prov:wasInformedBy		ex:aggregationActivity .
 
-==== wasAttributedTo ====
+# ==== wasAttributedTo ====
 
 ### the aggregated data and the chart should all be attributed to Derek
 
-ex:aggregate1, ex:chart1   prov:wasAttributedTo 	ex:derek .
+ex:aggregate1 prov:wasAttributedTo 	ex:derek .
+ex:chart1   prov:wasAttributedTo 	ex:derek .