djangordf.skos¶
The SKOS class IRI constants, the convention map (DEFAULT_PREDICATES)
used by the metaclass to assign implicit predicates, and the
resolve_curie shortcut.
SKOS class IRI, CURIE resolution, and convention-predicate map.
The CURIE resolver delegates to the module-level
djangordf.namespaces.registry so there is exactly one place
that knows how to turn "skos:Concept" into a URIRef.
DEFAULT_PREDICATES is the convention map consulted by
RDFModelMeta when a Property is declared without an explicit
predicate= — it lets users write pref_label = LangStringProperty()
and have the metaclass wire it to skos:prefLabel automatically.