iya-sts
    Preparing search index...

    Variable canonicalizeAndGroup

    canonicalizeAndGroup: (
        document: any,
        factory: LabelMapFactory,
        groups: Record<string, string[]>,
    ) => Promise<any> = ...

    Type Declaration

      • (
            document: any,
            factory: LabelMapFactory,
            groups: Record<string, string[]>,
        ): Promise<any>
      • Canonicalizes a document and groups its N-Quads by the pointer groups given (section 3.4.16).

        Parameters

        • document: any

          the document

        • factory: LabelMapFactory

          the label map factory

        • groups: Record<string, string[]>

          group name to JSON pointers

        Returns Promise<any>

        { groups, skolemized, labelMap, nquads }