added fixed namespace to crime file example.
authorTim L <lebot@rpi.edu>
Mon, 26 Sep 2011 09:57:16 -0400
changeset 370 d98a8f705f93
parent 369 dcb9e1ccfbb0
child 371 712bf3423cda
added fixed namespace to crime file example.
ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl
ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl.prov.ttl
ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.ttl
--- a/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl	Mon Sep 26 09:50:35 2011 -0400
+++ b/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl	Mon Sep 26 09:57:16 2011 -0400
@@ -1,121 +1,66 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#" > 
-
-  <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e1">
-    <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
-    <cf:isGeneratedBy>
-      <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe0">
-         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#FileCreation"/>
-         <cf:isControlledBy>
-            <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe1">
-   <cf:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e1"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e2">
-    <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
-    <cf:isGeneratedBy>
-      <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe1">
-         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#FileAppending"/>
-         <cf:isControlledBy>
-            <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe2">
-   <cf:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e2"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3">
-   <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
-    <cf:isGeneratedBy>
-      <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe3">
-         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#FileEditing"/>
-         <cf:isControlledBy>
-            <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe3">
-   <cf:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e2"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e4">
-   <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
-    <cf:isGeneratedBy>
-      <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe2">
-         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#EmailProcessExecution"/>
-         <cf:isControlledBy>
-            <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe4">
-   <cf:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e5">
-   <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
-    <cf:isGeneratedBy>
-      <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe4">
-         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#EmailProcessExecution"/>
-         <cf:isControlledBy>
-            <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#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://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe5">
-   <cf:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e6">
-   <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#CrimeFile"/>
-    <cf:isGeneratedBy>
-      <rdf:Description rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe5">
-         <rdf:type rdf:resource="http://www.w3.org/PROV/CrimeFileOntology.owl#SpellChecking"/>
-      </rdf:Description>
-    </cf:isGeneratedBy>
-    <cf:isDerivedFrom rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3"/>
-  </rdf:Description>
-
+   xmlns:ext="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#"
+   xmlns:prov="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+   xmlns="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#">
+  <ext:Journalist rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#alice"/>
+  <ext:Journalist rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#bob"/>
+  <ext:Journalist rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#charles"/>
+  <ext:Journalist rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#david"/>
+  <ext:CrimeFile rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e1">
+    <prov:wasGeneratedBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe0"/>
+    <ext:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string"></ext:hasFileContent>
+    <ext:hasFilePath rdf:resource="file:///share/crime.txt"/>
+  </ext:CrimeFile>
+  <ext:CrimeFile rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e2">
+    <prov:wasDerivedFrom rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e1"/>
+    <prov:wasGeneratedBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe1"/>
+    <ext:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string">There was a lot of crime in London last month.</ext:hasFileContent>
+    <ext:hasFilePath rdf:resource="file:///share/crime.txt"/>
+  </ext:CrimeFile>
+  <ext:CrimeFile rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e3">
+    <prov:wasDerivedFrom rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e2"/>
+    <prov:wasGeneratedBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe3"/>
+    <ext:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string">There was a lot of crime in London and New-York last month.</ext:hasFileContent>
+    <ext:hasFilePath rdf:resource="file:///share/crime.txt"/>
+  </ext:CrimeFile>
+  <ext:CrimeFile rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e4">
+    <prov:wasDerivedFrom rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e2"/>
+    <prov:wasGeneratedBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe2"/>
+    <ext:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string">There was a lot of crime in London last month.</ext:hasFileContent>
+  </ext:CrimeFile>
+  <ext:CrimeFile rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e5">
+    <prov:wasDerivedFrom rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e3"/>
+    <prov:wasGeneratedBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe4"/>
+    <ext:hasFileContent rdf:datatype="http://www.w3.org/2001/XMLSchema#string">There was a lot of crime in London and New-York last month.</ext:hasFileContent>
+  </ext:CrimeFile>
+  <ext:CrimeFile rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e6">
+    <prov:wasDerivedFrom rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e3"/>
+    <prov:wasGeneratedBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe5"/>
+  </ext:CrimeFile>
+  <ext:Journalist rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#edith"/>
+  <ext:FileCreation rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe0">
+    <prov:isControlledBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#alice"/>
+  </ext:FileCreation>
+  <ext:FileAppending rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe1">
+    <prov:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e1"/>
+    <prov:isControlledBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#bob"/>
+  </ext:FileAppending>
+  <ext:EmailProcessExecution rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe2">
+    <prov:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e2"/>
+    <prov:isControlledBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#charles"/>
+  </ext:EmailProcessExecution>
+  <ext:FileEditing rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe3">
+    <prov:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e2"/>
+    <prov:isControlledBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#david"/>
+  </ext:FileEditing>
+  <ext:EmailProcessExecution rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe4">
+    <prov:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e3"/>
+    <prov:isControlledBy rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#edith"/>
+  </ext:EmailProcessExecution>
+  <ext:SpellChecking rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#pe5">
+    <prov:Used rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#e3"/>
+  </ext:SpellChecking>
 </rdf:RDF>
--- a/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl.prov.ttl	Mon Sep 26 09:50:35 2011 -0400
+++ b/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl.prov.ttl	Mon Sep 26 09:57:16 2011 -0400
@@ -11,7 +11,13 @@
 
 :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.";
+   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 Sept 19th around 10:10am.";
    rdfs:seeAlso <crime.owl>;
 .
 
+:pe_2
+   a prov:ProcessExecution;
+   dcterms:description "Tim used rapper to compile crime.ttl down to crime.owl Monday Sept 26th around 9:50am.";
+   rdfs:seeAlso <crime.owl>;
+.
+
--- a/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.ttl	Mon Sep 26 09:50:35 2011 -0400
+++ b/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.ttl	Mon Sep 26 09:57:16 2011 -0400
@@ -2,7 +2,7 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix prov: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#> .
 @prefix ext:  <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#> .
-@prefix :     <#> .
+@prefix    :  <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl#> .
 
 :bob
     a ext:Journalist .