Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UC] Pagination, filtering and ordering #103

Open
srosset81 opened this issue Jan 14, 2025 · 1 comment
Open

[UC] Pagination, filtering and ordering #103

srosset81 opened this issue Jan 14, 2025 · 1 comment
Labels
triage Issues needing triage usecase LWS Use Case

Comments

@srosset81
Copy link

srosset81 commented Jan 14, 2025

As an end user,
I want to paginate and filter data,
So that I get the data I need with good performances.

Preconditions:

Large amount of resources are stored in a container.

Trigger:

The user want to get only a small subset of the resources within the container.

Actors:

N/A

Distinction:

The user may want to filter or sort by predicates.
Maybe the possibility of filtering by keyword (full text search) may be useful as well.
For ordering, we may want to choose a ascending or descending order.
For ordering, we may want data even if the sort predicate doesn't exist.

Scenario:

N/A

Alternative case(s):

If a SPARQL endpoint was available, this would be less necessary.

Error scenario:

N/A

Acceptance Criteria:

N/A

References:

For paging, this spec exists: https://www.w3.org/TR/ldp-paging

Ordering with RDF is difficult. We have long discussions about this here: assemblee-virtuelle/semapps#568

@srosset81 srosset81 added triage Issues needing triage usecase LWS Use Case labels Jan 14, 2025
@CxRes
Copy link

CxRes commented Jan 15, 2025

Few observations:

  1. This is in part related to the UCS [UC] Authoring Arbitrary Hypermedia #33, where I illustrate the need to author arbitrary hypermedia. Your UCS highlights, the need for authors to be able to control/configure pagination, as well as servers' ability to do automatic pagination, say, on RDF data. These need to made available to clients as hypermedia affordances.
  2. A QUERY method has been proposed at the HTTPWG https://httpwg.org/http-extensions/draft-ietf-httpbis-safe-method-w-body.html which could be a natural way to make SPARQL requests.
  3. I have started a discussion on extending HTTP content negotiation to allow complex media-type descriptions. This might be a way to allow servers/intermediaries to communicate that they are providing filtered responses in a more granular manner. The discussions are unfortunately split between HTTPWG and Media Types mailing lists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issues needing triage usecase LWS Use Case
Projects
None yet
Development

No branches or pull requests

2 participants