Package org.semanticweb.owl.model

Examples of org.semanticweb.owl.model.OWLOntologyManager.removeOntology()


          .size());

    }
    reasoner.clearOntologies();
    reasoner.dispose();
    manager.removeOntology(tboxOntology.getURI());
    manager.removeOntology(aboxOntology.getURI());

    time = classificationTime + instanceRetrievalTime;
    RunResult result = new RunResult(allIndividualsCounts, time, classes
        .size(), properties.size());
View Full Code Here


      for (OWLClass owlClass : v)
      {
        hashClasses.put(owlClass, 1.0 * owlClass.getIndividuals(abox).size());
      }
     
      manager.removeOntology(tboxURI);
      manager.removeOntology(aboxURI);
    }
    catch(OWLOntologyCreationException e)
    {
      e.printStackTrace();
View Full Code Here

      {
        hashClasses.put(owlClass, 1.0 * owlClass.getIndividuals(abox).size());
      }
     
      manager.removeOntology(tboxURI);
      manager.removeOntology(aboxURI);
    }
    catch(OWLOntologyCreationException e)
    {
      e.printStackTrace();
    }
View Full Code Here

//          System.out.println("Ok.");

        }
      }

      manager.removeOntology(tboxURI);
    } catch (OWLOntologyCreationException e) {
      e.printStackTrace();
    }

    // check property of having each column sum to exactly 1
View Full Code Here

      for (OWLClass owlClass : v)
      {
        fillScores(owlClass, 1.0 * owlClass.getIndividuals(abox).size(), tbox, MAX_STEP);
      }
     
      manager.removeOntology(tboxURI);
      manager.removeOntology(aboxURI);
    }
    catch(OWLOntologyCreationException e)
    {
      e.printStackTrace();
View Full Code Here

      {
        fillScores(owlClass, 1.0 * owlClass.getIndividuals(abox).size(), tbox, MAX_STEP);
      }
     
      manager.removeOntology(tboxURI);
      manager.removeOntology(aboxURI);
    }
    catch(OWLOntologyCreationException e)
    {
      e.printStackTrace();
    }
View Full Code Here

      for (OWLClass owlClass : v)
      {
        fillScores(owlClass, 1.0 * owlClass.getIndividuals(abox).size(), tbox, MAX_STEP);
      }
     
      manager.removeOntology(tboxURI);
      manager.removeOntology(aboxURI);
    }
    catch(OWLOntologyCreationException e)
    {
      e.printStackTrace();
View Full Code Here

      {
        fillScores(owlClass, 1.0 * owlClass.getIndividuals(abox).size(), tbox, MAX_STEP);
      }
     
      manager.removeOntology(tboxURI);
      manager.removeOntology(aboxURI);
    }
    catch(OWLOntologyCreationException e)
    {
      e.printStackTrace();
    }
View Full Code Here

      for (OWLClass owlClass : this.classes){
        Set<OWLDescription> subClasses = owlClass.getSubClasses(tbox);
        this.sortedList.add(new OWLSubclass(owlClass,subClasses.size()));
      }
     
      manager.removeOntology(tboxURI);
    } catch (OWLOntologyCreationException e) {
      e.printStackTrace();
      // Provide a default order
      for (OWLClass owlClass : this.classes){
        this.sortedList.add(new OWLSubclass(owlClass,0));
View Full Code Here

      for (OWLClass owlClass : this.classes){
        Set<OWLDescription> subClasses = owlClass.getSubClasses(tbox);
        this.sortedList.add(new OWLSubclass(owlClass,subClasses.size()));
      }
     
      manager.removeOntology(tboxURI);
    } catch (OWLOntologyCreationException e) {
      e.printStackTrace();
      // Provide a default order
      for (OWLClass owlClass : this.classes){
        this.sortedList.add(new OWLSubclass(owlClass,0));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.