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

Call for consensus on collection design (ISSUE-41)

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Thu, 3 Jul 2014 17:17:16 +0200
To: <public-hydra@w3.org>
Message-ID: <002801cf96d1$e135e290$a3a1a7b0$@gmx.net>
Hello everyone,

Over the past few weeks, we have debated the issues around collections and
seem to have found a solution that works for everyone. The proposal is to
introduce four new properties, namely hydra:collection (please note, not
*has*Collection as we don't use that style for any other property),
hydra:manages, hydra:subject, and hydra:object (hydra:property already
exists). These properties then allow to link collections to entities as
follows:

   {
     "@id": "/alice",
     "collection": {
       "@id": "/alice/friends",
       "@type": "Collection",
       "manages": {
         "property": "schema:knows",
         "subject": "/alice"
       }
     }
   }
   
... and in Turtle:

   </alice> hydra:collection </alice/friends> .
   </alice/friends> a hydra:Collection ;
       hydra:manages [
           hydra:property schema:knows ;
           hydra:subject </alice> .
       ] .


This serves as a call for consensus on the proposed solution. Before I
proceed with marking the issue as resolved and implementing the changes in
the spec, I would like to ask if
anyone has any concerns or objections against this proposal.

Please submit your comments by Wednesday, July 9th.


Thanks,
Markus



--
Markus Lanthaler
@markuslanthaler
Received on Thursday, 3 July 2014 15:17:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:42 UTC