Re: totalItems with pagination and filtering

2015-11-19 11:12 GMT+01:00 Maik Riechert <maik.riechert@arcor.de>:

>> How about using the <http://www.iana.org/assignments/relation/up>
>> relation to describe this link?
>
> Hm, it says "Refers to a parent document in a hierarchy of documents." This
> could also mean a link further up the hierarchy and not to the immediate
> parent.

Not how I interpret it. That would necessitate a new relation called
"root" or something similar, imho.

> Even if you rely on a type of that parent (a "Collection") it could
> still be ambiguous since you could have a hierarchy of collections. I still
> think dct:source matches best since it directly says that the resource (the
> filtered collection) was derived from that other resource (unfiltered
> collection). And the deriving bit is a pretty strong indicator.

Yes, I'm not opposed to using dct:source. I also wouldn't mind Hydra
inventing its own predicate, if that's necessary.

-- 
Asbjørn Ulsberg           -=|=-        asbjorn@ulsberg.no
«He's a loathsome offensive brute, yet I can't look away»

Received on Thursday, 19 November 2015 12:03:33 UTC