Lines Matching refs:ontology
41 import com.hp.hpl.jena.ontology.OntModel;
94 OWLOntology ontology = createOntologyWithoutLoading( uri, null, model);
96 ontologies.add(ontology);
98 setBaseOntology(ontology);
232 public void unload( OWLOntology ontology ) {
233 URI uri = ontology.getURI();
234 boolean removed = ontologies.remove( ontology );
237 String msg = ontology + " is not in the KB";
239 msg += " but there is another ontology with the same URI in the KB";
247 notImported.remove( ontology );
249 Model m = ((OntModel) ontology.getImplementation()).getBaseModel();
254 for(Iterator i = ontology.getImports().iterator(); i.hasNext(); ) {
259 importees.remove( ontology );