RDF.Graph.delete
delete
, go back to RDF.Graph module for more information.
Specs
Deletes statements from a RDF.Graph
.
When the statements to be deleted are given as another RDF.Graph
,
the graph name must not match graph name of the graph from which the statements
are deleted. If you want to delete only statements with matching graph names, you can
use RDF.Data.delete/2
.
The optional :delete_annotations
keyword option allows to set which of
RDF-star annotations of the deleted statements should be deleted.
Any of the possible values of delete_annotations/3
can be provided here.
By default no annotations of the deleted statements will be removed.
Alternatively, the :add_annotations
, :put_annotations
or :put_annotation_properties
keyword options can be used to add annotations about the deleted statements
with the addition semantics similar to the respective add_annotations/3
,
put_annotations/3
and put_annotation_properties/3
counterparts.