Extended crime file example
authordgarijo
Mon, 16 Apr 2012 16:58:17 +0200
changeset 2323 2f8394853124
parent 2322 663f227c4436
child 2324 20c5ae01c7e7
Extended crime file example
examples/eg-25-extended-crime-file-example/document/homepage
examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-example.ttl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-25-extended-crime-file-example/document/homepage	Mon Apr 16 16:58:17 2012 +0200
@@ -0,0 +1,2 @@
+http://www.w3.org/2011/prov/wiki/Eg-25-extended-crime-file-example
+http://dvcs.w3.org/hg/prov/file/tip/examples/extended-crime-file-example
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-example.ttl	Mon Apr 16 16:58:17 2012 +0200
@@ -0,0 +1,130 @@
+@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 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
+	.
+
+	##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;
+		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:dereck;
+		prov:wasEndedBy 	   ex:dereck
+	.
+}
+	
+ex:accountPost2{
+	ex:accountPost2 
+		a prov:Account;
+		prov:hasAnnotation ex:noteMadeByParser
+	.
+	
+	ex:john 
+		a prov:Agent
+	.
+	
+	ex:post19201
+		a prov:Entity, sioc:Post;
+		prov:wasAttributedTo ex:john;
+		prov:wasQuotedFrom post9821v1, post9821v2;
+		prov:hadOriginalSource ex:aggregatedByRegions
+	.
+}
+
+ex:noteMadeByParser{
+	ex:noteMadeByParser 
+		a prov:Note;
+		prov:wasAttributedTo ex:boogleParser
+	.
+	
+	ex:boogleParser 
+		a prov:SoftwareAgent;
+		prov:actedOnBehalfOf ex:boogle
+	.
+	ex:boogle
+		a prov:Organization
+	.
+	
+	ex:accountPost2 
+		ex:parsedDate "2011-08-16T00:00:02Z"^^xsd:dateTime
+	.
+}
+
+	
+	
+	
+	
\ No newline at end of file