ontocore-cli 0.12.0

CLI for OntoCore (ontocore-*) ontology indexing and querying
ontocore-cli-0.12.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 files, and classify with OntoLogos.

Install

cargo install ontocore-cli --locked

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
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 indexed catalogs (directories, version refs, or two Workspace snapshots). See migration v0.10 and migration v0.11 for docs export and import patch ops.

Documentation

Current version: 0.11.3

License

MIT OR Apache-2.0