Adds the specified quad to the dataset.
Existing quads, as defined in Quad.equals, will be ignored.
OptionalsuggestedName: stringDeletes the given named graph.
The end and error events are used like described in the Stream interface.
The graph term or string to match.
The resulting event emitter.
This method removes the quads in the current instance that match the given arguments.
The logic described in Matching is applied for each quad in this dataset to select the quads which will be deleted.
Optionalsubject: TermThe optional exact subject to match.
Optionalpredicate: TermThe optional exact predicate to match.
Optionalobject: TermThe optional exact object to match.
Optionalgraph: TermThe optional exact graph to match.
Universal quantification method, tests whether every quad in the dataset passes the test implemented by the
provided iteratee.
This method immediately returns boolean false once a quad that does not pass the test is found.
This method always returns boolean true on an empty dataset.
This method is aligned with Array.prototype.every() in ECMAScript-262.
Optionaloptions: extractListOptionsExecutes the provided iteratee once on each quad in the dataset.
This method is aligned with Array.prototype.forEach() in ECMAScript-262.
This method calls the iteratee on each quad of the Dataset. The first time the iteratee is called, the
accumulator value is the initialValue or, if not given, equals to the first quad of the Dataset. The return
value of the iteratee is used as accumulator value for the next calls.
This method returns the return value of the last iteratee call.
This method is aligned with Array.prototype.reduce() in ECMAScript-262.
Removes all streamed quads.
The end and error events are used like described in the Stream interface.
The stream that will be consumed.
The resulting event emitter.
All quads matching the pattern will be removed.
The end and error events are used like described in the Stream interface.
The resulting event emitter.
Existential quantification method, tests whether some quads in the dataset pass the test implemented by the
provided iteratee.
This method immediately returns boolean true once a quad that passes the test is found.
This method is aligned with Array.prototype.some() in ECMAScript-262.
Returns the set of quads within the dataset as a host language native sequence, for example an Array in
ECMAScript-262.
Since a Dataset is an unordered set, the order of the quads within the returned sequence is arbitrary.
Returns an N-Quads string representation of the dataset, preprocessed with Dataset Normalization algorithm.
Returns a stream that contains all quads of the dataset.
Returns a string representation of an object.
A non-negative integer that specifies the number of quads in the set.