Changes adding Location, Person and generatedAtTime
authordgarijo
Thu, 31 May 2012 16:51:10 +0200
changeset 3125 09954d4250d1
parent 3124 35b322dd0d96
child 3126 0356bc3e7d57
Changes adding Location, Person and generatedAtTime
examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Thu May 31 16:38:52 2012 +0200
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Thu May 31 16:51:10 2012 +0200
@@ -9,20 +9,20 @@
    ex:bundlePost a prov:Bundle .
 
    ex:derek
-      a prov:Agent, foaf:Person;
+      a prov:Person, prov:Agent, foaf:Person; ## Typically prov:Agent will be inferred from prov:Person
       foaf:givenName      "Derek"^^xsd:string;
       foaf:mbox           <mailto:dererk@example.org>;
       prov:actedOnBehalfOf ex:chartgen;
    .
 
    ex:monica
-      a prov:Agent, foaf:Person;
+      a prov:Person, prov:Agent, foaf:Person;
       foaf:givenName "Monica"^^xsd:string;
       foaf:mbox      <mailto:monica@example.org>
    .
 
    ex:chartgen 
-      a prov:Agent, prov:Organization;
+      a prov:Organization, prov:Agent;       ##Typically prov:Organization will be inferred from prov:Person
       foaf:name "Chart Generators, Inc.";
    . 
 
@@ -30,6 +30,12 @@
       a prov:Entity;
       prov:atLocation <file://Users/aggr.txt>;
    .
+   
+   ex:more-crime-happens-in-cities
+	  a prov:Location, sioc:Post, prov:Entity;
+	  sioc:latest_version ex:post9821v1;
+	  sioc:previous_version ex:post9821;
+   .
 
    ex:post9821 
       a prov:Entity, sioc:Post;   
@@ -38,7 +44,8 @@
       ex:snapshotContent  ex:postContent0;                  ## Snapshot with the content of this version
       sioc:title "More crime happens in cities"^^xsd:string;
       prov:hadOriginalSource ex:aggregatedByRegions;
-      prov:wasAttributedTo   ex:derek
+      prov:wasAttributedTo   ex:derek;
+	  prov:generatedAtTime "2011-07-16T01:52:02Z"^^xsd:dateTime;
    .
 
    ## Version 2 of the post