W3C home > Mailing lists > Public > public-hydra@w3.org > June 2014

Re: How to avoid that collections "break" relationships (ISSUE-41)

From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
Date: Sun, 15 Jun 2014 18:16:32 +0200
Message-ID: <539DC6E0.3080804@wwelves.org>
To: public-hydra@w3.org
On 06/13/2014 12:14 AM, Markus Lanthaler wrote:

> Sure. I just created a Wiki page summarizing the current state of affairs:
> 
>   https://www.w3.org/community/hydra/wiki/Collection_Design
> 
> Hope this helps. If not, please let me know.
I assume one can also use such collection this way?
{
  "@id": "/alice/friends",
  "@type": "Collection",
  "manages": {
    "property": "schema:knows",
    "subject": {
      "@id": "/alice",
      "schema:name": "Alice"
      "schema:image": "https://photos.example.me/saying-tofuuuu.png"
    }
  }
}

http://www.w3.org/TR/json-ld/#embedding

I don't argue that it has any advantages over getting data about
</alice> with separate request, just wondering if embedding also applies
here.
Received on Sunday, 15 June 2014 16:18:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:53:59 UTC