grabbed crime text file example from wiki
authorTim L <lebot@rpi.edu>
Mon, 19 Sep 2011 10:56:25 -0400
changeset 323 b15a9866fde8
parent 321 3e103d6dc1c9
child 324 7026cd6a6f62
grabbed crime text file example from wiki
ontology/examples/core/crime/crime.owl
ontology/examples/core/crime/crime.owl.prov.ttl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/examples/core/crime/crime.owl	Mon Sep 19 10:56:25 2011 -0400
@@ -0,0 +1,121 @@
+<?xml version="1.0"?>
+<rdf:RDF
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+    xmlns:po="http://www.w3.org/PROV/ProvenanceOntology.owl#"
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
+    xmlns:cf="http://www.w3.org/PROV/CrimeFile#" > 
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#e1">
+    <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
+    <cf:isGeneratedBy>
+      <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe0">
+         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#FileCreation"/>
+         <cf:isControlledBy>
+            <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#alice">
+               <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#Journalist"/>
+            </rdf:Description>
+         </cf:isControlledBy>    
+      </rdf:Description>
+    </cf:isGeneratedBy>
+    <cf:hasFilePath rdf:datatype="http://www.w3.org/2001/XMLSchema#string">/share/crime.txt</cf:hasFilePath>
+    <cf:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string"></cf:hasFileContent>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe1">
+   <cf:Used rdf:resource="http://www.w3.org/PROV/CrimeFile#e1"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#e2">
+    <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
+    <cf:isGeneratedBy>
+      <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe1">
+         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#FileAppending"/>
+         <cf:isControlledBy>
+            <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#Bob">
+               <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#Journalist"/>
+            </rdf:Description>
+         </cf:isControlledBy>       
+      </rdf:Description>
+    </cf:isGeneratedBy>
+    <cf:isDerivedFrom rdf:resource="http://www.w3.org/PROV/CrimeFile#e1"/>
+    <cf:hasFilePath rdf:datatype="http://www.w3.org/2001/XMLSchema#string">/share/crime.txt</cf:hasFilePath>
+    <cf:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string">There was a lot of crime in London last month.</cf:hasFileContent>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe2">
+   <cf:Used rdf:resource="http://www.w3.org/PROV/CrimeFile#e2"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#e3">
+   <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
+    <cf:isGeneratedBy>
+      <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe3">
+         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#FileEditing"/>
+         <cf:isControlledBy>
+            <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#David">
+               <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#Journalist"/>
+            </rdf:Description>
+         </cf:isControlledBy>
+      </rdf:Description>
+    </cf:isGeneratedBy>
+    <cf:isDerivedFrom rdf:resource="http://www.w3.org/PROV/CrimeFile#e2"/>
+    <cf:hasFilePath rdf:datatype="http://www.w3.org/2001/XMLSchema#string">/share/crime.txt</cf:hasFilePath>
+    <cf:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string">There was a lot of crime in London and New-York last month.</cf:hasFileContent>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe3">
+   <cf:Used rdf:resource="http://www.w3.org/PROV/CrimeFile#e2"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#e4">
+   <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
+    <cf:isGeneratedBy>
+      <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe2">
+         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#EmailProcessExecution"/>
+         <cf:isControlledBy>
+            <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#Charles">
+               <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#Journalist"/>
+            </rdf:Description>
+         </cf:isControlledBy>
+      </rdf:Description>
+    </cf:isGeneratedBy>
+    <cf:isDerivedFrom rdf:resource="http://www.w3.org/PROV/CrimeFile#e2"/>
+    <cf:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string">There was a lot of crime in London last month.</cf:hasFileContent>    
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe4">
+   <cf:Used rdf:resource="http://www.w3.org/PROV/CrimeFile#e3"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#e5">
+   <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
+    <cf:isGeneratedBy>
+      <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe4">
+         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#EmailProcessExecution"/>
+         <cf:isControlledBy>
+            <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#Edith">
+               <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#Journalist"/>
+            </rdf:Description>
+         </cf:isControlledBy>
+      </rdf:Description>
+    </cf:isGeneratedBy>
+    <cf:isDerivedFrom rdf:resource="http://www.w3.org/PROV/CrimeFile#e3"/>
+    <cf:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string">There was a lot of crime in London and New-York last month.</cf:hasFileContent>    
+  </rdf:Description>
+
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe5">
+   <cf:Used rdf:resource="http://www.w3.org/PROV/CrimeFile#e3"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#e6">
+   <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
+    <cf:isGeneratedBy>
+      <rdf:Description rdf:about="http://www.w3.org/PROV/CrimeFile#pe5">
+         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#SpellChecking"/>
+      </rdf:Description>
+    </cf:isGeneratedBy>
+    <cf:isDerivedFrom rdf:resource="http://www.w3.org/PROV/CrimeFile#e3"/>
+  </rdf:Description>
+
+</rdf:RDF>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/examples/core/crime/crime.owl.prov.ttl	Mon Sep 19 10:56:25 2011 -0400
@@ -0,0 +1,16 @@
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix prov:    <http://dvcs.w3.org/hg/prov/raw-file/default/ontology/ProvenanceOntology.owl#> . 
+@prefix :        <#> .
+
+:pe_0
+   a prov:ProcessExecution;
+   dcterms:description "Satya pasted some RDF/XML from Protege into http://www.w3.org/2011/prov/wiki/PIL_OWL_Ontology#RDF.2FXML_notation.";
+   dcterms:description "Tim says so, based on Satya telling Tim that Satya pasted it.";
+.
+
+:pe_1
+   a prov:ProcessExecution;
+   dcterms:description "Tim copied the RDF/XML from http://www.w3.org/2011/prov/wiki/PIL_OWL_Ontology#RDF.2FXML_notation into crime.owl on Monday around 10:10am.";
+   rdfs:seeAlso <crime.owl>;
+.