Module sophia_rio::model

source ·
Expand description

Implement Sophia traits for types defined in Rio.

NB: since rio_api::model types have public fields, they can not in general be trusted to contain valid data (e.g. a valid IRI in NamedNode).

However, their typical use-case is to be produced by a parser, which ensures the validity of the underlying data.

The Trusted wrapper is used to materialize the fact that we trust the underlying data of Rio types.

Structs

  • A wrapper for Rio types that are trusted to contain valid data