ontocore-cli 0.14.0

CLI for OntoCore (ontocore-*) ontology indexing and querying
ontocore-cli-0.14.0 is not a library.

ontocore-cli

Part of OntoCore (semantic workspace engine).

Command-line interface for OntoCore — index ontology workspaces, run SQL/SPARQL queries, validate, patch Turtle and OBO files, and classify with OntoLogos.

Prerequisites

  • Rust 1.88+ (rustup update stable; check with rustc --version)
  • ~/.cargo/bin on your PATH after cargo install

Install (pinned)

cargo install ontocore-cli --locked --version 0.13.0

Linux x64 without Rust

Download ontocore-v*-x86_64-unknown-linux-gnu.tar.gz from GitHub Releases and verify SHA256SUMSrelease integrity.

Quick example

ontocore inspect /path/to/ontologies
ontocore query /path/to/ontologies "SELECT short_name FROM classes"
ontocore validate /path/to/ontologies
ontocore classify /path/to/ontologies --profile el --format json

# Requires a git repository at /path/to/repo
ontocore diff /path/to/repo HEAD..WORKTREE
ontocore diff --left-ref main --right-ref feature --format markdown --breaking-only
ontocore docs /path/to/ontologies --format markdown --output ./docs-out

Semantic diff compares catalogs from git refs, directories, or workspace snapshots. See semantic diff guide.

Documentation

See crates.io for the latest published version.

License

MIT OR Apache-2.0