extended egs
authorTim L <lebot@rpi.edu>
Sun, 25 Nov 2012 16:08:45 -0500
changeset 4995 4f4f32623c70
parent 4994 18a9e5ab4af9
child 4996 92a4a56bb881
extended egs
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
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Sun Nov 25 15:52:30 2012 -0500
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Sun Nov 25 16:08:45 2012 -0500
@@ -2,7 +2,7 @@
 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
 @prefix sioc: <http://rdfs.org/sioc/ns#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix my:   <http://example.org/my#> .
+@prefix my:   <http://example.org/vocab#> .
 @prefix :     <http://example.org#> .
 
 <> 
@@ -13,7 +13,7 @@
 
 :derek
    a prov:Person, prov:Agent, foaf:Person; ## prov:Agent is inferred from prov:Person
-   foaf:givenName      "Derek"^^xsd:string;
+   foaf:givenName      "Derek";
    foaf:mbox           <mailto:derek@example.org>;
    prov:actedOnBehalfOf :national_newspaper_inc;
 .
@@ -50,7 +50,7 @@
 
 :post9821v1
    a sioc:Post, prov:Entity;   
-   sioc:title "More crime happens in cities"^^xsd:string;
+   sioc:title "More crime happens in cities";
    prov:wasGeneratedBy :publicationActivity1123;
    prov:atLocation     :more-crime-happens-in-cities;  ## PERMALINK to the (latest revision of the) post
    my:snapshotContent  :postContent0;                  ## Snapshot with the content of this version
@@ -74,12 +74,12 @@
 
 :publicationActivity1123 
    a prov:Activity;
+   prov:wasStartedBy      :derek;
    prov:startedAtTime     "2011-07-16T01:01:01Z"^^xsd:dateTime;
-   prov:endedAtTime       "2011-07-16T01:52:02Z"^^xsd:dateTime;
    prov:wasAssociatedWith :derek,
                           :postEditor;
    prov:used              :aggregatedByRegions;   
    prov:generated         :post9821v1;
-   prov:wasStartedBy      :derek;
    prov:wasEndedBy        :derek;
+   prov:endedAtTime       "2011-07-16T01:52:02Z"^^xsd:dateTime;
 .
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1_a.ttl	Sun Nov 25 15:52:30 2012 -0500
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1_a.ttl	Sun Nov 25 16:08:45 2012 -0500
@@ -14,7 +14,7 @@
 
 :monica
    a prov:Person, prov:Agent, foaf:Person;
-   foaf:givenName "Monica"^^xsd:string;
+   foaf:givenName "Monica";
    foaf:mbox      <mailto:monica@example.org>
 .
 
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl	Sun Nov 25 15:52:30 2012 -0500
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl	Sun Nov 25 16:08:45 2012 -0500
@@ -11,13 +11,16 @@
    :involvedUser :john.
 .
 
-:john a prov:Agent .
+:john 
+   a prov:Person, prov:Agent;
+   foaf:name "John";
+.
 
 # Rows of the post quoting post :post9821v1
 
 :quote1
    a prov:Entity;
-   prov:value "Analysis of the datasets demonstrate that there is more crime";
+   prov:value "Analysis of the datasets demonstrates that there is more crime.";
    prov:wasQuotedFrom :post9821v1;
 .
    
@@ -25,7 +28,7 @@
 
 :quote2
    a prov:Entity;
-   prov:value "In sumary, there are clearly more crimes in the country";
+   prov:value "In summary, there are clearly more crimes in the country.";
    prov:wasQuotedFrom :post9821v2;
 .