Skip to content

More compact @prefix #76

Open
Open
@rubensworks

Description

@rubensworks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    defer-future-versionDefer this issue until a future version of JSON-LD

    Type

    No type

    Projects

    Status

    Future Work

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions