Package edu.stanford.smi.protege.model

Examples of edu.stanford.smi.protege.model.KnowledgeBaseFactory


    Map info = getResourceProperties();
    if(info.containsKey("driver") || "database".equals(info.get("format"))){
      URI path = getURI();
     
      // load new KB
      KnowledgeBaseFactory factory = new MyOWLDatabaseKnowledgeBaseFactory();
      Project project = Project.createBuildProject(factory, errors);
      if(!errors.isEmpty())
        throw new IOntologyException(""+errors);
      loadNewSources(project, factory);
     
View Full Code Here


    if(getRepository() instanceof ProtegeRepository){
      prefix = ((ProtegeRepository)getRepository()).getOntologyPrefix();
    }
 
    Project currentProject = model.getProject();
    KnowledgeBaseFactory factory = new OWLDatabaseKnowledgeBaseFactory();
       
        // load new source information
        loadNewSources(currentProject, factory);
       
        // check completeness
View Full Code Here

    Map info = getResourceProperties();
    if(info.containsKey("driver") || "database".equals(info.get("format"))){
      URI path = getURI();
     
      // load new KB
      KnowledgeBaseFactory factory = new MyOWLDatabaseKnowledgeBaseFactory();
      Project project = Project.createBuildProject(factory, errors);
      if(!errors.isEmpty())
        throw new IOntologyException(""+errors);
      loadNewSources(project, factory);
     
View Full Code Here

    if(getRepository() instanceof ProtegeRepository){
      prefix = ((ProtegeRepository)getRepository()).getOntologyPrefix();
    }
 
    Project currentProject = model.getProject();
    KnowledgeBaseFactory factory = new OWLDatabaseKnowledgeBaseFactory();
       
        // load new source information
        loadNewSources(currentProject, factory);
       
        // check completeness
View Full Code Here

TOP

Related Classes of edu.stanford.smi.protege.model.KnowledgeBaseFactory

Copyright © 2018 www.massapicom. 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.