More compact @prefix
Open
Nobody has claimed this yet.
defer-future-version
- Dominant language
- HTML
- Stars
- 106
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Currently, @prefix has boolean as range, and can be used as follows:
{
"@context": {
"@version": 1.1,
"compact-iris": { "@id": "http://example.com/compact-iris-", "@prefix": true }
},
}
In most cases, @prefix will probably be used together with @id.
For this reason, it might be beneficial to also allow the following as equivalent representation:
{
"@context": {
"@version": 1.1,
"compact-iris": { "@prefix": "http://example.com/compact-iris-" }
},
}
As far as I can see, this should not cause conflicts or major performance issues when processing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Begin by reading the JSON-LD 1.1 context-processing specification around @prefix and @id; done means the string form is defined as equivalent to the existing representation without introducing conflicts.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100