Skip to content

Create labelReplacementCanonize primitive #9

@dlongley

Description

@dlongley

Make it take a function that will be passed canonicalIdMap and return a new canonical bnode ID mapping to be used to generate canonical N-Quads from a canonicalized dataset.

Change hmacIdCanonize() to take an hmac and return a function that will create a map with keys that are the original bnode IDs and values that are the associated u<hmac digest> values. Alternatively, make hmacIdCanonize do that internally. The idea here is to better match the spec text.

Implement labelMapCanonize() to take labelMap and return a function that returns the reverse of labelMap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions