Skip to content

JSON-LD formatter leaves graph-source IRIs uncompacted #2312

Open

Description

@aaj3f

For a query over an R2RML graph source, the JSON-LD formatter (and the XML / typed / delimited ones) emits graph-source
IRIs uncompacted, while IRIs from a native ledger in the same answer are compacted against the query's @context.

Example: with "@context": {"ex": "http://example.org/"}, a native subject comes back as ex:customer/1 and a
graph-source subject as http://example.org/customer/1.

Expected: the same compaction for both, since a graph-source IRI is an ordinary IRI once it is in the answer.

Found while testing sub-selects over Iceberg (#2241).

Activity

  1. added
    bug
    P2
    area:query
    on Nov 11, 2026
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:querybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions