Skip to main content

Crate strixonomy_owl

Crate strixonomy_owl 

Source
Expand description

Horned-OWL facade for Strixonomy: load, catalog bridge, and patch write-back.

Published as strixonomy-owl.

Re-exports§

pub use compare::compare_bridges;
pub use compare::compare_ontologies;
pub use compare::SemanticDiff;
pub use links::extract_with_pattern;
pub use links::linkify_markdown_text;
pub use manchester::class_expression_to_manchester;
pub use manchester::class_expression_to_turtle_fragment;
pub use manchester::class_expression_to_turtle_value;
pub use manchester::data_range_to_manchester;
pub use manchester::data_range_to_turtle_term;
pub use manchester::expression_tree_json;
pub use manchester::parse_class_expression;
pub use manchester::parse_class_expression_with_datatypes;
pub use manchester::parse_data_range;
pub use manchester::ManchesterDiagnostic;
pub use manchester::ManchesterParseOutput;
pub use patch::apply_patches;
pub use patch::apply_patches_to_text;
pub use patch::atomic_write;
pub use patch::is_safe_iri;
pub use patch::validate_prefix;
pub use patch::ApplyPatchResult;
pub use patch::PatchDiagnostic;
pub use patch::PatchEntityKind;
pub use patch::PatchOp;
pub use render::escape_manchester_rendering;
pub use render::expand_prefixed_iri;
pub use render::match_prefix;
pub use render::render_as_curie;
pub use render::render_entity_iri;
pub use render::split_iri;
pub use render::unescape_manchester_rendering;
pub use util::abbreviate_string;
pub use util::cmp_annotation_property_iri;
pub use util::format_iso8601_utc;
pub use util::render_entity_markdown;
pub use util::replace_lexical_value;
pub use util::replace_lexical_value_whole;
pub use util::LexicalLiteral;
pub use util::DEFAULT_ANNOTATION_PROPERTY_ORDER;
pub use util::ELLIPSIS;

Modules§

compare
Cross-format semantic comparator for v0.21 round-trip gates.
links
Annotation hyperlink extractors (Protégé Wave 2 *LinkExtractor ports).
manchester
patch
render
Entity / Manchester rendering helpers (Protégé Wave 2 ports).
util
Portable presentation/util helpers (Protégé Wave 3 ports).

Structs§

ByteRange
OwlBridgeResult
Catalog-shaped extraction from a Horned-OWL ontology.

Enums§

OwlError

Functions§

all_entity_statement_ranges
Full byte ranges for every Turtle statement whose subject is iri.
apply_patches_to_ontology
Apply inspector-oriented patches to a Horned ontology.
apply_patches_to_ontology_with_ns
Like apply_patches_to_ontology, but uses namespaces for Manchester / CURIE resolution.
apply_xml_patches
Apply patches to an RDF/XML or OWL/XML document on disk.
apply_xml_patches_to_text
Apply patches to RDF/XML or OWL/XML source text via Horned re-serialization.
bridge_ontology
entity_block_range
entity_primary_block_range
Primary declaration block for patch insertions (type statement, not trailing triples).
is_in_comment_or_string
True when byte_offset lies inside a # line comment or any Turtle string literal.
load_from_quads
Convert Oxigraph quads to Horned-OWL ontology via RDF/XML.
load_owl_xml_ontology
Load OWL/XML source into a mutable component-mapped ontology plus prefix map.
load_owx_text
Load OWL/XML (.owx) source via Horned-OWL.
load_rdf_xml_ontology
Load RDF/XML source into a mutable component-mapped ontology.
load_turtle_text
Load Turtle source via Oxigraph quads → RDF/XML → Horned-OWL.
merge_entity_iri
Merge merge_iri into keep_iri: drop subject-owned components for the merge entity, then remap remaining mentions (Turtle/OBO-aligned; #369).
merge_entity_iri_in_xml_text
Load RDF/XML or OWL/XML, merge entities with Turtle delete-then-remap semantics, re-serialize.
namespaces_for_text
prefixes_from_turtle
Parse Turtle/SPARQL prefix declarations (@prefix, @PREFIX, PREFIX; case-insensitive).
remap_entity_iri
Remap every occurrence of from_iri to to_iri in ont.
remap_entity_iri_in_xml_text
Load RDF/XML or OWL/XML text, remap an entity IRI, and re-serialize.
serialize_owl_xml
Serialize a component-mapped ontology as OWL/XML.
serialize_rdf_xml
Serialize a component-mapped ontology as RDF/XML (application/rdf+xml).
short_name_from_iri
supports_horned_load
Whether Horned-OWL loading is supported for this format.

Type Aliases§

Result