Module sophia_api::triple [−][src]
Expand description
An RDF triple expresses a single fact. Its formed of three terms called subject, predicate and object.
You can think of a triple as a sentence of the form “subject verb complement” (although the predicate is often better expressed as a relationship than a verb). Examples :
- John is a person.
- John was born in Paris.
- John knows Jane.
- John’s family name is “Doe”.
Modules
A triple source produces triples, and may also fail in the process.
Streaming modes for triple iterators and triple streams.
Structs
The adapter returned by Triple::as_quad
.
The adapter returned by Triple::as_quad_from
.
Iterator over the components of a triple.
Traits
This trait represents an abstract RDF triple, and provide convenient methods for working with triples.