2 releases (1 stable)

1.0.0 May 30, 2024
0.14.0 Jan 31, 2023

#2378 in Parser implementations

Download history 119/week @ 2024-05-26 177/week @ 2024-06-02 33/week @ 2024-06-09 97/week @ 2024-06-16 1/week @ 2024-06-23 21/week @ 2024-07-28

77 downloads per month

LGPL-3.0

730KB
17K 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

~6MB
~106K SLoC