Skip to main content

AssertionData

Type Alias AssertionData 

Source
pub type AssertionData = SemanticData;

Aliased Type§

pub struct AssertionData {
    pub sub_kinds: BTreeSet<SemanticSubKind>,
    pub label: Option<String>,
    pub predicate: Option<String>,
    pub statements: Vec<SemanticStatement>,
}

Fields§

§sub_kinds: BTreeSet<SemanticSubKind>

Compatibility aggregate: kept during the bucket migration so existing readers can keep asking the pair-local edge what semantic kinds it carries. The statement list below is the durable truth.

§label: Option<String>

Compatibility aggregate over the statement labels.

§predicate: Option<String>

Open predicate IRI (the statements-over-schema substrate, linked-data plan Phase 0). None when the edge’s meaning is fully carried by sub_kinds; a canonical IRI (predicate_iri) for a recognized predicate, or a raw IRI for an unrecognized one. sub_kinds stays authoritative for behaviour; predicate carries identity + round-trip. During the statement-bucket migration this is a compatibility view over the statement predicates, not the durable truth.

§statements: Vec<SemanticStatement>

The one durable assertion list carried between a directed pair.