missing prov:activity in provo eg
authorTim L <lebot@rpi.edu>
Mon, 03 Dec 2012 09:15:30 -0500
changeset 5268 d15f28b5d485
parent 5267 0037e9f8605b
child 5269 cf7e2c69d872
missing prov:activity in provo eg
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadGeneration.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadGeneration.ttl	Mon Dec 03 12:50:44 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadGeneration.ttl	Mon Dec 03 09:15:30 2012 -0500
@@ -2,9 +2,11 @@
 @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 ex:   <http://example.com/vocab#> .
 @prefix :     <http://example.com/> .
 
-:bar_chart   
+:bar_chart
+   a prov:Entity, ex:Chart;
    prov:wasDerivedFrom   :aggregatedByRegions;
    prov:qualifiedDerivation [
       a prov:Derivation;
@@ -13,20 +15,17 @@
    ];
 .
 
-:illustration   
-   a prov:Generation, 
+:aggregatedByRegions a ex:Dataset .
+
+:illustration
+   a prov:Generation,
      prov:InstantaneousEvent;
-   prov:atTime "2012-04-03T00:00:01Z"^^xsd:dateTime;
+   prov:activity :illustrationActivity;
+   prov:atTime   "2012-04-03T00:00:11Z"^^xsd:dateTime;
 .
 
-## An alternative way to express some of the above information
-
-:bar_chart   
-   prov:wasDerivedFrom :aggregatedByRegions;
-   prov:wasGeneratedBy :illustrationActivity;
+:illustrationActivity
+   a prov:Activity;
+   prov:startedAtTime "2012-04-03T00:00:00Z"^^xsd:dateTime;
+   prov:endedAtTime   "2012-04-03T00:00:25Z"^^xsd:dateTime;
 .
-
-:illustrationActivity   
-   a prov:Activity;
-   prov:endedAtTime "2012-04-03T00:00:01Z"^^xsd:dateTime;
-.