axiom.common

Shared schema-facing RDF term aliases and graph-scoped tuple types.

Triple and quad aliases annotate (subject, predicate, object[, context]) tuples used in RDF projections from graph-scoped Pydantic models.

Attributes

ContextIdentifier

Triple

Quad

Module Contents

type axiom.common.ContextIdentifier = N3ContextIdentifier
type axiom.common.Triple = Annotated[tuple[IdentifiedNode, URIRef, Node], Field(..., description='A triple of a subject, predicate, and object; i.e., a fact.')]
type axiom.common.Quad = Annotated[tuple[IdentifiedNode, URIRef, Node, ContextIdentifier], Field(..., description='A quad of a subject, predicate, object, and context identifier; i.e., a fact in a specific context.')]