- From: elf Pavlik via GitHub <sysbot+gh@w3.org>
- Date: Sun, 01 Oct 2017 21:30:28 +0000
- To: public-hydra-logs@w3.org
>> ` "/users/elfpavlik/likes/144522067": "/users/elfpavlik"`
> Are you sure that is correct? Wouldn't it be smth more like
As I understood `"@container": "@graph"` would make it easier to express Quads. Named graph denoted by `"/users/elfpavlik/likes/144522067"` could contain just two Triples:
```http
GET /users/elfpavlik/likes/144522067
```
```json
{
"@context": { ... },
"@graph": [
{
"@id": "/users/elfpavlik",
"sor:likes": "/videos/144522067"
}
{
"@id": "/users/elfpavlik/likes",
"member": "/videos/144522067"
}
]
}
```
But we get all that information directly from the collection thanks to definition of `manages` block
```json
{
"@id": "/users/elfpavlik/likes",
"manages": {
"subject": "/users/elfpavlik",
"property": "sor:likes"
},
"member": {
"/users/elfpavlik/likes/144522067": "/videos/144522067",
...
}
}
```
--
GitHub Notification of comment by elf-pavlik
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/134#issuecomment-333408225 using your GitHub account
Received on Sunday, 1 October 2017 21:30:18 UTC