modified syntax of prov-o html expanded section examples for consistency
authorTim L <lebot@rpi.edu>
Fri, 20 Apr 2012 16:32:55 -0400
changeset 2428 dcb6ab46b01b
parent 2427 4d1aec045dbb
child 2429 d010308dc191
modified syntax of prov-o html expanded section examples for consistency
examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-example.ttl
examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.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-pt3.ttl
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-example.ttl	Fri Apr 20 16:24:00 2012 -0400
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-example.ttl	Fri Apr 20 16:32:55 2012 -0400
@@ -1,3 +1,9 @@
+#
+#
+# NOTE: the individual files have been modified after this file was broken up. Edit those instead. -lebot 20 Apr 2012
+#
+#
+ 
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
@@ -130,4 +136,4 @@
 	
 	
 	
-	
\ No newline at end of file
+	
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Fri Apr 20 16:24:00 2012 -0400
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl	Fri Apr 20 16:32:55 2012 -0400
@@ -1,89 +1,88 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix sioc: <http://rdfs.org/sioc/ns#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
 @prefix ex:   <http://example.org#> .
-@prefix sioc: <http://rdfs.org/sioc/ns#Post> .
-
-ex:accountPost{
-	ex:accountPost 
-		a prov:Account
-	.
-	ex:derek
-	   a prov:Agent;
-	   a foaf:Person;
-	   foaf:givenName "Derek"^^xsd:string;
-	   foaf:mbox      <mailto:dererk@example.org>;
-	   prov:actedOnBehalfOf ex:chartgen 
-	.
-	ex:monica
-	   a prov:Agent;
-	   a foaf:Person;
-	   foaf:givenName "Monica"^^xsd:string;
-	   foaf:mbox      <mailto:monica@example.org>
-	.
-
-	ex:chartgen 
-	   a prov:Agent;
-	   a prov:Organization;
-	   foaf:name "Chart Generators"
-	. 
-
-	ex:aggregatedByRegions
-	   a prov:Entity;
-	   prov:atLocation <file://Users/aggr.txt>
-	.
 
-	ex:post9821 
-	   a prov:Entity, sioc:Post;   
-	   prov:wasGeneratedBy ex:publicationActivity1123;
-	   prov:atLocation ex:more-crime-happens-in-cities;  ##PERMALINK of the post
-	   ex:snapshotContent ex:postContent0;                ##Snapshot with the content of this version
-	   prov:qualifiedGeneration [
-		  a prov:Generation;
-		  prov:activity ex:publicationActivity1123;
-		  prov:atTime "2011-07-16T01:52:02Z"^^xsd:dateTime; 
-		  prov:atLocation <http://dbpedia.org/resource/Madrid>.
-	   ];
-	   sioc:title "More crime happens in cities"^^xsd:string;
-	   prov:hadOriginalSource ex:aggregatedByRegions;
-	   prov:wasAttributedTo ex:dereck
-	.
-
-	##Version 2 of the post
-	ex:post9821v1
-		a prov:Entity, sioc:Post;
-		prov:atLocation ex:more-crime-happens-in-cities;   ##PERMALINK of the post
-		ex:snapshotContent ex:postContent1;                ##Snapshot with the content of this version
-		prov:wasRevisionOf ex:post9821;
-		prov:specializationOf ex:post9821;
-		prov:wasAttributedTo ex:dereck
-	.
+ex:accountPost {
 
-	##Rephrasing of the post in a new version
-	ex:post9821v2
-		a prov:Entity, sioc:Post;
-		prov:atLocation ex:more-crime-happens-in-cities-for-dummies;  ##PERMALINK of the post
-		ex:snapshotContent ex:postContent2;                           ##Snapshot with the content of this version
-		prov:alternateOf ex:post9821v1;
-		prov:specializationOf ex:post9821;
-		prov:tracedTo ex:aggregatedByRegions;                         ##If the file hadn't existed, Monica would have not written the post
-		sioc:title "More crime happens in cities for dummies"^^xsd:string;
-		prov:wasAttributedTo ex:monica
-	.
-		
-	   
-	<http://dbpedia.org/resource/Madrid> 
-		a prov:Location
-	.
+   ex:accountPost a prov:Account .
 
-	ex: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;
-		prov:used              ex:aggregatedByRegions;   
-		prov:generated         ex:post9821;
-		prov:wasStartedBy 	   ex:dereck;
-		prov:wasEndedBy 	   ex:dereck
-	.
-}
\ No newline at end of file
+   ex:derek
+      a prov:Agent, foaf:Person;
+      foaf:givenName      "Derek"^^xsd:string;
+      foaf:mbox           <mailto:dererk@example.org>;
+      prov:actedOnBehalfOf ex:chartgen;
+   .
+
+   ex:monica
+      a prov:Agent, foaf:Person;
+      foaf:givenName "Monica"^^xsd:string;
+      foaf:mbox      <mailto:monica@example.org>
+   .
+
+   ex:chartgen 
+      a prov:Agent, prov:Organization;
+      foaf:name "Chart Generators, Inc.";
+   . 
+
+   ex:aggregatedByRegions
+      a prov:Entity;
+      prov:atLocation <file://Users/aggr.txt>;
+   .
+
+   ex:post9821 
+      a prov:Entity, sioc:Post;   
+      prov:wasGeneratedBy ex:publicationActivity1123;
+      prov:atLocation     ex:more-crime-happens-in-cities;  ## PERMALINK of the post
+      ex:snapshotContent  ex:postContent0;                  ## Snapshot with the content of this version
+      prov:qualifiedGeneration [
+         a prov:Generation;
+         prov:activity    ex:publicationActivity1123;
+         prov:atTime     "2011-07-16T01:52:02Z"^^xsd:dateTime; 
+         prov:atLocation <http://dbpedia.org/resource/Madrid>;
+      ];
+      sioc:title "More crime happens in cities"^^xsd:string;
+      prov:hadOriginalSource ex:aggregatedByRegions;
+      prov:wasAttributedTo   ex:derek
+   .
+
+   ## Version 2 of the post
+
+   ex:post9821v1
+      a prov:Entity, sioc:Post;
+      prov:atLocation       ex:more-crime-happens-in-cities;  ## PERMALINK of the post
+      ex:snapshotContent    ex:postContent1;                  ## Snapshot with the content of this version
+      prov:wasRevisionOf    ex:post9821;
+      prov:specializationOf ex:post9821;
+      prov:wasAttributedTo  ex:derek;
+   .
+
+   ## Rephrasing of the post in a new version
+
+   ex:post9821v2
+      a prov:Entity, sioc:Post;
+      prov:atLocation       ex:more-crime-happens-in-cities-for-dummies;  ## PERMALINK of the post
+      ex:snapshotContent    ex:postContent2;                              ## Snapshot with the content of this version
+      prov:alternateOf      ex:post9821v1;
+      prov:specializationOf ex:post9821;
+      prov:tracedTo         ex:aggregatedByRegions;                       ## If the file hadn't existed, Monica would have not written the post.
+      sioc:title "More crime happens in cities for dummies"^^xsd:string;
+      prov:wasAttributedTo ex:monica;
+   .
+      
+   <http://dbpedia.org/resource/Madrid> 
+      a prov:Location;
+   .
+
+   ex: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;
+      prov:used              ex:aggregatedByRegions;   
+      prov:generated         ex:post9821;
+      prov:wasStartedBy      ex:derek;
+      prov:wasEndedBy        ex:derek
+   .
+}
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl	Fri Apr 20 16:24:00 2012 -0400
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl	Fri Apr 20 16:32:55 2012 -0400
@@ -1,23 +1,25 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
-@prefix prov: <http://www.w3.org/ns/prov#> .
 @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 sioc: <http://rdfs.org/sioc/ns#Post> .
 
