owl-toolkit is a set of command line tools for OWL files based on the owl-api library.
https://github.com/ghxiao/owl-toolkit/releases
git clone https://github.com/ghxiao/owl-toolkit.gitcd owl-toolkit./gradlew distZip
Then you will find the generated zip file in the folder build/distributions.
owl-convertconverts the input OWL ontology to another format
$ owl-convert {-rdfxml | -owlxml | -turtle | -manchester} input.owlowl-declarationsextracts the OWL Declaration Axioms from the input ontology. It is very useful when user wants to disable the ontology reasoning.
$ owl-declarations input.owlowl-mergemerges several OWL files into a single one
$ owl-merge [-iri <iri>] file1.owl ... filen.owlowl-metricsprints the metrics (e.g. number of concepts/propertes/ABox assertions) of an OWL file
$ owl-metrics [-v] file.owlowl-individualsextract OWLIndividuals from an OWL file
$ owl-individuals file.owlowl-pdfconverts the OWL file to a pdf file in DL format
$ owl-pdf file.owlowl-profilizecuts the OWL file to a profile (incl. RL, EL, QL) by dropping violated axioms
$ owl-profilize {-rl | -el | -ql} file.owlowl-materialize-importsmaterializes the imports of the input ontology, that is, it replaces theimportdeclaration by the concrete axioms from the imported ontologies.
$ owl-materialize-imports file.owl