Expand description
This crate aims to provide a comprehensive toolkit for working with RDF and Linked Data in Rust.
Generalized vs. Strict RDF model
The data model supported by this crate is in fact a superset of the RDF data model as defined by the W3C. When the distinction matters, they will be called, respectively, the generalized RDF model, and the strict RDF model.
Examples
Modules
Types for handling errors.
An RDF graph, the central notion of the RDF data model,
is a collection of triples.
Standard namespaces.
Parsers for standard RDF syntaxes,
and tools for building new parsers.
Serializers for standard RDF syntaxes,
and tools for building new serializers.
TripleSource
and TripleSink
,
are pervasive traits for streaming triples from one object to another.Terms are the building blocks of an RDF graph.
There are four types of terms: IRIs, blank nodes (BNode for short),
literals and variables.
An RDF triple expresses a single fact.
Its formed of three terms called subject, predicate and object.
Macros
This macro provides a straightforward implementation of the default functions
of a serializer module.
This macro provides a straightforward implementation of the default functions
of a serializer module.
This macro provides a straightforward implementation of the
Stringifier
type,
based on the Writer
type.Defines the implementation of
MutableGraph
for IndexedMutableGraph
.