Examples of importOntologies()


Examples of edu.stanford.smi.protegex.owl.model.util.ImportHelper.importOntologies()

      // create custom prefix
      model.getNamespaceManager().setPrefix(o.getNameSpace(),PUtils.createOntologyPrefix(o.getURI()));
     
      // import ontologies
      importHelper.addImport(o.getURI());
      importHelper.importOntologies();
      
      // don't know what is the function of this???
      //model.getNamespaceManager().setPrefix(ProtegeNames.NS, ProtegeNames.PROTEGE_PREFIX);
      if(imported == null)
        imported = new ArrayList<IOntology>();
View Full Code Here

Examples of edu.stanford.smi.protegex.owl.model.util.ImportHelper.importOntologies()

      // create custom prefix
      model.getNamespaceManager().setPrefix(o.getNameSpace(),PUtils.createOntologyPrefix(o.getURI()));
     
      // import ontologies
      importHelper.addImport(o.getURI());
      importHelper.importOntologies();
      
      // don't know what is the function of this???
      //model.getNamespaceManager().setPrefix(ProtegeNames.NS, ProtegeNames.PROTEGE_PREFIX);
      if(imported == null)
        imported = new ArrayList<IOntology>();
View Full Code Here

Examples of edu.stanford.smi.protegex.owl.model.util.ImportHelper.importOntologies()

            owlModel.getRepositoryManager().addProjectRepository(rep);
        }

        ImportHelper ih = new ImportHelper(owlModel);
        ih.addImport(CLAML_CM_ONTOLOGY_NAME);
        ih.importOntologies();
    }

    @SuppressWarnings("unchecked")
    @Override
    protected Project createNewProject(KnowledgeBaseFactory factory) {
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.