System.out.println("Ontology Loaded...");
System.out.println("Logical URI : " + documentIRI);
System.out.println("Document IRI: " + ontology.getOntologyID());
System.out.println("Format : "
+ manager.getOntologyFormat(ontology));
ClosureAxioms closureAxioms = new ClosureAxioms(manager, ontology);
OWLClass clazz = Class(classIRI);
System.out.println("Class URI : " + classIRI);
System.out.println(clazz);
/* Add the closure axioms */
closureAxioms.addClosureAxioms(clazz);
/* Now save a copy to another location */
System.out.println("Saving: " + outputDocumentIRI);
manager.saveOntology(ontology, outputDocumentIRI);
System.out.println("Ontology Saved...");
System.out.println("Document IRI : " + outputDocumentIRI);