extended egs provo
authorTim L <lebot@rpi.edu>
Sun, 25 Nov 2012 13:55:00 -0500
changeset 4987 e7838d4f3246
parent 4986 0f0af853f3f6
child 4988 ffcdf8500a15
extended egs provo
examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl
examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1_a.ttl
examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl
examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt4.ttl
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Sun Nov 25 13:43:14 2012 -0500
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Sun Nov 25 13:55:00 2012 -0500
@@ -5,7 +5,8 @@
 @prefix my:   <http://example.org/my#> .
 @prefix :     <http://example.org#> .
 
-<> a prov:Bundle, prov:Entity ;
+<> 
+   a prov:Bundle, prov:Entity;
    prov:wasAttributedTo :postEditor;
    prov:generatedAtTime "2011-07-16T02:52:02Z"^^xsd:dateTime;
    :involvedUser        :derek.
@@ -41,7 +42,7 @@
 
 :more-crime-happens-in-cities
    a prov:Location, sioc:Post, prov:Entity;
-   sioc:latest_version :post9821v2;
+   sioc:latest_version   :post9821v2;
    sioc:previous_version :post9821v1;
 .
 
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1_a.ttl	Sun Nov 25 13:43:14 2012 -0500
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1_a.ttl	Sun Nov 25 13:55:00 2012 -0500
@@ -5,29 +5,30 @@
 @prefix my:   <http://example.org#my> .
 @prefix :     <http://example.org#> .
 
-
-   <> a prov:Bundle, prov:Entity ;
-      prov:wasAttributedTo :postEditor;
-	  prov:generatedAtTime "2011-07-16T20:52:02Z"^^xsd:dateTime;
-	  :involvedUser        :monica .
-
-   :monica
-      a prov:Person, prov:Agent, foaf:Person;
-      foaf:givenName "Monica"^^xsd:string;
-      foaf:mbox      <mailto:monica@example.org>
-   .
+<>
+   a prov:Bundle, prov:Entity ;
+   prov:wasAttributedTo :postEditor;
+   prov:generatedAtTime "2011-07-16T20:52:02Z"^^xsd:dateTime;
+   :involvedUser        :monica;
+.
 
-   ## Rephrasing of the post in a new resource for a different audience
+:monica
+   a prov:Person, prov:Agent, foaf:Person;
+   foaf:givenName "Monica"^^xsd:string;
+   foaf:mbox      <mailto:monica@example.org>
+.
 
-   :post9822
-      a prov:Entity, sioc:Post;
-      prov:atLocation       :more-crime-happens-in-cities-for-dummies; ## PERMALINK to the (latest revision of the) post
-      my:snapshotContent    :postContent2;                             ## Snapshot with the content of this version
-      prov:alternateOf      :post9821v2;                               ## This post is an alternate of the second version modified by Derek.
-      prov:specializationOf :more-crime-happens-in-cities;             ## This post is an specialization of the post initially created by Derek.
-      prov:wasInfluencedBy  :aggregatedByRegions;                      ## If the file hadn't existed, Monica would have not written the post. 
-                                                                       ## However the file is not what Monica used as primary source for writting the new post,
-                                                                       ## so we can't consider the post to have "been derived from" it.
-      sioc:title "More crime happens in cities (for dummies)"^^xsd:string;
-      prov:wasAttributedTo :monica;
-   .
+## Revised post for a different audience is a new resource.
+
+:post9822
+   a sioc:Post, prov:Entity;
+   sioc:title "More crime happens in cities (for dummies)";
+   prov:wasAttributedTo  :monica;
+   prov:atLocation       :more-crime-happens-in-cities-for-dummies; ## PERMALINK to the (latest revision of the) post
+   my:snapshotContent    :postContent2;                             ## Snapshot with the content of this version
+   prov:specializationOf :more-crime-happens-in-cities;             ## This post is an specialization of the post initially created by Derek.
+   prov:alternateOf      :post9821v2;                               ## This post is an alternate of the second version modified by Derek.
+   prov:wasInfluencedBy  :aggregatedByRegions;                      ## If the file hadn't existed, Monica would have not written the post.
+                                                                    ## However the file is not what Monica used as primary source for writting the new post,
+                                                                    ## so we can't consider the post to have "been derived from" it.
+.
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl	Sun Nov 25 13:43:14 2012 -0500
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl	Sun Nov 25 13:55:00 2012 -0500
@@ -4,43 +4,44 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.org#> .
 
