That is a good call, but does not seem to work. Now that the file is being read it fails for a different reason. Any clues?
$ java -jar HermiT.jar -ooutput.owl file://pizza.owl
Exception in thread "main" java.lang.IllegalArgumentException: Expected authority at index 7: file://
at java.net.URI.create(Unknown Source)
at org.semanticweb.HermiT.cli.CommandLine.main(Unknown Source)
Caused by: java.net.URISyntaxException: Expected authority at index 7: file://
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.failExpecting(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
According to the web site it SHOULD work with a file path or URI. I'm not convinced.
Having said that, this does work:
That is nice but I need to process a file other than the pizza.owl ontology. It seems unwieldly to have to put the file on a web site just to read it in...