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.

djangordf.skos.resolve_curie(value)[source]

Turn a CURIE or full IRI into a URIRef via the registry.

Kept as a top-level helper for callers that just want the function without holding a reference to the registry.

Return type:

URIRef