Skip to content

Moving out RDF Dataset CanonicalizationΒ #220

@mielvds

Description

@mielvds

PyLD contains implementations for a couple of RDF dataset canonicalization algorithms from back when this was part of the JSON-LD work, as pointed out by @davidlehn in #190. Since then, this standardization work has moved to the Credentials Community Group, which then evolved into the rdf-canon Working Group. Eventually, this led to the RDF Dataset Canonicalization w3c recommendation.

All of this produced three algorithms:

There have been some discussions/efforts (#182) on whether this should move elsewhere. RDF Dataset Canonicalization has a broader use and could therefore benefit from being a repository of its own; the PyLD code would be more focused. Digitalbazaar actually already did this for its JS counterpart. This would also highly benefit RDFLib, which does not have a RDFC-1.0 implementation, but already provides methods to compare graphs.

In light of this library eventually moving to the RDFlib ecosystem, I propose that maybe this functionality moves first?
A possible path forward would be:

  1. Preparing a PR isolating the implementation and tests in a separate module (I can do this)
  2. Adding the RDFC-1.0 implementation and test-suite (I can try this, but maybe with help of the broader RDFLib community)
  3. Copying this part of the code to a RDFLib based repo and publish the package on pypi
  4. Replacing the code with the new dependency

(CC @davidlehn @BigBlueHat @nicholascar @edmondchuc @anatoly-scherbakov )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions