- From: Ruben Verborgh <ruben.verborgh@ugent.be>
- Date: Tue, 12 Jan 2016 20:18:08 +0100
- To: Karol Szczepanski <karol.szczepanski@gmail.com>
- Cc: Markus Lanthaler <markus.lanthaler@gmx.net>, public-hydra@w3.org
Hi Karol, >> – it yields a set of related but different filtered resources (= the pages), whereas another filter just results in one filtered resource > What makes a collection members filtered by the index subset known as "page" different than a subset of collection members filtered by i.e. given name assuming that those items are persons? Page 1 and Page 2 are in same relation as A Firstnames and B Firstnames. And where do the "firstname not filled in" come, before A or after Z? ;-) In all seriousness, the A/B example indeed resembles paging. However, this does not hold for filters in general. >> – pages have a logical order (as you indicated), and having a "next", "previous", "first", "last" link on them makes sense, which is not the case for other filters > Filtering by a given name gives also a logical order - letters can be also ordered as numbers. You could state similar links to next and previous! Agree that some filters have a logical next and previous, but again, not in general. >> – membership of a page is altered if new items are added or existing items are removed; this is not the case for membership of a filter, which is only altered if the item itself is altered (in other words: either the index property you describe, or the filter expression that selects it, is not a constant) > Disagree again. If you assume that order doesn't change your statement is true. But if the underlying store decide to give you the collection members in different order paging changes! Not sure if we're talking about the same thing here, because the fact that paging changes is exactly my problem. Given an example collection: A A A A A B and assume the page size is 5. Then we have page 1 (A A A A A) and page 2 (B). Now remove one of the 1 elements. Then we have page 1 (A A A A B), but no second page. So the membership of B to the page 2 changed, even though B itself did not change. Whereas for another filter you'd define (like: "uneven letters of the alphabet"), the membership of B is unaffected. Conclusion: paging is a different beast. Best, Ruben
Received on Tuesday, 12 January 2016 19:18:38 UTC