Skip to content

Allow the definition of named graphs without @ keywords #481

Closed
@RubenVerborgh

Description

@RubenVerborgh

I'd like named graphs to become first-class citizens of JSON-LD 1.1, such that it becomes really straightforward to separate things in graphs. One reason is the separation of data, metadata, and controls, but there are several others.

If I'm not mistaken, at the moment it's not possible to define something like:

{
    "members": [ { "@id": "x" }, { "@id": "y" } ],
    "metadata": {
       "memberCount": 12300
    },
    "controls": {
        "nextPage": "/members/?page=2"
    }
}

where metadata and controls in fact correspond to different graphs.

Note also the similarly of this use case with what application/hal+json does with _links and _embedded.

It seems that #195 discusses something related, but that one seems specific for containers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions