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 meta
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::IndexVocabulary;
pub use vocabulary::IriVocabulary;
pub use vocabulary::IriVocabularyMut;
pub use vocabulary::NoVocabulary;
pub use vocabulary::Vocabulary;
pub use vocabulary::VocabularyMut;
Modules
Structs
- Blank node identifier.
- Owned blank node identifier.
- Invalid blank node identifier.
- RDF quad.
- RDF triple.
Enums
- RDF node identifier.
- RDF Literal.
- gRDF term.
Traits
- Types that may have a blank node identifier representation that can be borrowed.
- Types that may have an iri representation that can be borrowed.
- Types that can be constructed from a blank node identifier.
- Types that can be constructed from an iri.
- Types that can be turned into a blank node identifier.
- Type that can be converted into an
Id
. - Types that can be turned into an iri.
- Type that can be converted into a
Literal
. - Type that can be turned into a
Term
. - Types that may represent a blank node identifier.
- Types that may represent an iri.
- Node identifier namespace.
- Type that can turn an
Id<I, B>
into anId
. - Type that can turn a
Literal<S, T, L>
into aLiteral
. - Type that can turn a
Quad<S, P, O, G>
into aQuad
. - Type that can turn a
Term<I, L>
into aTerm
.
Type Definitions
- RDF quad graph Label.
- Standard RDF graph label reference.
- gRDF quad.
- gRDF triple.
- Standard RDF node identifier reference.
- RDF triple/quad object.
- Standard RDF object reference.
- Standard RDF quad reference.
- RDF triple/quad subject.
- Standard RDF subject reference.
- Standard gRDF term reference.
- RDF triple reference.