Skip to content

Migrating from v0.1 to v0.2

Dependency changes

v0.1:

[dependencies]
ontologos-core = "0.1"

v0.2 (OWL loading + profiles):

[dependencies]
ontologos-core = "0.2"
ontologos-parser = "0.2"
ontologos-profile = "0.2"

ontologos-core alone remains sufficient for builder and JSON workflows.

File loading

v0.1: no file loading (Ontology::from_fileParseNotAvailable).

v0.2:

use ontologos_parser::load_ontology;

let ontology = load_ontology(path)?;

Ontology::from_file is still a stub on core by design.

New axiom types

JSON v2 and the axiom store support additional variants (from parsed ontologies):

  • SubClassOfExistential
  • SymmetricObjectProperty
  • ReflexiveObjectProperty
  • FunctionalObjectProperty

See JSON snapshot v2.

Profile detection

v0.1: ontologos-profile did not ship; no profile detection API.

v0.2: full EL/RL/QL/DL detection with hybrid diagnostics. Requires parse_meta from a file load (or synthetic set_parse_meta).

CLI

v0.1: all subcommands failed at load.

v0.2: ontologos profile <file> works. classify and explain load the file then return engine NotImplemented. See v0.2-to-v0.3.md for RDFS materialization in v0.3.

FAQ updates

Several v0.1 FAQ answers are obsolete. See the current FAQ.

Breaking changes

None intentional for v0.1 JSON/builder users upgrading ontologos-core to 0.2. Parser and profile are additive crates.