Expand description
Entity / Manchester rendering helpers (Protégé Wave 2 ports).
Behavioral ports of OWLEntityRendererImpl, RenderingEscapeUtils,
IriSplitter, and prefix expand/match/render helpers.
Functions§
- escape_
manchester_ rendering - Manchester-style escaped rendering (Protégé
RenderingEscapeUtils.getEscapedRendering). - expand_
prefixed_ iri - Expand
prefix:localusingnamespaces. Bare IRIs and<iri>pass through. - match_
prefix - Longest-prefix match: returns
(prefix, namespace_iri)orNone. - render_
as_ curie - Prefer built-in vocabulary CURIEs (
owl:,rdfs:,rdf:,xsd:) then workspace prefixes. - render_
entity_ iri - Render an entity IRI for display: prefer longest prefix CURIE, else short name, else bracketed IRI.
- split_
iri - Split an IRI into
(namespace, local)using#then/(Protégé IriSplitter-style). - unescape_
manchester_ rendering - Inverse of
escape_manchester_rendering(ProtégéRenderingEscapeUtils.unescape).