• Convert an iterator of quads to an iterator of bindings.

    Parameters

    • quads: AsyncIterator<Quad>

      The quads to convert.

    • pattern: Pattern

      The pattern to get variables from to determine bindings. All quads are also assumed to match the pattern.

    • dataFactory: ComunicaDataFactory

      The data factory.

    • bindingsFactory: BindingsFactory

      The factory for creating bindings.

    • unionDefaultGraph: boolean

      If union default graph mode is enabled. If true, variable graphs will match all graphs, including the default graph. If false, variable graphs will only match named graphs, and not the default graph.

    Returns BindingsStream