changeset 4:72004a788198

save single file
author dwinter
date Sun, 06 Feb 2011 21:19:48 +0100
parents d9fd32ecae24
children 923e73fa07f1
files owlInput/ecrm_101001.owl owlInput/knowledgeRepresenatation.owl protege.properties src/de/mpiwg/dwinter/duomo/lexdump/LexOWLTransformer.java src/de/mpiwg/dwinter/duomo/lexdump/OWLImporter.java
diffstat 5 files changed, 184 insertions(+), 164 deletions(-) [+]
line wrap: on
line diff
--- a/owlInput/ecrm_101001.owl	Sun Feb 06 20:22:20 2011 +0100
+++ b/owlInput/ecrm_101001.owl	Sun Feb 06 21:19:48 2011 +0100
@@ -52,11 +52,11 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:cardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P4_has_time-span"/>
         </owl:onProperty>
-        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:cardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <owl:disjointWith>
@@ -92,11 +92,11 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:cardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P91_has_unit"/>
         </owl:onProperty>
+        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:cardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:comment xml:lang="en">Scope note:
@@ -156,28 +156,28 @@
   <owl:Class rdf:about="http://erlangen-crm.org/101001/E52_Time-Span">
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:maxCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P84_had_at_most_duration"/>
         </owl:onProperty>
-        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:maxCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E2_Temporal_Entity"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P4i_is_time-span_of"/>
         </owl:onProperty>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E2_Temporal_Entity"/>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:maxCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P83_had_at_least_duration"/>
         </owl:onProperty>
-        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:maxCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -352,12 +352,12 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:someValuesFrom>
+          <owl:Class rdf:about="http://erlangen-crm.org/101001/E30_Right"/>
+        </owl:someValuesFrom>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P104_is_subject_to"/>
         </owl:onProperty>
-        <owl:someValuesFrom>
-          <owl:Class rdf:about="http://erlangen-crm.org/101001/E30_Right"/>
-        </owl:someValuesFrom>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:comment xml:lang="en">Scope note:
@@ -387,12 +387,12 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:onProperty>
+          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P12_occurred_in_the_presence_of"/>
+        </owl:onProperty>
         <owl:someValuesFrom>
           <owl:Class rdf:about="http://erlangen-crm.org/101001/E77_Persistent_Item"/>
         </owl:someValuesFrom>
-        <owl:onProperty>
-          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P12_occurred_in_the_presence_of"/>
-        </owl:onProperty>
       </owl:Restriction>
     </rdfs:subClassOf>
   </owl:Class>
@@ -426,12 +426,12 @@
 - the knowledge about the victory at Marathon carried by the famous runner</rdfs:comment>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:someValuesFrom>
+          <owl:Class rdf:about="http://erlangen-crm.org/101001/E65_Creation"/>
+        </owl:someValuesFrom>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P94i_was_created_by"/>
         </owl:onProperty>
-        <owl:someValuesFrom>
-          <owl:Class rdf:about="http://erlangen-crm.org/101001/E65_Creation"/>
-        </owl:someValuesFrom>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E71_Man-Made_Thing"/>
@@ -465,21 +465,21 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E2_Temporal_Entity"/>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:maxCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P9i_forms_part_of"/>
         </owl:onProperty>
+        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:maxCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:onProperty>
+          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P7_took_place_at"/>
+        </owl:onProperty>
         <owl:someValuesFrom>
           <owl:Class rdf:about="http://erlangen-crm.org/101001/E53_Place"/>
         </owl:someValuesFrom>
-        <owl:onProperty>
-          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P7_took_place_at"/>
-        </owl:onProperty>
       </owl:Restriction>
     </rdfs:subClassOf>
   </owl:Class>
@@ -541,29 +541,29 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:maxCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P95i_was_formed_by"/>
         </owl:onProperty>
-        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:maxCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >0</owl:minCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P146i_lost_member_by"/>
         </owl:onProperty>
