Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create labelReplacementCanonize primitive #9

Open
dlongley opened this issue Jun 17, 2023 · 0 comments
Open

Create labelReplacementCanonize primitive #9

dlongley opened this issue Jun 17, 2023 · 0 comments

Comments

@dlongley
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant