• "Refactor" BNodes in a dataset: bnodes are replaced by new one to avoid a clash with the base dataset. Extremely inefficient, but is used for very small graphs only (proof graphs), so efficiency is not really an issue.

    The trick is to use the bnode generator of the base dataset, and that should make it unique...

    Parameters

    • base: Store<Quad, Quad, Quad, Quad>
    • toTransform: DatasetCore<Quad, Quad>

    Returns rdf.DatasetCore