-        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >0</owl:minCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >2</owl:minCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P144i_gained_member_by"/>
         </owl:onProperty>
-        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >2</owl:minCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:comment xml:lang="en">Scope note:
@@ -605,12 +605,12 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E64_End_of_Existence"/>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:onProperty>
+          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P123_resulted_in"/>
+        </owl:onProperty>
         <owl:someValuesFrom>
           <owl:Class rdf:about="http://erlangen-crm.org/101001/E77_Persistent_Item"/>
         </owl:someValuesFrom>
-        <owl:onProperty>
-          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P123_resulted_in"/>
-        </owl:onProperty>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -637,31 +637,31 @@
 - the Mona Lisa (E22)</rdfs:comment>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:onProperty>
+          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P13i_was_destroyed_by"/>
+        </owl:onProperty>
         <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
         >1</owl:maxCardinality>
+      </owl:Restriction>
+    </rdfs:subClassOf>
+    <rdfs:subClassOf>
+      <owl:Restriction>
+        <owl:someValuesFrom>
+          <owl:Class rdf:about="http://erlangen-crm.org/101001/E53_Place"/>
+        </owl:someValuesFrom>
         <owl:onProperty>
-          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P13i_was_destroyed_by"/>
+          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P53_has_former_or_current_location"/>
         </owl:onProperty>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
         <owl:onProperty>
-          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P53_has_former_or_current_location"/>
+          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P45_consists_of"/>
         </owl:onProperty>
         <owl:someValuesFrom>
-          <owl:Class rdf:about="http://erlangen-crm.org/101001/E53_Place"/>
-        </owl:someValuesFrom>
-      </owl:Restriction>
-    </rdfs:subClassOf>
-    <rdfs:subClassOf>
-      <owl:Restriction>
-        <owl:someValuesFrom>
           <owl:Class rdf:about="http://erlangen-crm.org/101001/E57_Material"/>
         </owl:someValuesFrom>
-        <owl:onProperty>
-          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P45_consists_of"/>
-        </owl:onProperty>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E72_Legal_Object"/>
@@ -679,11 +679,11 @@
 - the text of "Doktoro Jekyll kaj Sinjoro Hyde" (an Esperanto translation of Dr Jekyll and Mr Hyde)</rdfs:comment>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:maxCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P73i_is_translation_of"/>
         </owl:onProperty>
-        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:maxCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -757,11 +757,11 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:minCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P144_joined_with"/>
         </owl:onProperty>
+        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:minCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -788,10 +788,10 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E42_Identifier"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P37_assigned"/>
         </owl:onProperty>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E42_Identifier"/>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:comment xml:lang="en">Scope note:
@@ -873,11 +873,11 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E28_Conceptual_Object"/>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:maxCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P135i_was_created_by"/>
         </owl:onProperty>
-        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:maxCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
   </owl:Class>
@@ -894,10 +894,10 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E55_Type"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P135_created_type"/>
         </owl:onProperty>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E55_Type"/>
       </owl:Restriction>
     </rdfs:subClassOf>
   </owl:Class>
@@ -939,12 +939,12 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:onProperty>
+          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P112_diminished"/>
+        </owl:onProperty>
         <owl:someValuesFrom>
           <owl:Class rdf:about="http://erlangen-crm.org/101001/E24_Physical_Man-Made_Thing"/>
         </owl:someValuesFrom>
-        <owl:onProperty>
-          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P112_diminished"/>
-        </owl:onProperty>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -970,20 +970,20 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:someValuesFrom>
+          <owl:Class rdf:about="http://erlangen-crm.org/101001/E24_Physical_Man-Made_Thing"/>
+        </owl:someValuesFrom>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P110_augmented"/>
         </owl:onProperty>
-        <owl:someValuesFrom>
-          <owl:Class rdf:about="http://erlangen-crm.org/101001/E24_Physical_Man-Made_Thing"/>
-        </owl:someValuesFrom>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P111_added"/>
         </owl:onProperty>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:comment xml:lang="en">Scope note:
