Skip to main content

Crate rdf_model

Crate rdf_model 

Source
Expand description

RDF.rs is a Rust framework for working with RDF knowledge graphs.

§Examples

use rdf_model::*;

Modules§

interop
Interoperability with other Rust libraries.

Structs§

AnyStatement
AnyTerm
Quad
A quad statement.
QuadPattern
A quad statement pattern.
Triple
A triple statement.
TriplePattern
A triple statement pattern.

Enums§

BaseDirection
A base direction for directional language-tagged strings.
Cow
A clone-on-write smart pointer.
CowTerm
A clone-on-write term.
Datatype
A datatype.
HeapTerm
A heap-allocated term.
StatementSlot
A slot in a statement (subject, predicate, object, or context).
TermKind

Constants§

QUAD_SLOTS
RDFS_LABEL
RDF_TYPE
SAMPLE_LITERAL
A sample plain literal term.
SAMPLE_QUAD
A sample quad.
SAMPLE_RESOURCE
A sample resource term.
SAMPLE_TRIPLE
A sample triple.
TRIPLE_SLOTS

Statics§

EMPTY_COW_QUAD_PATTERN
EMPTY_COW_TRIPLE_PATTERN
EMPTY_HEAP_QUAD_PATTERN
EMPTY_HEAP_TRIPLE_PATTERN
FEATURES
The set of features that are enabled in this build of the crate.

Traits§

Countable
A trait for collections that are countable.
Dataset
An RDF dataset.
Document
An RDF document.
Enumerable
Graph
An RDF graph.
MaybeCountable
A trait for collections that may be countable.
MaybeDurable
MaybeIndexed
MaybeMutable
Queryable
Source
An RDF source.
Statement
An RDF statement.
StatementPattern
An RDF statement pattern.
Term
An RDF term.
ToOwned
A generalization of Clone to borrowed data.
Vocabulary
An RDF vocabulary.

Type Aliases§

AnyQuad
AnyTriple
CowQuad
A clone-on-write quad statement.
CowQuadPattern
A clone-on-write quad statement pattern.
CowQuadSet
A heap-allocated set of quad statements.
CowTriple
A clone-on-write triple statement.
CowTriplePattern
A clone-on-write triple statement pattern.
CowTripleSet
A heap-allocated set of triple statements.
HeapQuad
A heap-allocated quad statement.
HeapQuadPattern
A heap-allocated quad statement pattern.
HeapQuadSet
A heap-allocated set of quad statements.
HeapTriple
A heap-allocated triple statement.
HeapTriplePattern
A heap-allocated triple statement pattern.
HeapTripleSet
A heap-allocated set of triple statements.
QuadSlot
TripleSlot