// save it (in a variety of formats). RDF/XML is the default format
// System.out.println("RDF/XML: ");
manager.saveOntology(ont, new StringDocumentTarget());
// OWL/XML
// System.out.println("OWL/XML: ");
manager.saveOntology(ont, new OWLXMLDocumentFormat(),
new StringDocumentTarget());
// Manchester Syntax
// System.out.println("Manchester syntax: ");
manager.saveOntology(ont, new ManchesterSyntaxDocumentFormat(),
new StringDocumentTarget());