protected OWLOntology loadBigOntology(String filename) { File file = new File(System.getenv("bigontosdir") + filename + ".owl"); OWLOntology ontology = null; try { ontology = OWLManager.createOWLOntologyManager().loadOntologyFromOntologyDocument(file); } catch (OWLOntologyCreationException e) { e .printStackTrace(); // To change body of catch statement use File | Settings | File // Templates. } return ontology; }