You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by al...@apache.org on 2011/07/20 14:58:55 UTC

svn commit: r1148744 - in /incubator/stanbol/trunk/ontologymanager/ontonet/src: main/resources/META-INF/conf/ test/java/org/apache/stanbol/ontologymanager/ontonet/ test/java/org/apache/stanbol/ontologymanager/ontonet/io/ test/java/org/apache/stanbol/on...

Author: alexdma
Date: Wed Jul 20 12:58:49 2011
New Revision: 1148744

URL: http://svn.apache.org/viewvc?rev=1148744&view=rev
Log:
STANBOL-277 :
- Remove all content patterns and codolight ontologies from the ontonet src/test/resources
- Replaced FOAF with mock ontology (with erroneous references to FOAF) for offline testing
- Removed import statements pointing to the aforementioned ontologies (will not disrupt unit tests)
- Rebranded remaining ontologies with ontologydesignpatterns.org IDs that were actually authored by Stanbol committers and not published
- Added more in-house dummy ontologies for tests
- Modified tests to use remaining local ontologies

Added:
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/characters_all.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/droppedcharacters.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/minorcharacters.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/mockfoaf.rdf
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nonexistentcharacters.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/onmtest.owl
      - copied, changed from r1148651, incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/krestest.owl
Removed:
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/coddata.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/codkernel.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/index.rdf
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/agentrole.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/classification.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/collectionentity.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/communities.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/cpannotationschema.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/description.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/descriptionandsituation.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/informationobjectsandrepresentationlanguages.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/intensionextension.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/objectrole.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/participation.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/partof.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/situation.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/taskexecution.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/taskrole.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/topic.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/odp/typesofentities.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/pizza.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/krestest.owl
Modified:
    incubator/stanbol/trunk/ontologymanager/ontonet/src/main/resources/META-INF/conf/onm.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Constants.java
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Locations.java
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/io/TestOntologyInputSources.java
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestIndexing.java
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestOntologySpaces.java
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/registry/TestOntologyLibrary.java
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/maincharacters.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nameless_ontology.owl
    incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/meta.owl

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/resources/META-INF/conf/onm.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/resources/META-INF/conf/onm.owl?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/resources/META-INF/conf/onm.owl (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/resources/META-INF/conf/onm.owl Wed Jul 20 12:58:49 2011
@@ -16,7 +16,6 @@
   limitations under the License.
 -->
 
-
 <!DOCTYPE rdf:RDF [
     <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
     <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
@@ -40,10 +39,13 @@
      xmlns:meta="http://www.ontologydesignpatterns.org/schemas/meta.owl#"
      xmlns:onm="http://kres.iks-project.eu/ontology/meta/onm.owl#">
     <owl:Ontology rdf:about="http://kres.iks-project.eu/ontology/meta/onm.owl">
-        <rdfs:comment xml:lang="en">The IKS KReS Ontology Network Manager metalevel vocabulary.</rdfs:comment>
-        <!--
-        <owl:imports rdf:resource="http://omv.ontoware.org/2005/05/ontology"/>
-        -->
+        <owl:versionInfo xml:lang="en">Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+</owl:versionInfo>
+        <rdfs:comment xml:lang="en">The IKS Ontology Network Manager metalevel vocabulary.</rdfs:comment>
         <owl:imports rdf:resource="http://www.ontologydesignpatterns.org/schemas/meta.owl"/>
     </owl:Ontology>
     
@@ -65,6 +67,17 @@
     <!-- 
     ///////////////////////////////////////////////////////////////////////////////////////
     //
+    // Datatypes
+    //
+    ///////////////////////////////////////////////////////////////////////////////////////
+     -->
+
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
     // Object Properties
     //
     ///////////////////////////////////////////////////////////////////////////////////////
@@ -266,15 +279,15 @@
         <rdfs:label xml:lang="en">Scope</rdfs:label>
         <rdfs:subClassOf>
             <owl:Restriction>
-                <owl:onProperty rdf:resource="&onm;activateOnStart"/>
-                <owl:maxQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxQualifiedCardinality>
-                <owl:onDataRange rdf:resource="&xsd;boolean"/>
+                <owl:onProperty rdf:resource="&onm;usesLibrary"/>
+                <owl:allValuesFrom rdf:resource="&coddata;OntologyLibrary"/>
             </owl:Restriction>
         </rdfs:subClassOf>
         <rdfs:subClassOf>
             <owl:Restriction>
-                <owl:onProperty rdf:resource="&onm;usesLibrary"/>
-                <owl:allValuesFrom rdf:resource="&coddata;OntologyLibrary"/>
+                <owl:onProperty rdf:resource="&onm;activateOnStart"/>
+                <owl:maxQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxQualifiedCardinality>
+                <owl:onDataRange rdf:resource="&xsd;boolean"/>
             </owl:Restriction>
         </rdfs:subClassOf>
         <rdfs:comment xml:lang="en">An entity involving a set of (networked) ontologies encompassing a given domain or meta-domain.</rdfs:comment>
@@ -302,5 +315,5 @@
 
 
 
-<!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net -->
+<!-- Generated by the OWL API (version 3.2.3.22702) http://owlapi.sourceforge.net -->
 

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Constants.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Constants.java?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Constants.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Constants.java Wed Jul 20 12:58:49 2011
@@ -18,9 +18,9 @@ package org.apache.stanbol.ontologymanag
 
 public class Constants {
 
-	public static final String PEANUTS_MAIN_BASE = "http://stanbol.apache.org/ontologies/peanuts/maincharacters.owl";
+	public static final String PEANUTS_MAIN_BASE = "http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl";
 
-	public static final String PEANUTS_MINOR_BASE = "http://stanbol.apache.org/ontologies/peanuts/minorcharacters.owl";
+	public static final String PEANUTS_MINOR_BASE = "http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl";
 
 	public static final String dog = "Dog";
 

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Locations.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Locations.java?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Locations.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/Locations.java Wed Jul 20 12:58:49 2011
@@ -26,37 +26,37 @@ public class Locations {
     /**
      * Default physical location of the ontology registry for testing.
      */
-    public static final IRI _CP_NAMESPACE = IRI.create("http://www.ontologydesignpatterns.org/cp/owl/");
+    public static final IRI _STANBOL_ONT_NAMESPACE = IRI.create("http://stanbol.apache.org/ontologies/");
 
     /**
      * Default physical location of the ontology registry for testing.
      */
-    public static final IRI _REGISTRY_TEST = IRI
-            .create("http://www.ontologydesignpatterns.org/registry/krestest.owl");
+    public static final IRI _REGISTRY_TEST = IRI.create(_STANBOL_ONT_NAMESPACE + "registries/onmtest.owl");
 
     /**
      * Identifier of test ontology library 1.
      */
-    public static final IRI LIBRARY_TEST1 = IRI.create(_REGISTRY_TEST + "#TestRegistry");
+    public static final IRI LIBRARY_TEST1 = IRI.create(_REGISTRY_TEST + "#Library1");
 
     /**
      * Identifier of test ontology library 2.
      */
-    public static final IRI LIBRARY_TEST2 = IRI.create(_REGISTRY_TEST + "#TestLibrary2");
+    public static final IRI LIBRARY_TEST2 = IRI.create(_REGISTRY_TEST + "#Library2");
 
     /**
      * An ontology in test libraries 1 and 2.
      */
-    public static final IRI ODP_OBJECTROLE = IRI.create(_CP_NAMESPACE + "objectrole.owl");
+    public static final IRI CHAR_MAIN = IRI.create(_STANBOL_ONT_NAMESPACE + "pcomics/maincharacters.owl");
 
     /**
      * An ontology in test library 2 but not in test library 1.
      */
-    public static final IRI ODP_SITUATION = IRI.create(_CP_NAMESPACE + "situation.owl");
+    public static final IRI CHAR_DROPPED = IRI.create(_STANBOL_ONT_NAMESPACE
+                                                      + "pcomics/droppedcharacters.owl");
 
     /**
      * An ontology in test library 1 but not in test library 2.
      */
-    public static final IRI ODP_TYPESOFENTITIES = IRI.create(_CP_NAMESPACE + "typesofentities.owl");
+    public static final IRI CHAR_ACTIVE = IRI.create(_STANBOL_ONT_NAMESPACE + "pcomics/characters_all.owl");
 
 }

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/io/TestOntologyInputSources.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/io/TestOntologyInputSources.java?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/io/TestOntologyInputSources.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/io/TestOntologyInputSources.java Wed Jul 20 12:58:49 2011
@@ -131,7 +131,7 @@ public class TestOntologyInputSources {
      */
     @Test
     public void testOfflineSingleton() throws Exception {
-        URL url = getClass().getResource("/ontologies/index.rdf");
+        URL url = getClass().getResource("/ontologies/mockfoaf.rdf");
         assertNotNull(url);
         OntologyInputSource coreSource = new RootOntologyIRISource(IRI.create(url));
         assertNotNull(df);

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestIndexing.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestIndexing.java?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestIndexing.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestIndexing.java Wed Jul 20 12:58:49 2011
@@ -1,19 +1,19 @@
 /*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements.  See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License.  You may obtain a copy of the License at
-*
-*     http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.stanbol.ontologymanager.ontonet.ontology;
 
 import static org.junit.Assert.*;
@@ -46,13 +46,11 @@ public class TestIndexing {
 
     private static OWLOntologyManager mgr;
 
-    private static IRI communitiesCpIri = IRI
-            .create("http://www.ontologydesignpatterns.org/cp/owl/communities.owl"), objrole = IRI
-            .create("http://www.ontologydesignpatterns.org/cp/owl/objectrole.owl"), scopeIri = IRI
-            .create("http://fise.iks-project.eu/TestIndexing"),
-    // submissionsIri = IRI
-    // .create("http://www.ontologydesignpatterns.org/registry/submissions.owl"),
-            testRegistryIri = IRI.create("http://www.ontologydesignpatterns.org/registry/krestest.owl");
+    private static IRI iri_minor = IRI
+            .create("http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl"), iri_main = IRI
+            .create("http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl"), scopeIri = IRI
+            .create("http://stanbol.apache.org/scope/IndexingTest"), testRegistryIri = IRI
+            .create("http://stanbol.apache.org/ontologies/registries/onmtest.owl");
 
     private static OntologyScope scope = null;
 
@@ -65,9 +63,9 @@ public class TestIndexing {
 
         // Since it is registered, this scope must be unique, or subsequent
         // tests will fail on duplicate ID exceptions!
-        scopeIri = IRI.create("http://fise.iks-project.eu/TestIndexing");
+        scopeIri = IRI.create("http://stanbol.apache.org/scope/IndexingTest");
         IRI coreroot = IRI.create(scopeIri + "/core/root.owl");
-        
+
         @SuppressWarnings("unused")
         OWLOntology oParent = null;
         try {
@@ -99,7 +97,7 @@ public class TestIndexing {
         OntologyIndex index = onm.getOntologyIndex();
 
         // Load communities ODP (and its import closure) from local resource.
-        URL url = getClass().getResource("/ontologies/odp/communities.owl");
+        URL url = getClass().getResource("/ontologies/characters_all.owl");
         assertNotNull(url);
         File f = new File(url.toURI());
         assertNotNull(f);
@@ -108,24 +106,26 @@ public class TestIndexing {
         OntologySpace cust = scope.getCustomSpace();
         cust.addOntology(commSrc);
 
-        assertTrue(index.isOntologyLoaded(communitiesCpIri));
-        url = getClass().getResource("/ontologies/odp/topic.owl");
+        assertTrue(index.isOntologyLoaded(iri_minor));
+
+        url = getClass().getResource("/ontologies/minorcharacters.owl");
         assertNotNull(url);
         f = new File(url.toURI());
         assertNotNull(f);
-        cust.addOntology(new ParentPathInputSource(f));
-        cust.removeOntology(commSrc);
 
-        assertFalse(index.isOntologyLoaded(communitiesCpIri));
+        cust.removeOntology(new ParentPathInputSource(f));
+        // cust.removeOntology(commSrc);
+
+        assertFalse(index.isOntologyLoaded(iri_minor));
     }
 
     @Test
     public void testGetOntology() throws Exception {
         // Load the original objectRole ODP
-        OWLOntology oObjRole = mgr.loadOntology(objrole);
+        OWLOntology oObjRole = mgr.loadOntology(iri_main);
         assertNotNull(oObjRole);
         // Compare it against the one indexed.
-//         FIXME reinstate these checks
+        // FIXME reinstate these checks
         // OntologyIndex index = onm.getOntologyIndex();
         // assertNotNull(index.getOntology(objrole));
         // // assertSame() would fail.

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestOntologySpaces.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestOntologySpaces.java?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestOntologySpaces.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/ontology/TestOntologySpaces.java Wed Jul 20 12:58:49 2011
@@ -1,19 +1,19 @@
 /*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements.  See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License.  You may obtain a copy of the License at
-*
-*     http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.stanbol.ontologymanager.ontonet.ontology;
 
 import static org.junit.Assert.*;
@@ -51,7 +51,7 @@ public class TestOntologySpaces {
 
     public static IRI baseIri = IRI.create(Constants.PEANUTS_MAIN_BASE), baseIri2 = IRI
             .create(Constants.PEANUTS_MINOR_BASE), scopeIri = IRI
-            .create("http://kres.iks-project.eu/scope/Peanuts");
+            .create("http://stanbol.apache.org/scope/Comics");
 
     private static OWLAxiom linusIsHuman = null;
 
@@ -59,7 +59,7 @@ public class TestOntologySpaces {
 
     private static OWLOntology ont = null, ont2 = null;
 
-    private static OntologyInputSource ontSrc, ont2Src, pizzaSrc, colleSrc;
+    private static OntologyInputSource ontSrc, minorSrc, dropSrc, nonexSrc;
 
     private static OntologySpaceFactory spaceFactory;
 
@@ -91,39 +91,34 @@ public class TestOntologySpaces {
         mgr.applyChange(new AddAxiom(ont, linusIsHuman));
 
         ont2 = mgr.createOntology(baseIri2);
-        ont2Src = new RootOntologySource(ont2);
+        minorSrc = new RootOntologySource(ont2);
 
-        pizzaSrc = getLocalSource("/ontologies/pizza.owl", mgr);
-        colleSrc = getLocalSource("/ontologies/odp/collectionentity.owl", mgr);
-        ont2Src = new RootOntologySource(ont2, null);
+        dropSrc = getLocalSource("/ontologies/droppedcharacters.owl", mgr);
+        nonexSrc = getLocalSource("/ontologies/nonexistentcharacters.owl", mgr);
+        minorSrc = new RootOntologySource(ont2, null);
 
     }
 
     @Test
-    public void testAddOntology() {
+    public void testAddOntology() throws Exception {
         CustomOntologySpace space = null;
-        IRI logicalId = colleSrc.getRootOntology().getOntologyID().getOntologyIRI();
-        try {
-            space = spaceFactory.createCustomOntologySpace(scopeIri, pizzaSrc);
-            space.addOntology(ont2Src);
-
-            space.addOntology(colleSrc);
+        IRI logicalId = nonexSrc.getRootOntology().getOntologyID().getOntologyIRI();
 
-        } catch (UnmodifiableOntologySpaceException e) {
-            fail("Add operation on " + scopeIri + " custom space was denied due to unexpected lock.");
-        }
+        space = spaceFactory.createCustomOntologySpace(scopeIri, dropSrc);
+        space.addOntology(minorSrc);
+        space.addOntology(nonexSrc);
 
         assertTrue(space.containsOntology(logicalId));
-        logicalId = pizzaSrc.getRootOntology().getOntologyID().getOntologyIRI();
+        logicalId = dropSrc.getRootOntology().getOntologyID().getOntologyIRI();
         assertTrue(space.containsOntology(logicalId));
     }
 
     @Test
-    public void testCoreLock() {
+    public void testCoreLock() throws Exception {
         CoreOntologySpace space = spaceFactory.createCoreOntologySpace(scopeIri, ontSrc);
         space.setUp();
         try {
-            space.addOntology(ont2Src);
+            space.addOntology(minorSrc);
             fail("Modification was permitted on locked ontology space.");
         } catch (UnmodifiableOntologySpaceException e) {
             assertSame(space, e.getSpace());
@@ -132,17 +127,17 @@ public class TestOntologySpaces {
 
     @Test
     public void testCreateSpace() throws Exception {
-        CustomOntologySpace space = spaceFactory.createCustomOntologySpace(scopeIri, pizzaSrc);
-        IRI logicalId = pizzaSrc.getRootOntology().getOntologyID().getOntologyIRI();
+        CustomOntologySpace space = spaceFactory.createCustomOntologySpace(scopeIri, dropSrc);
+        IRI logicalId = dropSrc.getRootOntology().getOntologyID().getOntologyIRI();
         assertTrue(space.containsOntology(logicalId));
     }
 
     @Test
-    public void testCustomLock() {
+    public void testCustomLock() throws Exception {
         CustomOntologySpace space = spaceFactory.createCustomOntologySpace(scopeIri, ontSrc);
         space.setUp();
         try {
-            space.addOntology(ont2Src);
+            space.addOntology(minorSrc);
             fail("Modification was permitted on locked ontology space.");
         } catch (UnmodifiableOntologySpaceException e) {
             assertSame(space, e.getSpace());
@@ -150,20 +145,20 @@ public class TestOntologySpaces {
     }
 
     @Test
-    public void testRemoveCustomOntology() {
+    public void testRemoveCustomOntology() throws Exception {
         CustomOntologySpace space = null;
-        space = spaceFactory.createCustomOntologySpace(scopeIri, pizzaSrc);
-        IRI pizzaId = pizzaSrc.getRootOntology().getOntologyID().getOntologyIRI();
-        IRI wineId = colleSrc.getRootOntology().getOntologyID().getOntologyIRI();
+        space = spaceFactory.createCustomOntologySpace(scopeIri, dropSrc);
+        IRI pizzaId = dropSrc.getRootOntology().getOntologyID().getOntologyIRI();
+        IRI wineId = nonexSrc.getRootOntology().getOntologyID().getOntologyIRI();
         try {
             space.addOntology(ontSrc);
-            space.addOntology(colleSrc);
+            space.addOntology(nonexSrc);
             // The other remote ontologies may change base IRI...
             assertTrue(space.containsOntology(ont.getOntologyID().getOntologyIRI())
                        && space.containsOntology(pizzaId) && space.containsOntology(wineId));
-            space.removeOntology(pizzaSrc);
+            space.removeOntology(dropSrc);
             assertFalse(space.containsOntology(pizzaId));
-            space.removeOntology(colleSrc);
+            space.removeOntology(nonexSrc);
             assertFalse(space.containsOntology(wineId));
             // OntologyUtils.printOntology(space.getTopOntology(), System.err);
         } catch (UnmodifiableOntologySpaceException e) {
@@ -174,14 +169,14 @@ public class TestOntologySpaces {
     }
 
     @Test
-    public void testSessionModification() {
+    public void testSessionModification() throws Exception {
         SessionOntologySpace space = spaceFactory.createSessionOntologySpace(scopeIri);
         space.setUp();
         try {
             // First add an in-memory ontology with a few axioms.
             space.addOntology(ontSrc);
             // Now add a real online ontology
-            space.addOntology(pizzaSrc);
+            space.addOntology(dropSrc);
             // The in-memory ontology must be in the space.
             assertTrue(space.getOntologies().contains(ont));
             // The in-memory ontology must still have its axioms.

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/registry/TestOntologyLibrary.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/registry/TestOntologyLibrary.java?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/registry/TestOntologyLibrary.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/java/org/apache/stanbol/ontologymanager/ontonet/registry/TestOntologyLibrary.java Wed Jul 20 12:58:49 2011
@@ -18,7 +18,6 @@ package org.apache.stanbol.ontologymanag
 
 import static org.junit.Assert.*;
 
-import java.io.File;
 import java.util.Hashtable;
 
 import org.apache.stanbol.ontologymanager.ontonet.Locations;
@@ -38,7 +37,6 @@ import org.junit.Test;
 import org.semanticweb.owlapi.model.IRI;
 import org.semanticweb.owlapi.model.OWLImportsDeclaration;
 import org.semanticweb.owlapi.model.OWLOntology;
-import org.semanticweb.owlapi.util.AutoIRIMapper;
 
 /**
  * This class tests the correct loading of ontology libraries from an OWL repository. It also checks that
@@ -46,7 +44,7 @@ import org.semanticweb.owlapi.util.AutoI
  */
 public class TestOntologyLibrary {
 
-    private String registryResource = "/ontologies/registry/krestest.owl";
+    private String registryResource = "/ontologies/registry/onmtest.owl";
 
     private ONManager onm;
 
@@ -57,12 +55,19 @@ public class TestOntologyLibrary {
      */
     @Before
     public void setupTest() throws Exception {
+
         // An ONManagerImpl with no store and default settings
         ONManagerConfiguration configuration = new ONManagerConfigurationImpl(new Hashtable<String,Object>());
         onm = new ONManagerImpl(null, null, configuration, new Hashtable<String,Object>());
-        onm.getOwlCacheManager().addIRIMapper(
-            new AutoIRIMapper(new File(getClass().getResource("/ontologies/odp").toURI()), true));
+
+        // *Not* adding mappers to empty resource directories.
+        // It seems the Maven surefire plugin won't copy them.
+
+        // onm.getOwlCacheManager().addIRIMapper(
+        // new AutoIRIMapper(new File(getClass().getResource("/ontologies/odp").toURI()), true));
+
         loader = new RegistryLoaderImpl(onm);
+
     }
 
     /**
@@ -107,10 +112,10 @@ public class TestOntologyLibrary {
         Registry lib = loader.loadLibraryEager(localTestRegistry, Locations.LIBRARY_TEST2);
         assertTrue(lib.hasChildren());
         // Should be in the library.
-        boolean hasSituation = containsOntologyRecursive(lib, Locations.ODP_SITUATION);
+        boolean hasShould = containsOntologyRecursive(lib, Locations.CHAR_DROPPED);
         // Should NOT be in the library (belongs to another library in the same registry).
-        boolean hasTypes = containsOntologyRecursive(lib, Locations.ODP_TYPESOFENTITIES);
-        assertTrue(hasSituation && !hasTypes);
+        boolean hasShouldNot = containsOntologyRecursive(lib, Locations.CHAR_ACTIVE);
+        assertTrue(hasShould && !hasShouldNot);
     }
 
     /**
@@ -125,16 +130,16 @@ public class TestOntologyLibrary {
         OntologyInputSource src = new LibrarySource(Locations.LIBRARY_TEST1, localTestRegistry,
                 onm.getOwlCacheManager(), loader);
         OWLOntology o = src.getRootOntology();
-        boolean hasTypes = false, hasObjectRole = false;
+        boolean hasImporting = false, hasImported = false;
         for (OWLImportsDeclaration ax : o.getImportsDeclarations()) {
             // Since we added a local IRI mapping, import statements might be using file: IRIs instead of
             // HTTP, in which case IRI equality would fail.
             String tmpstr = ax.getIRI().toString();
-            if (!hasTypes && tmpstr.endsWith("typesofentities.owl")) hasTypes = true;
-            else if (!hasObjectRole && tmpstr.endsWith("objectrole.owl")) hasObjectRole = true;
-            if (hasTypes && hasObjectRole) break;
+            if (!hasImporting && tmpstr.endsWith("characters_all.owl")) hasImporting = true;
+            else if (!hasImported && tmpstr.endsWith("maincharacters.owl")) hasImported = true;
+            if (hasImporting && hasImported) break;
         }
-        assertTrue(hasTypes && hasObjectRole);
+        assertTrue(hasImporting && hasImported);
     }
 
 }

Added: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/characters_all.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/characters_all.owl?rev=1148744&view=auto
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/characters_all.owl (added)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/characters_all.owl Wed Jul 20 12:58:49 2011
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!DOCTYPE rdf:RDF [
+    <!ENTITY foaf "http://xmlns.com/foaf/0.1/" >
+    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
+    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
+    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
+    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
+]>
+
+
+<rdf:RDF xmlns="http://stanbol.apache.org/ontologies/pcomics/characters_all.owl#"
+     xml:base="http://stanbol.apache.org/ontologies/pcomics/characters_all.owl"
+     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+     xmlns:owl="http://www.w3.org/2002/07/owl#"
+     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+    <owl:Ontology rdf:about="http://stanbol.apache.org/ontologies/pcomics/characters_all.owl">
+        <owl:versionInfo xml:lang="en">Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+        </owl:versionInfo>
+            <owl:imports rdf:resource="http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl"/>
+            <owl:imports rdf:resource="http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl"/>
+    </owl:Ontology>  
+
+</rdf:RDF>
+
+
+
+<!-- Generated by the OWL API (version 3.2.2.1789) http://owlapi.sourceforge.net -->
+

Added: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/droppedcharacters.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/droppedcharacters.owl?rev=1148744&view=auto
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/droppedcharacters.owl (added)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/droppedcharacters.owl Wed Jul 20 12:58:49 2011
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!DOCTYPE rdf:RDF [
+    <!ENTITY foaf "http://xmlns.com/foaf/0.1/" >
+    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
+    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
+    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
+    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
+]>
+
+
+<rdf:RDF xmlns="http://stanbol.apache.org/ontologies/pcomics/droppedcharacters.owl#"
+     xml:base="http://stanbol.apache.org/ontologies/pcomics/droppedcharacters.owl"
+     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+     xmlns:foaf="http://xmlns.com/foaf/0.1/"
+     xmlns:owl="http://www.w3.org/2002/07/owl#"
+     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+    <owl:Ontology rdf:about="http://stanbol.apache.org/ontologies/pcomics/droppedcharacters.owl">
+        <rdfs:comment>Should import: http://xmlns.com/foaf/0.1/</rdfs:comment>
+        <owl:versionInfo xml:lang="en">Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+        </owl:versionInfo>
+    </owl:Ontology>
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
+    // Annotation properties
+    //
+    ///////////////////////////////////////////////////////////////////////////////////////
+     -->
+
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
+    // Datatypes
+    //
+    //////////////////////////////////////////////droppedcharacters.owl/////////////////////////////////////////
+     -->
+
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
+    // Individuals
+    //
+    ///////////////////////////////////////////////////////////////////////////////////////
+     -->
+
+    <!-- http://stanbol.apache.org/ontologies/pcomics/droppedcharacters.owl#Shermy -->
+
+    <foaf:Person rdf:about="http://stanbol.apache.org/ontologies/pcomics/droppedcharacters.owl#Shermy">
+        <rdf:type rdf:resource="&owl;NamedIndividual"/>
+        <rdfs:label xml:lang="en">Shermy</rdfs:label>
+    </foaf:Person>    
+
+</rdf:RDF>
+
+
+
+<!-- Generated by the OWL API (version 3.2.2.1789) http://owlapi.sourceforge.net -->
+

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/maincharacters.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/maincharacters.owl?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/maincharacters.owl (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/maincharacters.owl Wed Jul 20 12:58:49 2011
@@ -1,5 +1,20 @@
 <?xml version="1.0"?>
-
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 
 <!DOCTYPE rdf:RDF [
     <!ENTITY foaf "http://xmlns.com/foaf/0.1/" >
@@ -10,15 +25,21 @@
 ]>
 
 
-<rdf:RDF xmlns="http://stanbol.apache.org/ontologies/peanuts/maincharacters.owl#"
-     xml:base="http://stanbol.apache.org/ontologies/peanuts/maincharacters.owl"
+<rdf:RDF xmlns="http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl#"
+     xml:base="http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl"
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
      xmlns:foaf="http://xmlns.com/foaf/0.1/"
      xmlns:owl="http://www.w3.org/2002/07/owl#"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
-    <owl:Ontology rdf:about="http://stanbol.apache.org/ontologies/peanuts/maincharacters.owl">
-        <owl:imports rdf:resource="http://xmlns.com/foaf/0.1/"/>
+    <owl:Ontology rdf:about="http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl">
+        <rdfs:comment>Should import: http://xmlns.com/foaf/0.1/</rdfs:comment>
+        <owl:versionInfo xml:lang="en">Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+        </owl:versionInfo>
     </owl:Ontology>
     
 
@@ -56,20 +77,21 @@
     
 
 
-    <!-- http://stanbol.apache.org/ontologies/peanuts/maincharacters.owl#Linus -->
+    <!-- http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl#Linus -->
 
-    <foaf:Person rdf:about="http://stanbol.apache.org/ontologies/peanuts/maincharacters.owl#Linus">
+    <foaf:Person rdf:about="http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl#Linus">
         <rdf:type rdf:resource="&owl;NamedIndividual"/>
         <rdfs:label xml:lang="en">Linus</rdfs:label>
     </foaf:Person>
     
 
 
-    <!-- http://stanbol.apache.org/ontologies/peanuts/maincharacters.owl#Lucy -->
+    <!-- http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl#Lucy -->
 
-    <foaf:Perzon rdf:about="http://stanbol.apache.org/ontologies/peanuts/maincharacters.owl#Lucy">
+    <foaf:Perzon rdf:about="http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl#Lucy">
         <rdf:type rdf:resource="&owl;NamedIndividual"/>
         <rdfs:label xml:lang="en">Lucy</rdfs:label>
+        <rdfs:comment xml:lang="en">The typing of this individual as foaf:Perzon is wilful, DO NOT REMOVE.</rdfs:comment>
     </foaf:Perzon>
 </rdf:RDF>
 

Added: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/minorcharacters.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/minorcharacters.owl?rev=1148744&view=auto
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/minorcharacters.owl (added)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/minorcharacters.owl Wed Jul 20 12:58:49 2011
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!DOCTYPE rdf:RDF [
+    <!ENTITY foaf "http://xmlns.com/foaf/0.1/" >
+    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
+    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
+    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
+    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
+]>
+
+
+<rdf:RDF xmlns="http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl#"
+     xml:base="http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl"
+     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+     xmlns:foaf="http://xmlns.com/foaf/0.1/"
+     xmlns:owl="http://www.w3.org/2002/07/owl#"
+     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+    <owl:Ontology rdf:about="http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl">
+        <rdfs:comment>Should import: http://xmlns.com/foaf/0.1/</rdfs:comment>
+        <owl:versionInfo xml:lang="en">Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+        </owl:versionInfo>
+    </owl:Ontology>
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
+    // Annotation properties
+    //
+    ///////////////////////////////////////////////////////////////////////////////////////
+     -->
+
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
+    // Datatypes
+    //
+    ///////////////////////////////////////////////////////////////////////////////////////
+     -->
+
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
+    // Individuals
+    //
+    ///////////////////////////////////////////////////////////////////////////////////////
+     -->
+
+    <!-- http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl#Truffles -->
+
+    <foaf:Person rdf:about="http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl#Truffles">
+        <rdf:type rdf:resource="&owl;NamedIndividual"/>
+        <rdfs:label xml:lang="en">Truffles</rdfs:label>
+    </foaf:Person>    
+
+
+    <!-- http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl#Thibault -->
+
+    <foaf:Person rdf:about="http://stanbol.apache.org/ontologies/pcomics/minorcharacters.owl#Thibault">
+        <rdf:type rdf:resource="&owl;NamedIndividual"/>
+        <rdfs:label xml:lang="en">Thibault</rdfs:label>
+    </foaf:Person>
+
+</rdf:RDF>
+
+
+
+<!-- Generated by the OWL API (version 3.2.2.1789) http://owlapi.sourceforge.net -->
+

Added: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/mockfoaf.rdf
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/mockfoaf.rdf?rev=1148744&view=auto
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/mockfoaf.rdf (added)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/mockfoaf.rdf Wed Jul 20 12:58:49 2011
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<rdf:RDF 
+	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
+	xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
+	xmlns:owl="http://www.w3.org/2002/07/owl#" 
+	xmlns:foaf="http://xmlns.com/foaf/0.1/" 
+	xmlns:dc="http://purl.org/dc/elements/1.1/">
+	
+	<owl:Ontology rdf:about="http://xmlns.com/foaf/0.1/" dc:description="A mock of the FOAF vocabulary that introduces mistakes in the vocabulary definition. Used to test offline overrides." >
+		<owl:versionInfo xml:lang="en">Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+		</owl:versionInfo>
+	</owl:Ontology>
+
+	<rdfs:Class rdf:about="http://xmlns.com/foaf/0.1/Perzon" rdfs:label="Person" rdfs:comment="A bogus definition of person.">
+		<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
+		<rdfs:isDefinedBy rdf:resource="http://xmlns.com/foaf/0.1/"/>
+	</rdfs:Class>
+	
+</rdf:RDF>
\ No newline at end of file

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nameless_ontology.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nameless_ontology.owl?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nameless_ontology.owl (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nameless_ontology.owl Wed Jul 20 12:58:49 2011
@@ -1,5 +1,20 @@
 <?xml version="1.0"?>
-
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 
 <!DOCTYPE rdf:RDF [
     <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
@@ -9,8 +24,8 @@
 ]>
 
 
-<rdf:RDF xmlns="http://kres.iks-project.eu/ontology/nameless_ontology.owl#"
-     xml:base="http://kres.iks-project.eu/ontology/nameless_ontology.owl"
+<rdf:RDF xmlns="http://stanbol.apache.org/ontology/nameless_ontology.owl#"
+     xml:base="http://stanbol.apache.org/ontology/nameless_ontology.owl"
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
      xmlns:owl="http://www.w3.org/2002/07/owl#"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
@@ -29,9 +44,9 @@
     
 
 
-    <!-- http://kres.iks-project.eu/ontology/nameless_ontology.owl#dummyProperty -->
+    <!-- http://stanbol.apache.org/ontology/nameless_ontology.owl#dummyProperty -->
 
-    <owl:ObjectProperty rdf:about="http://kres.iks-project.eu/ontology/nameless_ontology.owl#dummyProperty">
+    <owl:ObjectProperty rdf:about="http://stanbol.apache.org/ontology/nameless_ontology.owl#dummyProperty">
         <rdfs:subPropertyOf rdf:resource="&owl;topObjectProperty"/>
     </owl:ObjectProperty>
     
@@ -54,9 +69,9 @@
     
 
 
-    <!-- http://kres.iks-project.eu/ontology/nameless_ontology.owl#DummyClass -->
+    <!-- http://stanbol.apache.org/ontology/nameless_ontology.owl#DummyClass -->
 
-    <owl:Class rdf:about="http://kres.iks-project.eu/ontology/nameless_ontology.owl#DummyClass"/>
+    <owl:Class rdf:about="http://stanbol.apache.org/ontology/nameless_ontology.owl#DummyClass"/>
 </rdf:RDF>
 
 

Added: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nonexistentcharacters.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nonexistentcharacters.owl?rev=1148744&view=auto
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nonexistentcharacters.owl (added)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/nonexistentcharacters.owl Wed Jul 20 12:58:49 2011
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!DOCTYPE rdf:RDF [
+    <!ENTITY foaf "http://xmlns.com/foaf/0.1/" >
+    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
+    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
+    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
+    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
+]>
+
+
+<rdf:RDF xmlns="http://stanbol.apache.org/ontologies/pcomics/nonexistentcharacters.owl#"
+     xml:base="http://stanbol.apache.org/ontologies/pcomics/nonexistentcharacters.owl"
+     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+     xmlns:foaf="http://xmlns.com/foaf/0.1/"
+     xmlns:owl="http://www.w3.org/2002/07/owl#"
+     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+    <owl:Ontology rdf:about="http://stanbol.apache.org/ontologies/pcomics/nonexistentcharacters.owl">
+        <rdfs:comment>Should import: http://xmlns.com/foaf/0.1/</rdfs:comment>
+        <owl:versionInfo xml:lang="en">Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+        </owl:versionInfo>
+    </owl:Ontology>
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
+    // Annotation properties
+    //
+    ///////////////////////////////////////////////////////////////////////////////////////
+     -->
+
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
+    // Datatypes
+    //
+    //////////////////////////////////////////////nonexistentcharacters.owl/////////////////////////////////////////
+     -->
+
+    
+
+
+    <!-- 
+    ///////////////////////////////////////////////////////////////////////////////////////
+    //
+    // Individuals
+    //
+    ///////////////////////////////////////////////////////////////////////////////////////
+     -->
+
+    <!-- http://stanbol.apache.org/ontologies/pcomics/nonexistentcharacters.owl#Brukurutrukk -->
+
+    <foaf:Person rdf:about="http://stanbol.apache.org/ontologies/pcomics/nonexistentcharacters.owl#Brukurutrukk">
+        <rdf:type rdf:resource="&owl;NamedIndividual"/>
+        <rdfs:label xml:lang="en">Brukurutrukk</rdfs:label>
+    </foaf:Person>    
+
+</rdf:RDF>
+
+
+
+<!-- Generated by the OWL API (version 3.2.2.1789) http://owlapi.sourceforge.net -->
+

Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/meta.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/meta.owl?rev=1148744&r1=1148743&r2=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/meta.owl (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/meta.owl Wed Jul 20 12:58:49 2011
@@ -1,5 +1,20 @@
 <?xml version="1.0"?>
-
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 
 <!DOCTYPE rdf:RDF [
     <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
@@ -29,13 +44,17 @@
         <rdfs:label rdf:datatype="&xsd;string"
             >Meta-level schema to represent ontology registries</rdfs:label>
         <rdfs:comment>This simple vocabulary that can be used to represent ontology registries. It is conceptually related with the C-ODO ontology by means of inclusion of C-ODO modules.</rdfs:comment>
-        <rdfs:comment>Imports: http://www.ontologydesignpatterns.org/cpont/codo/coddata.owl</rdfs:comment>
-        <rdfs:comment>Imports: http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl</rdfs:comment>
-        <owl:versionInfo rdf:datatype="&xsd;string">0.3</owl:versionInfo>
-        <owl:versionInfo rdf:datatype="&xsd;string"
-            >Created by Enrico Daga</owl:versionInfo>
-        <owl:imports rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/coddata.owl"/>
-        <owl:imports rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl"/>
+        <rdfs:comment>Should import: http://www.ontologydesignpatterns.org/cpont/codo/coddata.owl</rdfs:comment>
+        <rdfs:comment>Should import: http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl</rdfs:comment>
+        <owl:versionInfo rdf:datatype="&xsd;string">0.3.1</owl:versionInfo>
+        <owl:versionInfo rdf:datatype="&xsd;string">This is a modified version of the original meta.owl ontology for inclusion in projects under the Apache License 2.0. Import statements have been removed to avoid forcing the inclusion of C-ODO Light ontologies until their license is cleared.</owl:versionInfo>
+        <owl:versionInfo xml:lang="en">Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+        </owl:versionInfo>
+        <owl:versionInfo xml:lang="en">Created by Enrico Daga</owl:versionInfo>
     </owl:Ontology>
     
 

Copied: incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/onmtest.owl (from r1148651, incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/krestest.owl)
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/onmtest.owl?p2=incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/onmtest.owl&p1=incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/krestest.owl&r1=1148651&r2=1148744&rev=1148744&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/krestest.owl (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/test/resources/ontologies/registry/onmtest.owl Wed Jul 20 12:58:49 2011
@@ -1,67 +1,90 @@
 <?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <rdf:RDF
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:meta="http://www.ontologydesignpatterns.org/schemas/meta.owl#"
-    xmlns="http://www.ontologydesignpatterns.org/registry/krestest.owl#"
-  xml:base="http://www.ontologydesignpatterns.org/registry/krestest.owl">
+    xmlns="http://stanbol.apache.org/ontologies/registries/onmtest.owl#"
+  xml:base="http://stanbol.apache.org/ontologies/registries/onmtest.owl">
   <owl:Ontology rdf:about="">
     <owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
-    >0.1</owl:versionInfo>
+    >0.3.0</owl:versionInfo>
+    <owl:versionInfo xml:lang="en">Created by Alessandro Adamou</owl:versionInfo>
+    <owl:versionInfo xml:lang="en">Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+    </owl:versionInfo>
     <owl:imports rdf:resource="http://www.ontologydesignpatterns.org/schemas/meta.owl"/>
   </owl:Ontology>
   
-  <rdf:Description rdf:ID="TestRegistry">
-    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">KReS Test Library</rdfs:label>
+  <rdf:Description rdf:ID="Library1">
+    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">ONM Test Library 1</rdfs:label>
     <rdf:type rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/coddata.owl#OntologyLibrary"/>
     <owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.1</owl:versionInfo>
   </rdf:Description>
   
-    <rdf:Description rdf:ID="TestLibrary2">
-    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">KReS Test Library 2</rdfs:label>
+    <rdf:Description rdf:ID="Library2">
+    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">ONM Test Library 2</rdfs:label>
     <rdf:type rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/coddata.owl#OntologyLibrary"/>
     <owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.1</owl:versionInfo>
   </rdf:Description>
 
-  <rdf:Description rdf:about="http://www.ontologydesignpatterns.org/cp/owl/typesofentities.owl">
-    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Types of entities</rdfs:label>
-    <meta:isOntologyOf rdf:resource="#TestRegistry"/>
+  <rdf:Description rdf:about="http://stanbol.apache.org/ontologies/pcomics/characters_all.owl">
+    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">All actual characters</rdfs:label>
+    <meta:isOntologyOf rdf:resource="#Library1"/>
     <rdf:type rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology"/>
   </rdf:Description>
 
-  <rdf:Description rdf:about="http://www.ontologydesignpatterns.org/cp/owl/situation.owl">
-    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Situation</rdfs:label>
-    <meta:isOntologyOf rdf:resource="#TestLibrary2"/>
+  <rdf:Description rdf:about="http://stanbol.apache.org/ontologies/pcomics/droppedcharacters.owl">
+    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Dropped characters</rdfs:label>
+    <meta:isOntologyOf rdf:resource="#Library2"/>
     <rdf:type rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology"/>
   </rdf:Description>
   
   <!-- For testing ontologies that do not exist -->
-  <rdf:Description rdf:about="http://www.ontologydesignpatterns.org/cp/owl/doesnotexist.owl">
+  <rdf:Description rdf:about="http://stanbol.apache.org/ontologies/doesnotexist.owl">
     <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Does not exist</rdfs:label>
-    <!-- <meta:isOntologyOf rdf:resource="#TestRegistry"/> -->
+    <!-- <meta:isOntologyOf rdf:resource="#Library1"/> -->
     <rdf:type rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology"/>
   </rdf:Description>
   
   <!-- For testing already loaded ontologies -->
-  <rdf:Description rdf:about="http://www.ontologydesignpatterns.org/cp/owl/objectrole.owl">
-    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Object-Role</rdfs:label>
-    <meta:isOntologyOf rdf:resource="#TestRegistry"/>
-    <meta:isOntologyOf rdf:resource="#TestLibrary2"/>
+  <rdf:Description rdf:about="http://stanbol.apache.org/ontologies/pcomics/maincharacters.owl">
+    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Main Characters</rdfs:label>
+    <meta:isOntologyOf rdf:resource="#Library1"/>
+    <meta:isOntologyOf rdf:resource="#Library2"/>
     <rdf:type rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology"/>
   </rdf:Description>
   
   <!-- For testing anonymous ontologies -->
-  <rdf:Description rdf:about="http://www.ontologydesignpatterns.org/ont/iks/nameless_ontology.owl">
+  <rdf:Description rdf:about="http://stanbol.apache.org/ontologies/nameless_ontology.owl">
     <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Nameless</rdfs:label>
-    <!-- <meta:isOntologyOf rdf:resource="#TestRegistry"/> -->
+    <!-- <meta:isOntologyOf rdf:resource="#Library1"/> -->
     <rdf:type rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology"/>
   </rdf:Description>
   
   <!-- For testing undefined registries -->
-  <rdf:Description rdf:about="http://www.ontologydesignpatterns.org/cp/owl/classification.owl">
-    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Classification</rdfs:label>
+  <rdf:Description rdf:about="http://stanbol.apache.org/ontologies/pcomics/nonexistentcharacters.owl">
+    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Nonexistent Characters</rdfs:label>
     <meta:isOntologyOf rdf:resource="#NonExistentLibrary"/>
     <rdf:type rdf:resource="http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology"/>
   </rdf:Description>