public boolean validateOntology(String ontologyPath) throws Exception {
        log.debug("[OntologyValidator::validateOntology] BEGIN");
        boolean result = false;
        try {

            OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
            File file = new File(ontologyPath);
            OWLOntology localont = manager.loadOntologyFromOntologyDocument(file);
            ontologyUri = localont.getOntologyID().getOntologyIRI().toString();
            log.info("[iconviz] Loaded ontology with URI: " + ontologyUri);
            IRI documentIRI = manager.getOntologyDocumentIRI(localont);
            log.info("[iconviz] Artefact: " + documentIRI);
            result = true;
        } catch (OWLOntologyCreationIOException e) {
            IOException ioException = e.getCause();
            if (ioException instanceof FileNotFoundException) {
                log.error("[OntologyValidator::validateOntology] Could not load ontology. File not found: " + ioException.getMessage());
            } else if (ioException instanceof UnknownHostException) {
                log.error("[OntologyValidator::validateOntology] Could not load ontology. Unknown host: " + ioException.getMessage());
            } else {
                log.error("[OntologyValidator::validateOntology] Could not load ontology: " + ioException.getClass().getSimpleName() + " " + ioException.getMessage());
            }
            throw e;
        } catch (UnparsableOntologyException e) {
            log.error("[OntologyValidator::validateOntology] Could not parse the ontology: " + e.getMessage());
            Map<OWLParser, OWLParserException> exceptions = e.getExceptions();
            for (OWLParser parser : exceptions.keySet()) {
                log.error("Tried to parse the ontology with the " + parser.getClass().getSimpleName() + " parser");
                log.error("Failed because: " + exceptions.get(parser).getMessage());
            }
            throw e;
        } catch (UnloadableImportException e) {
            log.error("[OntologyValidator::validateOntology] Could not load import: " + e.getImportsDeclaration());
            OWLOntologyCreationException cause = e.getOntologyCreationException();
            log.error("Reason: " + cause.getMessage());
            throw e;
        } catch (OWLOntologyCreationException e) {
            log.error("[OntologyValidator::validateOntology] Could not load ontology: " + e.getMessage());
            throw e;
        } catch (Exception e) {
            log.error("[OntologyValidator::validateOntology] Ontology validation unsuccessful. Check ontology and parameters in input.", e);
            throw e;
        }
        log.debug("[OntologyValidator::validateOntology] END");
        return result;
    }