Skip to main content

iri

Static iri 

Source
pub static iri: LazyLock<Attribute<Handle<LongString>>>
Expand description

Internationalized Resource Identifier (IRI) for this entity.

The canonical identity-determining string for RDF predicate URIs and RDF entity URIs. Distinct from name (display) so an IRI-derived attribute and a same-bytes JSON-field-derived attribute never collide: the (attr_id, value) pair that participates in entity-intrinsic-id derivation differs in the attr_id, even when the raw value bytes are identical.

The value is stored as a Handle<LongString> — IRI-ness is a semantic property of this attribute, not a structural property of the bytes. Callers that need IRI-shape validation can apply it at the application boundary; the storage layer doesn’t enforce it, so mistyped or placeholder IRIs ingest without rejection and queries can unify across “any string this entity has.”