System.out.println("Document IRI: " + inputDocumentIRI);
System.out.println("Logical IRI : " + ontology.getOntologyID());
System.out.println("Format : "
+ manager.getOntologyFormat(ontology));
/* Register the ontology storer with the manager */
manager.getOntologyStorers().add(new TutorialSyntaxStorerFactory());
/* Save using a different format */
System.out.println("Storing : " + outputDocumentIRI);
manager.saveOntology(ontology, new OWLTutorialSyntaxOntologyFormat(),
outputDocumentIRI);
/* Remove the ontology from the manager */