RDF.Dataset.add
You're seeing just the function
add
, go back to RDF.Dataset module for more information.
Specs
Adds triples and quads to a RDF.Dataset
.
The triples can be provided in any form accepted by add/2
.
- as a single statement tuple
- an
RDF.Description
- an
RDF.Graph
- an
RDF.Dataset
- or a list with any combination of the former
The graph
option allows to set a different destination graph to which the
statements should be added, ignoring the graph context of given quads or the
name of given graphs in input
.
Note: When the statements to be added are given as another RDF.Dataset
and
a destination graph is set with the graph
option, the descriptions of the
subjects in the different graphs are aggregated.