relocated crime example into extensions.
authorTim L <lebot@rpi.edu>
Mon, 19 Sep 2011 11:12:06 -0400
changeset 326 128436992597
parent 325 012f2e74fc27
child 328 ac6f4b985178
child 329 6e4b3dfeed6e
relocated crime example into extensions.
ontology/examples/core/crime/crime.owl
ontology/examples/core/crime/crime.owl.prov.ttl
ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl
--- a/ontology/examples/core/crime/crime.owl	Mon Sep 19 11:03:15 2011 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-<?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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#" > 
-
-  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe1">
-   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e1"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe2">
-   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e2"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe3">
-   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e2"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe4">
-   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe5">
-   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3"/>
-  </rdf:Description>
-
-  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3"/>
-  </rdf:Description>
-
-</rdf:RDF>
--- a/ontology/examples/core/crime/crime.owl.prov.ttl	Mon Sep 19 11:03:15 2011 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-@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>;
-.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/examples/ontology-extensions/crime-file/instances/example-1/crime.owl	Mon Sep 19 11:12:06 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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#" > 
+
+  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe1">
+   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e1"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe2">
+   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e2"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe3">
+   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e2"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe4">
+   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#pe5">
+   <cf:Used rdf:resource="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3"/>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/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="https://dvcs.w3.org/hg/prov/file/tip/ontology/examples/ontology-extensions/crime-file/crime.owl#e3"/>
+  </rdf:Description>
+
+</rdf:RDF>