java - Convert OWL axiom to Manchester syntax -
is there way convert owl axiom manchester syntax? know owl-api allow parse sentence in manchester syntax owl functional syntax, need opposite.
the owl-api allows read ontology written in functional syntax , convert manchester syntax.
example of code write ontology file serialised in manchester syntax:
file file = new file("/home/foo/bar.owl"); owlontologyformat format = manager.getontologyformat(ontology); manchesterowlsyntaxontologyformat mansyntaxformat = new manchesterowlsyntaxontologyformat(); manager.saveontology(ontology, mansyntaxformat, iri.create(file));
manager
, ontology
standard objects owl-api.