Closed
Description
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.