fixed spacing
authorTim L <lebot@rpi.edu>
Mon, 18 Jun 2012 09:38:09 -0700
changeset 3395 3ab4e6e914bf
parent 3394 eca3ed507ac6
child 3396 9855a377af9a
fixed spacing
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-pt4.ttl
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Mon Jun 18 09:32:04 2012 -0700
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Mon Jun 18 09:38:09 2012 -0700
@@ -2,75 +2,76 @@
 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
 @prefix sioc: <http://rdfs.org/sioc/ns#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix ex:   <http://example.org#> .
+@prefix my:   <http://example.org/my#> .
+@prefix :     <http://example.org#> .
 
-ex:bundlePost {
+:bundlePost {
 
-   ex:bundlePost a prov:Bundle .
+   :bundlePost a prov:Bundle .
 
-   ex:derek
+   :derek
       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;
+      prov:actedOnBehalfOf :chartgen;
    .
 
-   ex:chartgen 
+   :chartgen 
       a prov:Organization, prov:Agent;       ## Typically prov:Agent will be inferred from prov:Organization
       foaf:name "Chart Generators, Inc.";
    .
 
-   ex:postEditor 
+   :postEditor 
       a prov:SoftwareAgent, prov:Agent;      ## Typically prov:Agent will be inferred from prov:SoftwareAgent
       foaf:name "Post Editor 3000";
    .   
 
-   ex:aggregatedByRegions
+   :aggregatedByRegions
       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:post9821v2;
-	  sioc:previous_version ex:post9821v1;
+   :more-crime-happens-in-cities
+    a prov:Location, sioc:Post, prov:Entity;
+    sioc:latest_version :post9821v2;
+    sioc:previous_version :post9821v1;
    .
 
    ## Version 1 of the post
    
-   ex:post9821v1
+   :post9821v1
       a prov:Entity, sioc:Post;   
-      prov:wasGeneratedBy ex:publicationActivity1123;
-      prov:atLocation     ex:more-crime-happens-in-cities;  ## PERMALINK to the (latest revision of the) post
-      ex:snapshotContent  ex:postContent0;                  ## Snapshot with the content of this version
+      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
       sioc:title "More crime happens in cities"^^xsd:string;
-      prov:hadOriginalSource ex:aggregatedByRegions;        ## This version of the post used the file "aggregatedByRegions" as a primary source. 
-					## Since the author stated that he based his post in the file, 
-					## the system used this relationship to keep the attribution clear.
-      prov:wasAttributedTo   ex:derek;
-	  prov:generatedAtTime "2011-07-16T01:52:02Z"^^xsd:dateTime;
+      prov:hadOriginalSource :aggregatedByRegions;        ## This version of the post used the file "aggregatedByRegions" as a primary source. 
+                                                          ## Since the author stated that he based his post in the file, 
+                                                          ## the system used this relationship to keep the attribution clear.
+      prov:wasAttributedTo   :derek;
+      prov:generatedAtTime "2011-07-16T01:52:02Z"^^xsd:dateTime;
    .
 
    ## Version 2 of the post
 
-   ex:post9821v2
+   :post9821v2
       a prov:Entity, sioc:Post;
-      prov:atLocation       ex:more-crime-happens-in-cities;  ## PERMALINK to the (latest revision of the) post
-      ex:snapshotContent    ex:postContent1;                  ## Snapshot with the content of this version
-      prov:wasRevisionOf    ex:post9821v1;
-      prov:specializationOf ex:post9821v1;
-      prov:wasAttributedTo  ex:derek;
+      prov:atLocation       :more-crime-happens-in-cities;  ## PERMALINK to the (latest revision of the) post
+      my:snapshotContent    :postContent1;                  ## Snapshot with the content of this version
+      prov:wasRevisionOf    :post9821v1;
+      prov:specializationOf :post9821v1;
+      prov:wasAttributedTo  :derek;
    .
 
-   ex:publicationActivity1123 
+   :publicationActivity1123 
       a prov:Activity;
       prov:wasStartedAt      "2011-07-16T01:01:01Z"^^xsd:dateTime;
       prov:wasEndedAt        "2011-07-16T01:52:02Z"^^xsd:dateTime;
-      prov:wasAssociatedWith ex:derek,
-	                         ex:postEditor;
-      prov:used              ex:aggregatedByRegions;   
-      prov:generated         ex:post9821v1;
-      prov:wasStartedBy      ex:derek;
-      prov:wasEndedBy        ex:derek
+      prov:wasAssociatedWith :derek,
+                             :postEditor;
+      prov:used              :aggregatedByRegions;   
+      prov:generated         :post9821v1;
+      prov:wasStartedBy      :derek;
+      prov:wasEndedBy        :derek
    .
 }
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1_a.ttl	Mon Jun 18 09:32:04 2012 -0700
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1_a.ttl	Mon Jun 18 09:38:09 2012 -0700
@@ -2,13 +2,14 @@
 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
 @prefix sioc: <http://rdfs.org/sioc/ns#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix ex:   <http://example.org#> .
+@prefix my:   <http://example.org#my> .
+@prefix :     <http://example.org#> .
 
-ex:bundlePost1 {
+:bundlePost1 {
 
-   ex:bundlePost1 a prov:Bundle .
+   :bundlePost1 a prov:Bundle .
 
-   ex:monica
+   :monica
       a prov:Person, prov:Agent, foaf:Person;
       foaf:givenName "Monica"^^xsd:string;
       foaf:mbox      <mailto:monica@example.org>
@@ -16,16 +17,16 @@
 
    ## Rephrasing of the post in a new resource for a different audience
 
-   ex:post9822
+   :post9822
       a prov:Entity, sioc:Post;
-      prov:atLocation       ex:more-crime-happens-in-cities-for-dummies; ## PERMALINK to the (latest revision of the) post
-      ex:snapshotContent    ex:postContent2;                             ## Snapshot with the content of this version
-      prov:alternateOf      ex:post9821v2;                               ## This post is an alternate of the second version modified by Dereck.
-      prov:specializationOf ex:more-crime-happens-in-cities;             ## This post is an specialization of the post initially created by Dereck.
-      prov:tracedTo         ex: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.
+      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 Dereck.
+      prov:specializationOf :more-crime-happens-in-cities;             ## This post is an specialization of the post initially created by Dereck.
+      prov:tracedTo         :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 ex:monica;
+      prov:wasAttributedTo :monica;
    .
 }
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt4.ttl	Mon Jun 18 09:32:04 2012 -0700
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt4.ttl	Mon Jun 18 09:38:09 2012 -0700
@@ -6,12 +6,11 @@
 
 :post19201
       a prov:Entity, sioc:Post;
-	  prov:invalidatedAtTime "2012-09-02T01:31:00Z";
-	  prov:wasInvalidatedBy :hard_disk_failure;
+     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";
+     a prov:Activity;
+     prov:wasEndedAt "2012-09-02T01:31:00Z"^^xsd:dateTime;
 .
-