Adds the specified quad to the dataset.
Existing quads, as defined in Quad.equals, will be ignored.
ProtectedinstancesReturns a new dataset that is comprised of all quads in the current instance matching the given arguments.
The logic described in Matching is applied for each quad in this dataset to check if it should be included in the output dataset.
This method always returns a new DatasetCore, even if that dataset contains no quads.
Since a DatasetCore is an unordered set, the order of the quads within the returned sequence is arbitrary.
ProtectedmatchProtectedmatchProtectednamedCreates a view over a single named graph, projecting its contents into the default graph.
The returned dataset only exposes quads from the specified named graph, with their graph component replaced by the default graph. Writes through the view are mapped back to the named graph in the underlying dataset. Any attempt to use a non-default graph on the returned dataset throws a NamedGraphError.
The name of the graph to use.
A constructor of a class derived from named graph dataset
An instance of a class derived from NamedGraphDataset that is a view scoped to the specified named graph.
Creates a view over a single named graph, projecting its contents into the default graph.
The returned dataset only exposes quads from the specified named graph, with their graph component replaced by the default graph. Writes through the view are mapped back to the named graph in the underlying dataset. Any attempt to use a non-default graph on the returned dataset throws a NamedGraphError.
The name of the graph to use.
A constructor of a class derived from named graph dataset
An instance of a class derived from NamedGraphDataset that is a view scoped to the specified named graph.
ProtectedobjectsProtectedsubjects
A non-negative integer that specifies the number of quads in the set.