1 unstable release

0.14.0 Jan 31, 2023

#11 in #owl

LGPL-3.0

505KB
12K SLoC

Horned-Bin

This is a set of command line tools built using the horned crate and provide core services for the manipulation of OWL ontologies.

Building

The tool suite is available as a single binary horned, collecting all tools as subcommands:

cargo build --release --bin horned

or as a collection of standalone binaries, each can be built using:

cargo build --release --bin horned-[TOOLNAME]

using the tools listed below.

Running

To use one of the utilities described below, run

horned [TOOLNAME] <ARGUMENT_LIST>

or

horned-[TOOLNAME] <ARGUMENT_LIST>

using the requested arguments.

Description

TOOLNAME Arguments Summary Source file
big n: unsigned integer Generates an OWL file containing n class declarations. source
compare ont-1, ont-2: paths Compares the statistics of ontologies specified in ont-1 and ont-2. source
dump ont: path Parses ont and returns the content of the data structures created by the parser. source
materialize ont: path Parses ont, downloading and resolving all of the ontologies imported by ont. source
parse ont: path Parses ont and exits. source
round ont: path Parses ont and renders the obtained ontology. source
summary ont: path Parses ont and returns statistics related to the obtained ontology. source
triples ont: path Parses ont as an ontology written using the OWL/RDF format and returns the obtained triples. source
unparsed ont: path Parses ont as an ontology written using the OWL/RDF format and shows what has not been successfully parsed. source

Dependencies

~4MB
~71K SLoC