Collection (hydra:manage, hydra:property and void:classPartition)

Hello,

https://www.w3.org/community/hydra/wiki/Collection_Design

Wiki page above proposes a way to group resources which all have given
relation to some resource. I wonder if we could find a way to use it
together with void:classPartition.

For example collection

{
  "@id": "/alice",
  "collection": {
    "@id": "/alice/featured",
    "@type": "Collection",
    "manages": {
      "property": "schema:about",
      "object": "/alice"
    }
  }
}

schema:about schema:domainIncludes schema:CreativeWork

Now I would like to have more specific collections (partitions) for more
specific types of CreativeWork - Article, Movie, Book, Review etc.

/alice/featured/articles
/alice/featured/movies
/alice/featured/books

Can we consider hydra:Collection also a void:Dataset? void:subset of the
whole Dataset exposed by given API. Maybe we could simply use
void:classPartition directly on hydra:Collection?

Cheers!

Received on Saturday, 28 November 2015 21:12:17 UTC