Shortened IRIs in FunctionalSyntax
Opened this issue · 1 comments
rwynne commented
I've a default prefix in my header
Prefix(:=<http://.../>)
Instead of full blown IRIs serialized as "<http://..../xyz>"
would like to see ":xyz"
in the saved FunctionalSyntax.
Is there a method for this?
Am using version 5.1.10.
Thanks!
ignazio1977 commented
This should work with code like this:
FunctionalSyntaxDocumentFormat format = new FunctionalSyntaxDocumentFormat();
format.setPrefix(":", "http://...");
ontologyManager.setOntologyFormat(ontology, format);
And then proceed to save the ontology.