-ex:accountPost2{
+ex:accountPost2 {
+
 	ex:accountPost2 
 		a prov:Account;
-		prov:hasAnnotation ex:noteMadeByParser
+		prov:hasAnnotation ex:noteMadeByParser;
 	.
 	
 	ex:john 
-		a prov:Agent
+		a prov:Agent;
 	.
 	
 	ex:post19201
 		a prov:Entity, sioc:Post;
-		prov:wasAttributedTo ex:john;
-		prov:wasQuotedFrom post9821v1, post9821v2;
-		prov:hadOriginalSource ex:aggregatedByRegions
+		prov:wasAttributedTo   ex:john;
+		prov:wasQuotedFrom     ex:post9821v1, 
+                             ex:post9821v2;
+		prov:hadOriginalSource ex:aggregatedByRegions;
 	.
-}
\ No newline at end of file
+}
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt3.ttl	Fri Apr 20 16:24:00 2012 -0400
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt3.ttl	Fri Apr 20 16:32:55 2012 -0400
@@ -1,24 +1,26 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
-@prefix prov: <http://www.w3.org/ns/prov#> .
 @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 sioc: <http://rdfs.org/sioc/ns#Post> .
 
-ex:noteMadeByParser{
+ex:noteMadeByParser {
+
 	ex:noteMadeByParser 
 		a prov:Note;
-		prov:wasAttributedTo ex:boogleParser
+		prov:wasAttributedTo ex:boogleParser;
 	.
 	
 	ex:boogleParser 
 		a prov:SoftwareAgent;
-		prov:actedOnBehalfOf ex:boogle
+		prov:actedOnBehalfOf ex:boogle;
 	.
+
 	ex:boogle
-		a prov:Organization
+		a prov:Organization;
 	.
 	
 	ex:accountPost2 
-		ex:parsedDate "2011-08-16T00:00:02Z"^^xsd:dateTime
+		ex:parsedDate "2011-08-16T00:00:02Z"^^xsd:dateTime;
 	.
-}
\ No newline at end of file
+}