updated crim.owl
authorSatya Sahoo <satya.sahoo@case.edu>
Tue, 15 Nov 2011 11:08:07 -0500
changeset 900 c459d941b509
parent 899 141b6bd0df77
child 901 452c0c03888d
updated crim.owl
ontology/examples/ontology-extensions/crime-file/crime.owl
--- a/ontology/examples/ontology-extensions/crime-file/crime.owl	Tue Nov 15 11:03:20 2011 -0500
+++ b/ontology/examples/ontology-extensions/crime-file/crime.owl	Tue Nov 15 11:08:07 2011 -0500
@@ -2,18 +2,18 @@
 
 
 <!DOCTYPE rdf:RDF [
+    <!ENTITY prov "http://www.w3.org/ns/prov-o/" >
+    <!ENTITY crime "http://www.example.com/crime#" >
     <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
     <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
     <!ENTITY owl2xml "http://www.w3.org/2006/12/owl2-xml#" >
     <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
     <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
-    <!ENTITY prov "http://www.w3.org/ns/prov-o/" >
-    <!ENTITY crime "http://www.example.com/crime#" >
 ]>
 
 
 <rdf:RDF xmlns="http://www.example.com/crime#"
-     xml:base="http://www.example.com/crime#"
+     xml:base="http://www.example.com/crime"
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
      xmlns:prov="http://www.w3.org/ns/prov-o/"
      xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
@@ -22,7 +22,7 @@
      xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
     <owl:Ontology rdf:about="">
-        <owl:imports rdf:resource="../../../ProvenanceOntology.owl"/>
+        <owl:imports rdf:resource="http://www.example.com/../../../ProvenanceOntology.owl"/>
     </owl:Ontology>
     
 
@@ -38,19 +38,19 @@
     
 
 
-    <!-- http://www.w3.org/ns/prov-o/hadLocation -->
+    <!-- http://www.example.com/crime#hadFilePath -->
 
-    <owl:ObjectProperty rdf:about="&prov;hadLocation"/>
+    <owl:ObjectProperty rdf:about="#hadFilePath">
+        <rdfs:domain rdf:resource="#CrimeFile"/>
+        <rdfs:range rdf:resource="&prov;Location"/>
+        <rdfs:subPropertyOf rdf:resource="&prov;hadLocation"/>
+    </owl:ObjectProperty>
     
 
 
-    <!-- http://www.example.com/crime#hadFilePath -->
+    <!-- http://www.w3.org/ns/prov-o/hadLocation -->
 
-    <owl:ObjectProperty rdf:about="&crime;hadFilePath">
-        <rdfs:range rdf:resource="&prov;Location"/>
-        <rdfs:subPropertyOf rdf:resource="&prov;hadLocation"/>
-        <rdfs:domain rdf:resource="&crime;CrimeFile"/>
-    </owl:ObjectProperty>
+    <owl:ObjectProperty rdf:about="&prov;hadLocation"/>
     
 
 
@@ -67,8 +67,8 @@
 
     <!-- http://www.example.com/crime#hadFileContent -->
 
-    <owl:DatatypeProperty rdf:about="&crime;hadFileContent">
-        <rdfs:domain rdf:resource="&crime;CrimeFile"/>
+    <owl:DatatypeProperty rdf:about="#hadFileContent">
+        <rdfs:domain rdf:resource="#CrimeFile"/>
     </owl:DatatypeProperty>
     
 
@@ -84,9 +84,67 @@
     
 
 
+    <!-- http://www.example.com/crime#CrimeFile -->
+
+    <owl:Class rdf:about="#CrimeFile">
+        <rdfs:subClassOf rdf:resource="&prov;Entity"/>
+    </owl:Class>
+    
+
+
+    <!-- http://www.example.com/crime#Emailing -->
+
+    <owl:Class rdf:about="#Emailing">
+        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
+    </owl:Class>
+    
+
+
+    <!-- http://www.example.com/crime#FileAppending -->
+
+    <owl:Class rdf:about="#FileAppending">
+        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
+    </owl:Class>
+    
+
+
+    <!-- http://www.example.com/crime#FileCreation -->
+
+    <owl:Class rdf:about="#FileCreation">
+        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
+    </owl:Class>
+    
+
+
+    <!-- http://www.example.com/crime#FileEditing -->
+
+    <owl:Class rdf:about="#FileEditing">
+        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
+    </owl:Class>
+    
+
+
+    <!-- http://www.example.com/crime#Journalist -->
+
+    <owl:Class rdf:about="#Journalist">
+        <rdfs:subClassOf rdf:resource="&prov;Agent"/>
+    </owl:Class>
+    
+
+
+    <!-- http://www.example.com/crime#SpellChecking -->
+
+    <owl:Class rdf:about="#SpellChecking">
+        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
+    </owl:Class>
+    
+
+
     <!-- http://www.w3.org/ns/prov-o/Agent -->
 
-    <owl:Class rdf:about="&prov;Agent"/>
+    <owl:Class rdf:about="&prov;Agent">
+        <rdfs:subClassOf rdf:resource="&prov;Entity"/>
+    </owl:Class>
     
 
 
@@ -105,62 +163,6 @@
     <!-- http://www.w3.org/ns/prov-o/ProcessExecution -->
 
     <owl:Class rdf:about="&prov;ProcessExecution"/>
-    
-
-
-    <!-- http://www.example.com/crime#CrimeFile -->
-
-    <owl:Class rdf:about="&crime;CrimeFile">
-        <rdfs:subClassOf rdf:resource="&prov;Entity"/>
-    </owl:Class>
-    
-
-
-    <!-- http://www.example.com/crime#Emailing -->
-
-    <owl:Class rdf:about="&crime;Emailing">
-        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
-    </owl:Class>
-    
-
-
-    <!-- http://www.example.com/crime#FileAppending -->
-
-    <owl:Class rdf:about="&crime;FileAppending">
-        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
-    </owl:Class>
-    
-
-
-    <!-- http://www.example.com/crime#FileCreation -->
-
-    <owl:Class rdf:about="&crime;FileCreation">
-        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
-    </owl:Class>
-    
-
-
-    <!-- http://www.example.com/crime#FileEditing -->
-
-    <owl:Class rdf:about="&crime;FileEditing">
-        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
-    </owl:Class>
-    
-
-
-    <!-- http://www.example.com/crime#Journalist -->
-
-    <owl:Class rdf:about="&crime;Journalist">
-        <rdfs:subClassOf rdf:resource="&prov;Agent"/>
-    </owl:Class>
-    
-
-
-    <!-- http://www.example.com/crime#SpellChecking -->
-
-    <owl:Class rdf:about="&crime;SpellChecking">
-        <rdfs:subClassOf rdf:resource="&prov;ProcessExecution"/>
-    </owl:Class>
 </rdf:RDF>