Skip to content

Run the W3C json-ld-api expand and toRdf suites #2358

Closed

Description

@bplatz

JSON-LD expansion deviations keep being found by hand, one at a time. Since September:

The W3C json-ld-api test suite (expand and toRdf) covers each of these. The SPARQL suite already runs under testsuite-sparql with a skip register that can only shrink; JSON-LD has nothing equivalent.

Proposal

A testsuite-jsonld harness in the same shape as testsuite-sparql:

  • runs the json-ld-api expand and toRdf manifests against fluree-graph-json-ld;
  • keeps a skip register for known deviations, each tied to an issue or to a documented deviation in docs/reference/compatibility.md, and fails when a registered test starts passing;
  • runs in CI.

Documented deviations (no remote contexts, refused containers, type-scoped propagation, the serialized-string reading of an explicit @json value) stay in the register permanently, with the reason.

Raised in review of #2283.

Activity

  1. added
    enhancement
    P2
    area:sparql
    on Nov 11, 2026
  2. added this to the 5.0.0 milestone on Nov 12, 2026
  3. bplatz commented on Nov 20, 2026

    @bplatz
    ContributorAuthor

    Done on next by #2396 (merged 2026-11-16, 014a126). testsuite-jsonld/ runs the json-ld-api expand and toRdf suites, with its own CI job. The gaps they report are tracked in #2395. The PR's Fixes keyword didn't close this because its base was next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2area:sparqlenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions