• When handling proof chains, the dataset must be temporarily extended with a number of quads that constitute the "previous" proof. This function calculates those extra quads.

    Parameters

    • allProofs: Proof[]

      the array of Proofs in chain order

    • index: number

      current index into allProofs

    • Optional anchor: Quad_Subject

      the possible anchor that includes the proof reference triple

    Returns rdf.Quad[]