-
-   <> a prov:Bundle, prov:Entity;
-	  prov:wasAttributedTo :postEditor;
-	  prov:generatedAtTime "2012-04-03T13:35:23Z"^^xsd:dateTime;
-	  :involvedUser :john.
-   .
-   
-   :john 
-      a prov:Agent;
-   .
-   
-   # Rows of the post quoting post :post9821v1
-
-   :quote1
-      a prov:Entity;
-      prov:value "Analysis of the datasets demonstrate that there is more crime";
-      prov:wasQuotedFrom :post9821v1.
-      
-   # Rows of the post quoting post :post9821v2
+<> 
+   a prov:Bundle, prov:Entity;
+   prov:wasAttributedTo :postEditor;
+   prov:generatedAtTime "2012-04-03T13:35:23Z"^^xsd:dateTime;
+   :involvedUser :john.
+.
 
-   :quote2
-      a prov:Entity;
-      prov:value "In sumary, there are clearly more crimes in the country";
-      prov:wasQuotedFrom :post9821v2.
+:john a prov:Agent .
+
+# Rows of the post quoting post :post9821v1
+
+:quote1
+   a prov:Entity;
+   prov:value "Analysis of the datasets demonstrate that there is more crime";
+   prov:wasQuotedFrom :post9821v1;
+.
    
-   :publicationActivity1124
-      a prov:Activity;
-      prov:used :quote1,
-                :quote2,
-                :aggregatedByRegions;
-      prov:generated :post19201.
-   
-   :post19201
-      a prov:Entity, sioc:Post;
-      prov:wasAttributedTo   :john;
-      prov:wasDerivedFrom    :post9821v1, 
-                             :post9821v2;
-      prov:wasGeneratedBy    :publicationActivity1124;
-      prov:hadPrimarySource :aggregatedByRegions;
-   .
+# Rows of the post quoting post :post9821v2
+
+:quote2
+   a prov:Entity;
+   prov:value "In sumary, there are clearly more crimes in the country";
+   prov:wasQuotedFrom :post9821v2;
+.
+
+:publicationActivity1124
+   a prov:Activity;
+   prov:used :quote1,
+             :quote2,
+             :aggregatedByRegions;
+   prov:generated :post19201;
+.
+
+:post19201
+   a sioc:Post, prov:Entity;
+   prov:wasAttributedTo  :john;
+   prov:wasDerivedFrom   :post9821v1, 
+                         :post9821v2;
+   prov:wasGeneratedBy   :publicationActivity1124;
+   prov:hadPrimarySource :aggregatedByRegions;
+.
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt4.ttl	Sun Nov 25 13:43:14 2012 -0500
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt4.ttl	Sun Nov 25 13:55:00 2012 -0500
@@ -5,12 +5,12 @@
 @prefix :     <http://example.org#> .
 
 :post19201
-   a prov:Entity, sioc:Post;
+   a sioc:Post, prov:Entity;
    prov:invalidatedAtTime "2012-09-02T01:31:00Z"^^xsd:dateTime;
    prov:wasInvalidatedBy :hard_disk_failure;
 .
 
 :hard_disk_failure
    a prov:Activity;
-   prov:wasEndedAt "2012-09-02T01:31:00Z"^^xsd:dateTime;
+   prov:endedAtTime "2012-09-02T01:31:00Z"^^xsd:dateTime;
 .