Package edu.stanford.smi.protegex.owl.model

Examples of edu.stanford.smi.protegex.owl.model.OWLOntology


 
  public IOntology[] getImportedOntologies() {
    if(imported == null){
      checkModel();
      imported = new ArrayList<IOntology>();
      OWLOntology defaultont = (OWLOntology) resource;
      Collection list = defaultont.getImportResources();
      for(Object o: list){
        if(o instanceof RDFResource){
          //TODO: maybe there is some tripplestore trick that I can use
          // and avoid loading imported ontology again
          RDFResource on = (RDFResource) o;
View Full Code Here


 
  public IOntology[] getImportedOntologies() {
    if(imported == null){
      checkModel();
      imported = new ArrayList<IOntology>();
      OWLOntology defaultont = (OWLOntology) resource;
      Collection list = defaultont.getImportResources();
      for(Object o: list){
        if(o instanceof RDFResource){
          //TODO: maybe there is some tripplestore trick that I can use
          // and avoid loading imported ontology again
          RDFResource on = (RDFResource) o;
View Full Code Here

TOP

Related Classes of edu.stanford.smi.protegex.owl.model.OWLOntology

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.