docs.rs failed to build ontoenv-0.5.0-a2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
ontoenv-0.5.0-a1
ontoenv is an environment manager for ontologies. It can be used as a Rust library to manage local and remote RDF ontologies and their dependencies.
It recursively discovers and resolves owl:imports statements, and provides an API for querying the dependency graph and retrieving a unified "imports closure" of an ontology.
The environment is backed by an Oxigraph store.
Usage
Here is a basic example of how to use the ontoenv Rust library. This example will:
- Create a temporary directory.
- Write two simple ontologies to files in that directory, where one imports the other.
- Configure and initialize
ontoenvto use this directory. - Compute the dependency closure of one ontology to demonstrate that
ontoenvcorrectly resolves and includes the imported ontology.
use Config;
use ToUriString;
use ;
use NamedNode;
use PathBuf;
use fs;
use Write;
use HashSet;
#