Module model

Source
Expand description

This is the root of the RDF data model implementation.

This implementation contains a full stack of components across multiple specifications:

  1. DataSet a container of named graphs and optionally one unnamed (the default) graph.
  2. Graph an optionally named container of statements.
  3. Statement the core triple of subject, predicate (IRI), object.
  4. SubjectNode either an IRI, a blank node, or a nested statement.
  5. ObjectNode either an IRI, a blank node, a nested statement, or a literal.
  6. BlankNode an anonymous subject or object.
  7. Literal values that are the object of a statement.

Modulesยง

data_set
Provides an implementation of the W3C RDF 1.1: On Semantics of RDF Datasets recommendation. Additional semantics taken from RDF 1.1 TriG, RDF Dataset Language.
features
This module provides the trait Featured and the set of feature identifiers (IRIs).
graph
The Graph type implements an optionally named collection of statements.
literal
The Literal type used in the object component of a statement. Literal values are always strings, although an optional data type can be provided to allow consumers to convert from string lexical forms.
resource
Implementation of the Resource pattern as a kind of statement builder. As a builder type the interface is only additive, no update or remove methods exist.
statement
This module provides types for the RDF Statement (triple) concept.