OWLDocumentFormat ontologyFormat = new RDFJsonLDDocumentFormat();
OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
OWLOntology ontology = manager.loadOntologyFromOntologyDocument(inputstream);
manager.saveOntology( ontology, ontologyFormat, outputstream );
In reference to the above code for 4th lines of code it is not accepting the saveOntology method and throwing this suggestion.Can you please help why is it doing so. You have used the same method in your code.
The method saveOntology(OWLOntology, OWLOntologyFormat, OutputStream) in the type OWLOntologyManager is not applicable for the arguments (OWLOntology, OWLDocumentFormat, OutputStream)