[][src]Module sophia::triple

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

stream

TripleSource and TripleSink, are pervasive traits for streaming triples from one object to another.

Structs

TripleAsQuad

The adapter returned by Triple::as_quad.

TripleAsQuadFrom

The adapter returned by Triple::as_quad_from.

Traits

Triple

This trait represents an abstract RDF triple, and provide convenient methods for working with triples.