This module defines the Dataset type which models an RDF
dataset, and helper
functions for building, updating, parsing, and serializing these. Take a look
at the Rdf.Decode module if you want to extract Elm values from
a Dataset.
Create an empty RDF dataset.
Create a dataset with default graph set to the provided graph and no other named graph.
Insert a named graph into a dataset. Replaces an already existing graph with that name.
Parse a TriG file and put all RDF quads into
a Dataset. This function will keep blank node identifiers and
only mint new ones if they are not given in the original. For minting it uses
the provided Seed. Make sure to reuse the returned
Seed in subsequent calls to avoid blank node identifier
collisions. You can use Rdf.initialSeed and
Rdf.seedGenerator to get a seed.
This is like fromTrig but you can also specify the initial
base IRI.
You get one of these if parsing fails.
Turn an Error into a more human friendly error message.
The dataset's default graph.
All dataset's named graphs.
Run a Decoder on a Dataset starting at the
provided Node's. Make sure to anchor your decoder using
from, fromSubject, or
at. By default, decoding will be done on the default graph.
Use helpers like inGraphs to change this behaviour
This type represents an RDF dataset.