@@ -1051,11 +1051,11 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E1_CRM_Entity"/>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:maxCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P59i_is_located_on_or_within"/>
         </owl:onProperty>
-        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:maxCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:comment xml:lang="en">Scope note:
@@ -1152,10 +1152,10 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E39_Actor"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P109_has_current_or_former_curator"/>
         </owl:onProperty>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E39_Actor"/>
       </owl:Restriction>
     </rdfs:subClassOf>
   </owl:Class>
@@ -1245,10 +1245,10 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E64_End_of_Existence"/>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E74_Group"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P99_dissolved"/>
         </owl:onProperty>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E74_Group"/>
       </owl:Restriction>
     </rdfs:subClassOf>
   </owl:Class>
@@ -1304,10 +1304,10 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E28_Conceptual_Object"/>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E1_CRM_Entity"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P129i_is_subject_of"/>
         </owl:onProperty>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E1_CRM_Entity"/>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -1320,10 +1320,10 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E1_CRM_Entity"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P67i_is_referred_to_by"/>
         </owl:onProperty>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E1_CRM_Entity"/>
       </owl:Restriction>
     </rdfs:subClassOf>
   </owl:Class>
@@ -1353,10 +1353,10 @@
 - the last renewal of the gold coating of the Toshogu shrine in Nikko, Japan</rdfs:comment>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E24_Physical_Man-Made_Thing"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P31_has_modified"/>
         </owl:onProperty>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E24_Physical_Man-Made_Thing"/>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -1380,20 +1380,20 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:minCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P146_separated_from"/>
         </owl:onProperty>
-        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:minCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:cardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P145_separated"/>
         </owl:onProperty>
+        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:cardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:comment xml:lang="en">Scope note:
@@ -1420,10 +1420,10 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E63_Beginning_of_Existence"/>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E28_Conceptual_Object"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P94_has_created"/>
         </owl:onProperty>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E28_Conceptual_Object"/>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -1541,11 +1541,11 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:minCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P56i_is_found_on"/>
         </owl:onProperty>
+        <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:minCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:comment xml:lang="en">Scope note:
@@ -1571,11 +1571,11 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E20_Biological_Object"/>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:cardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P98i_was_born"/>
         </owl:onProperty>
+        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:cardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E39_Actor"/>
@@ -1623,12 +1623,12 @@
   <owl:Class rdf:about="http://erlangen-crm.org/101001/E40_Legal_Body">
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:onProperty>
+          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P75_possesses"/>
+        </owl:onProperty>
         <owl:someValuesFrom>
           <owl:Class rdf:about="http://erlangen-crm.org/101001/E30_Right"/>
         </owl:someValuesFrom>
-        <owl:onProperty>
-          <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P75_possesses"/>
-        </owl:onProperty>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E74_Group"/>
@@ -1749,11 +1749,11 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:maxCardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P55_has_current_location"/>
         </owl:onProperty>
-        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:maxCardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -1788,10 +1788,10 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E2_Temporal_Entity"/>
     <rdfs:subClassOf>
       <owl:Restriction>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
         <owl:onProperty>
           <rdf:Property rdf:about="http://erlangen-crm.org/101001/P44i_condition_of"/>
         </owl:onProperty>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -1850,10 +1850,10 @@
 - the Doomsday Book</rdfs:comment>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E1_CRM_Entity"/>
         <owl:onProperty>
           <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P70_documents"/>
         </owl:onProperty>
+        <owl:someValuesFrom rdf:resource="http://erlangen-crm.org/101001/E1_CRM_Entity"/>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E73_Information_Object"/>
@@ -1898,16 +1898,6 @@
     </rdfs:subPropertyOf>
     <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E39_Actor"/>
   </owl:ObjectProperty>
