Crate rdf_types

source ·
Expand description

This is a utility library providing common types when dealing with RDF data: blank node identifier, literal, subject, predicate, object, graph label, gRDF term, triple and quad.

The optional feature loc provides compatibility with the locspan crate to locate every sub-component of a term.

Re-exports

pub use generator::Generator;
pub use vocabulary::BlankIdVocabulary;
pub use vocabulary::BlankIdVocabularyMut;
pub use vocabulary::IriVocabulary;
pub use vocabulary::IriVocabularyMut;
pub use vocabulary::Vocabulary;
pub use vocabulary::VocabularyMut;

Modules

Structs

Blank node identifier.
Owned blank node identifier.
Vocabulary that stores IRIs and blank node identifiers with a unique index.
Invalid blank node identifier.
RDF quad.
String literal, without type or language tag.
RDF triple.

Enums

RDF Literal.
RDF Subject.
gRDF term.

Traits

Type Definitions

RDF Graph Label.
RDF Graph Label reference.
gRDF quad.
gRDF quad reference.
gRDF triple.
gRDF triple reference.
No vocabulary.
RDF Object.
RDF Object reference.
RDF quad reference.
gRDF term reference.
RDF triple reference.