w3c / w3c/json-ld-api

integer JSON value should be expanded to an IRI in presence of a base IRI

Open
#509 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

defer-future-version ms:future-work spec:enhancement spec:substantive
Dominant language
HTML
Stars
106
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Point 8 in IRI Expansion
https://www.w3.org/TR/json-ld11-api/#iri-expansion
says nothing about an integer JSON value that is expanded to an IRI in presence of a base IRI .
So this should be allowed, but the JSON-LD engines I know do not process an integer JSON value in this way.

I already made this issue, with an example:
https://github.com/json-ld/json-ld.org/issues/742

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with point 8 of the JSON-LD 1.1 IRI Expansion algorithm and review the linked json-ld.org issue 742 for the example and prior discussion. Compare the stated behavior with the JSON-LD engines mentioned in the issue. Done means the specification clearly resolves integer JSON values in the presence of a base IRI and the relevant behavior is agreed by the working group.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.