-  <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P12_occurred_in_the_presence_of">
-    <rdfs:comment xml:lang="en">Scope note:
-This property describes the active or passive presence of an E77 Persistent Item in an E5 Event without implying any specific role.
-It connects the history of a thing with the E53 Place and E50 Date of an event. For example, an object may be the desk, now in a museum on which a treaty was signed. The presence of an immaterial thing implies the presence of at least one of its carriers.
-
-Examples:
-- Deckchair 42 (E19) was present at The sinking of the Titanic (E5)</rdfs:comment>
-    <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E5_Event"/>
-    <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E77_Persistent_Item"/>
-  </owl:ObjectProperty>
   <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P103_was_intended_for">
     <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E55_Type"/>
     <owl:inverseOf>
@@ -1921,6 +1911,16 @@
 Examples:
 - this plate (E22) was intended for being destroyed at wedding reception (E55)</rdfs:comment>
   </owl:ObjectProperty>
+  <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P12_occurred_in_the_presence_of">
+    <rdfs:comment xml:lang="en">Scope note:
+This property describes the active or passive presence of an E77 Persistent Item in an E5 Event without implying any specific role.
+It connects the history of a thing with the E53 Place and E50 Date of an event. For example, an object may be the desk, now in a museum on which a treaty was signed. The presence of an immaterial thing implies the presence of at least one of its carriers.
+
+Examples:
+- Deckchair 42 (E19) was present at The sinking of the Titanic (E5)</rdfs:comment>
+    <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E5_Event"/>
+    <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E77_Persistent_Item"/>
+  </owl:ObjectProperty>
   <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P136i_supported_type_creation">
     <rdfs:subPropertyOf>
       <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P15i_influenced"/>
@@ -3325,13 +3325,6 @@
     <rdfs:subPropertyOf rdf:resource="http://erlangen-crm.org/101001/P12i_was_present_at"/>
     <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E19_Physical_Object"/>
   </owl:ObjectProperty>
-  <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P49i_is_former_or_current_keeper_of">
-    <owl:inverseOf>
-      <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P49_has_former_or_current_keeper"/>
-    </owl:inverseOf>
-    <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E39_Actor"/>
-    <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
-  </owl:ObjectProperty>
   <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P52i_is_current_owner_of">
     <rdfs:subPropertyOf>
       <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P105i_has_right_on"/>
@@ -3341,6 +3334,13 @@
     </rdfs:subPropertyOf>
     <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
   </owl:ObjectProperty>
+  <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P49i_is_former_or_current_keeper_of">
+    <owl:inverseOf>
+      <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P49_has_former_or_current_keeper"/>
+    </owl:inverseOf>
+    <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E39_Actor"/>
+    <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
+  </owl:ObjectProperty>
   <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P32_used_general_technique">
     <rdfs:subPropertyOf>
       <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P125_used_object_of_type"/>
@@ -3868,11 +3868,6 @@
     <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E86_Leaving"/>
     <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E39_Actor"/>
   </owl:ObjectProperty>
-  <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P21i_was_purpose_of">
-    <owl:inverseOf rdf:resource="http://erlangen-crm.org/101001/P21_had_general_purpose"/>
-    <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E7_Activity"/>
-    <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E55_Type"/>
-  </owl:ObjectProperty>
   <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P71_lists">
     <rdfs:comment xml:lang="en">Scope note:
 This property documents a source E32 Authority Document for an instance of an E55 Type.
@@ -3883,6 +3878,11 @@
     <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E55_Type"/>
     <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E32_Authority_Document"/>
   </owl:ObjectProperty>
+  <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P21i_was_purpose_of">
+    <owl:inverseOf rdf:resource="http://erlangen-crm.org/101001/P21_had_general_purpose"/>
+    <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E7_Activity"/>
+    <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E55_Type"/>
+  </owl:ObjectProperty>
   <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P28i_surrendered_custody_through">
     <rdfs:subPropertyOf rdf:resource="http://erlangen-crm.org/101001/P14i_performed"/>
     <owl:inverseOf rdf:resource="http://erlangen-crm.org/101001/P28_custody_surrendered_by"/>
@@ -3907,10 +3907,6 @@
     <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E53_Place"/>
     <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
   </owl:ObjectProperty>
-  <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P5i_forms_part_of">
-    <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E3_Condition_State"/>
-    <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E3_Condition_State"/>
-  </owl:ObjectProperty>
   <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P50i_is_current_keeper_of">
     <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E18_Physical_Thing"/>
     <owl:inverseOf>
@@ -3918,6 +3914,10 @@
     </owl:inverseOf>
     <rdfs:subPropertyOf rdf:resource="http://erlangen-crm.org/101001/P49i_is_former_or_current_keeper_of"/>
   </owl:ObjectProperty>
+  <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P5i_forms_part_of">
+    <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E3_Condition_State"/>
+    <rdfs:range rdf:resource="http://erlangen-crm.org/101001/E3_Condition_State"/>
+  </owl:ObjectProperty>
   <owl:ObjectProperty rdf:about="http://erlangen-crm.org/101001/P35_has_identified">
     <rdfs:domain rdf:resource="http://erlangen-crm.org/101001/E14_Condition_Assessment"/>
     <rdfs:comment xml:lang="en">Scope note:
--- a/owlInput/knowledgeRepresenatation.owl	Sun Feb 06 20:22:20 2011 +0100
+++ b/owlInput/knowledgeRepresenatation.owl	Sun Feb 06 21:19:48 2011 +0100
@@ -35,9 +35,9 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:onProperty rdf:resource="http://erlangen-crm.org/101001/P70i_is_documented_in"/>
         <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
         >1</owl:cardinality>
+        <owl:onProperty rdf:resource="http://erlangen-crm.org/101001/P70i_is_documented_in"/>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -55,51 +55,9 @@
     <rdfs:subClassOf rdf:resource="http://erlangen-crm.org/101001/E31_Document"/>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:cardinality>
         <owl:onProperty>
           <owl:DatatypeProperty rdf:ID="Pointer"/>
         </owl:onProperty>
-      </owl:Restriction>
-    </rdfs:subClassOf>
-    <rdfs:subClassOf>
-      <owl:Restriction>
-        <owl:onProperty>
-          <owl:ObjectProperty rdf:ID="isPartOf"/>
-        </owl:onProperty>
-        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:cardinality>
-      </owl:Restriction>
-    </rdfs:subClassOf>
-    <rdfs:subClassOf rdf:resource="#DigitalHPS_Object"/>
-  </owl:Class>
-  <owl:Class rdf:ID="VocabularyEntry">
-    <rdfs:subClassOf>
-      <owl:Restriction>
-        <owl:onProperty>
-          <owl:DatatypeProperty rdf:ID="hasTerm"/>
-        </owl:onProperty>
-        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:cardinality>
-      </owl:Restriction>
-    </rdfs:subClassOf>
-    <rdfs:subClassOf rdf:resource="#DigitalHPS_Object"/>
-  </owl:Class>
-  <owl:Class rdf:ID="Relation">
-    <rdfs:subClassOf>
-      <owl:Restriction>
-        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:cardinality>
-        <owl:onProperty>
-          <owl:ObjectProperty rdf:ID="has_Subject"/>
-        </owl:onProperty>
-      </owl:Restriction>
-    </rdfs:subClassOf>
-    <rdfs:subClassOf>
-      <owl:Restriction>
-        <owl:onProperty>
-          <owl:ObjectProperty rdf:ID="has_Predicate"/>
-        </owl:onProperty>
         <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
         >1</owl:cardinality>
       </owl:Restriction>
@@ -109,8 +67,50 @@
         <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
         >1</owl:cardinality>
         <owl:onProperty>
+          <owl:ObjectProperty rdf:ID="isPartOf"/>
+        </owl:onProperty>
+      </owl:Restriction>
+    </rdfs:subClassOf>
+    <rdfs:subClassOf rdf:resource="#DigitalHPS_Object"/>
+  </owl:Class>
+  <owl:Class rdf:ID="VocabularyEntry">
+    <rdfs:subClassOf>
+      <owl:Restriction>
+        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:cardinality>
+        <owl:onProperty>
+          <owl:DatatypeProperty rdf:ID="hasTerm"/>
+        </owl:onProperty>
+      </owl:Restriction>
+    </rdfs:subClassOf>
+    <rdfs:subClassOf rdf:resource="#DigitalHPS_Object"/>
+  </owl:Class>
+  <owl:Class rdf:ID="Relation">
+    <rdfs:subClassOf>
+      <owl:Restriction>
+        <owl:onProperty>
+          <owl:ObjectProperty rdf:ID="has_Subject"/>
+        </owl:onProperty>
+        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:cardinality>
+      </owl:Restriction>
+    </rdfs:subClassOf>
+    <rdfs:subClassOf>
+      <owl:Restriction>
+        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:cardinality>
+        <owl:onProperty>
+          <owl:ObjectProperty rdf:ID="has_Predicate"/>
+        </owl:onProperty>
+      </owl:Restriction>
+    </rdfs:subClassOf>
+    <rdfs:subClassOf>
+      <owl:Restriction>
+        <owl:onProperty>
           <owl:ObjectProperty rdf:ID="has_Object"/>
         </owl:onProperty>
+        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:cardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf rdf:resource="#DigitalHPS_Object"/>
@@ -133,11 +133,11 @@
     </rdfs:subClassOf>
     <rdfs:subClassOf>
       <owl:Restriction>
-        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
-        >1</owl:cardinality>
         <owl:onProperty>
           <owl:ObjectProperty rdf:ID="isReferencedAt"/>
         </owl:onProperty>
+        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
+        >1</owl:cardinality>
       </owl:Restriction>
     </rdfs:subClassOf>
     <rdfs:subClassOf>
@@ -326,12 +326,12 @@
         <rdf:first>
           <swrl:IndividualPropertyAtom>
             <swrl:propertyPredicate rdf:resource="#hasInterpretation"/>
+            <swrl:argument1>
+              <swrl:Variable rdf:ID="x"/>
+            </swrl:argument1>
             <swrl:argument2>
               <swrl:Variable rdf:ID="y"/>
             </swrl:argument2>
-            <swrl:argument1>
-              <swrl:Variable rdf:ID="x"/>
-            </swrl:argument1>
           </swrl:IndividualPropertyAtom>
         </rdf:first>
         <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
@@ -339,14 +339,14 @@
     </swrl:body>
     <swrl:head>
       <swrl:AtomList>
+        <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
         <rdf:first>
           <swrl:IndividualPropertyAtom>
-            <swrl:propertyPredicate rdf:resource="#isInterpretedIn"/>
+            <swrl:argument2 rdf:resource="#x"/>
             <swrl:argument1 rdf:resource="#y"/>
-            <swrl:argument2 rdf:resource="#x"/>
+            <swrl:propertyPredicate rdf:resource="#isInterpretedIn"/>
           </swrl:IndividualPropertyAtom>
         </rdf:first>
-        <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
       </swrl:AtomList>
     </swrl:head>
   </swrl:Imp>
--- a/protege.properties	Sun Feb 06 20:22:20 2011 +0100
+++ b/protege.properties	Sun Feb 06 21:19:48 2011 +0100
@@ -1,5 +1,5 @@
 #Protege Properties
-#Sun Feb 06 20:19:25 CET 2011
+#Sun Feb 06 20:57:42 CET 2011
 SwitchableClassDefinitionType=edu.stanford.smi.protegex.owl.ui.cls.LogicClassDefinitionWidgetType
 history.projects.reopen=file\:/Users/dwinter/Documents/Projekte/Diss%20-%20data-mining/eclipseWorkspace/de.mpiwg.dwinter.duomo/examples/newspaper/newspaper.pprj,file\:/Users/dwinter/Documents/Projekte/Diss%20-%20data-mining/eclipseWorkspace/de.mpiwg.dwinter.duomo/examples/sqwrl/SQWRLExamples.pprj,file\:/Users/dwinter/Documents/Projekte/Diss%20-%20data-mining/eclipseWorkspace/de.mpiwg.dwinter.duomo/examples/pizza/pizza.owl.pprj
 OntURIBase=http\://www.owl-ontologies.com
--- a/src/de/mpiwg/dwinter/duomo/lexdump/LexOWLTransformer.java	Sun Feb 06 20:22:20 2011 +0100
+++ b/src/de/mpiwg/dwinter/duomo/lexdump/LexOWLTransformer.java	Sun Feb 06 21:19:48 2011 +0100
@@ -27,6 +27,7 @@
 
 import edu.stanford.smi.protege.exception.OntologyLoadException;
 import edu.stanford.smi.protege.model.Instance;
+import edu.stanford.smi.protegex.owl.jena.JenaOWLModel;
 import edu.stanford.smi.protegex.owl.model.OWLAllValuesFrom;
 import edu.stanford.smi.protegex.owl.model.OWLClass;
 import edu.stanford.smi.protegex.owl.model.OWLDataRange;
@@ -98,18 +99,22 @@
 
 		LexOWLTransformer tf = new LexOWLTransformer(owlDoc, lexDoc);
 		tf.transform();
-		owlDoc.save("file:///tmp/out.owl");
+		//owlDoc.save("file:///tmp/out.owl");
 	}
 
-	private void transform() throws JDOMException {
+	private void transform() throws URISyntaxException, Exception {
 		List<Element> signatures = lexDoc.getSignatures();
 
 		// Element signature = signatures.get(0);
-		int signatureCount = 1;
+		int signatureCount = 0;
 		int maxsign = signatures.size();
 		for (Element signature : signatures) {
 			logger.debug(String.format("Signature: %s (%s)", signatureCount,
 					maxsign));
+			
+			signatureCount++;
+			//if (signatureCount<5 || signatureCount>10)
+			//	continue;
 			OWLIndividual signatureInd = createSignature(signature);
 
 			@SuppressWarnings("unchecked")
@@ -140,7 +145,9 @@
 																				// record-tag
 				}
 			}
-			signatureCount++;
+		owlDoc.save("/tmp/out"+String.valueOf(signatureCount)+".owl");	
+		logger.debug("Saved:"+"/tmp/out"+String.valueOf(signatureCount)+".owl");
+		owlDoc.reloadOWL();
 		}
 		//owlDoc.printModel();
 	}
--- a/src/de/mpiwg/dwinter/duomo/lexdump/OWLImporter.java	Sun Feb 06 20:22:20 2011 +0100
+++ b/src/de/mpiwg/dwinter/duomo/lexdump/OWLImporter.java	Sun Feb 06 21:19:48 2011 +0100
@@ -32,10 +32,23 @@
 	Logger logger = Logger.getRootLogger();
 	private HashMap<String, String> typeId2className=null;
 	private HashMap<String, OWLNamedClass> typeId2class=null;
+	private String ontFolder;
+	private URI uri;
 
 	public OWLImporter(String folder, URI uri) throws OntologyLoadException {
 		// owlModel = ProtegeOWL.createJenaOWLModelFromURI(uri);
 
+		this.ontFolder=folder;
+		this.uri=uri;
+		
+		loadOWL(folder, uri);
+	}
+
+	public void reloadOWL() throws OntologyLoadException{
+		loadOWL(ontFolder, uri);
+	}
+	
+	public void loadOWL(String folder, URI uri) throws OntologyLoadException {
 		owlModel = ProtegeOWL.createJenaOWLModel();
 		// Load repository
 		RepositoryManager rman = owlModel.getRepositoryManager();