@rdfjs/wrapper
    Preparing search index...

    Class DatasetWrapper

    Implements

    Index

    Constructors

    Properties

    factory: DataFactory

    Accessors

    Methods

    • Returns 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.

      Parameters

      • Optionalsubject: Term

        The optional exact subject to match.

      • Optionalpredicate: Term

        The optional exact predicate to match.

      • Optionalobject: Term

        The optional exact object to match.

      • Optionalgraph: Term

        The optional exact graph to match.

      Returns DatasetCore