private static OWLClass getClass(String uri, OntologyToolset bundle) { OWLClass owlClass = classes.get(uri); if (owlClass == null) { owlClass = bundle.getDataFactory().getOWLClass(IRI.create(uri)); classes.put(uri, owlClass); } return owlClass; }