Lines Matching defs:theModel
137 private void handleImports(OWLOntology theOntology, OntModel theModel, URI theBaseURI)
143 Ontology aBlankOnt = theModel.getOntology("");
154 aNamedOnt = theModel.getOntology(theBaseURI.toString());
155 else theModel.getOntology(theOntology.getURI().toString());
164 if (theModel.listSubjectsWithProperty(RDF.type,OWL.Ontology).hasNext())
165 aOntNode = (Ontology)theModel.listSubjectsWithProperty(RDF.type,OWL.Ontology).nextResource().as(Ontology.class);
169 aOntNode = theModel.createOntology(theBaseURI.toString());
172 aOntNode = theModel.createOntology(null);
173 else aOntNode = theModel.createOntology(theOntology.getURI().toString());
183 aOntNode.addImport(theModel.getResource(aOnt.getURI().toString()));
187 // private void handleImports(OWLKnowledgeBase theKB, OntModel theModel, URI theBaseURI)
193 // handleImports(aOntology,theModel, theBaseURI);