Skip to content

a set of command line tools for OWL files powered by owl-api

Notifications You must be signed in to change notification settings

ghxiao/owl-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

owl-toolkit

owl-toolkit is a set of command line tools for OWL files based on the owl-api library.

Download

https://github.com/ghxiao/owl-toolkit/releases

Build from source

  1. git clone https://github.com/ghxiao/owl-toolkit.git
  2. cd owl-toolkit
  3. ./gradlew distZip

Then you will find the generated zip file in the folder build/distributions.

Usage

owl-convert

  • owl-convert converts the input OWL ontology to another format
$ owl-convert {-rdfxml | -owlxml | -turtle | -manchester} input.owl

owl-declarations

  • owl-declarations extracts the OWL Declaration Axioms from the input ontology. It is very useful when user wants to disable the ontology reasoning.
$ owl-declarations input.owl

owl-merge

  • owl-merge merges several OWL files into a single one
$ owl-merge [-iri <iri>] file1.owl ... filen.owl

owl-metrics

  • owl-metrics prints the metrics (e.g. number of concepts/propertes/ABox assertions) of an OWL file
$ owl-metrics [-v] file.owl

owl-individuals

  • owl-individuals extract OWLIndividuals from an OWL file
$ owl-individuals file.owl

owl-pdf

  • owl-pdf converts the OWL file to a pdf file in DL format
$ owl-pdf file.owl

owl-profilize

  • 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

  • owl-materialize-imports materializes the imports of the input ontology, that is, it replaces the import declaration by the concrete axioms from the imported ontologies.
$ owl-materialize-imports file.owl 

About

a set of command line tools for OWL files powered by owl-api

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages