RDF.Graph.add
You're seeing just the function
add
, go back to RDF.Graph module for more information.
Specs
Adds triples to a RDF.Graph
.
The input
can be provided
- as a single statement tuple
- a
RDF.Description
- a
RDF.Graph
- or a list with any combination of the former
When the statements to be added are given as another RDF.Graph
,
the graph name must not match graph name of the graph to which the statements
are added. As opposed to that, RDF.Data.merge/2
will produce a RDF.Dataset
containing both graphs.
Also when the statements to be added are given as another RDF.Graph
, the
prefixes of this graph will be added. In case of conflicting prefix mappings
the original prefix from graph
will be kept.