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.git
cd owl-toolkit
ant
Then you will find the scripts and jars in the folder dist
.
owl-convert
converts the input OWL ontology to another format
$ owl-convert {-rdfxml | -owlxml | -turtle } input.owl
owl-merge
merges several OWL files into a single one
$ owl-merge [-iri <iri>] file1.owl ... filen.owl
owl-metrics
prints the metrics (e.g. number of concepts/propertes/ABox assertions) of an OWL file
$ owl-metrics [-v] file.owl
owl-individuals
extract OWLIndividuals from an OWL file
$ owl-individuals file.owl
owl-pdf
converts the OWL file to a pdf file in DL format
$ owl-pdf file.owl
owl-profilize
cuts the OWL file to a profile (incl. RL, EL, QL) by dropping violated axioms
$ owl-profilize {-rl | -el | -ql} file.owl
owl-materialize-imports
materializes the imports of the input ontology, that is, it replaces theimport
declaration by the concrete axioms from the imported ontologies.
$ owl-materialize-imports file.owl