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_first_link_url;pub use links::extract_links;pub use links::extract_with_pattern;pub use links::linkify_markdown_text;pub use links::AnnotationLink;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
*LinkExtractorports). - manchester
- patch
- render
- Entity / Manchester rendering helpers (Protégé Wave 2 ports).
- util
- Portable presentation/util helpers (Protégé Wave 3 ports).
Structs§
- Byte
Range - OwlBridge
Result - Catalog-shaped extraction from a Horned-OWL ontology.
Enums§
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 usesnamespacesfor 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_offsetlies 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_iriintokeep_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_iritoto_iriinont. - 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.