RDF.ex is an implementation of the RDF (opens new window) data model in Elixir. It is fully compatible with the RDF 1.1 specification (opens new window) and the RDF-star specification (opens new window) and provides in-memory data structures for RDF descriptions, RDF graphs and RDF datasets, which can be loaded and stored in various serializations formats.
The RDF standard defines a graph data model for distributed information on the web. An RDF graph is a set of statements aka RDF triples consisting of three nodes:
- a subject node with an IRI or a blank node,
- a predicate node with the IRI of a RDF property,
- an object node with an IRI, a blank node or a RDF literal value.