Skip to main content

ontocore_owl/
lib.rs

1//! Horned-OWL facade for OntoCore: load, catalog bridge, and patch write-back.
2//!
3//! Published as [`ontocore-owl`](https://crates.io/crates/ontocore-owl).
4
5mod bridge;
6mod error;
7mod load;
8pub mod manchester;
9pub mod patch;
10mod span;
11
12pub use bridge::{bridge_ontology, OwlBridgeResult};
13pub use error::{OwlError, Result};
14pub use load::{load_from_quads, load_owx_text, load_turtle_text, supports_horned_load};
15pub use manchester::{
16    class_expression_to_manchester, class_expression_to_turtle_fragment, expression_tree_json,
17    parse_class_expression, ManchesterDiagnostic, ManchesterParseOutput,
18};
19pub use patch::{
20    apply_patches, apply_patches_to_text, atomic_write, ApplyPatchResult, PatchDiagnostic,
21    PatchEntityKind, PatchOp,
22};
23pub use span::{
24    all_entity_statement_ranges, entity_block_range, entity_primary_block_range,
25    is_in_comment_or_string, namespaces_for_text, prefixes_from_turtle, short_name_from_iri,
26    ByteRange,
27};