acdh-oeaw / rdfproxy

GNU General Public License v3.0
2 stars 0 forks source link

Implement SPARQLModelAdapter.query_paginate for ungrouped pagination #43

Closed lu-pl closed 2 months ago

lu-pl commented 3 months ago

Implement SPARQLModelAdapter.query_paginate for ungrouped pagination.

This needs to dynamically modify a SPARQL query already, but is less complicated than grouped pagination.

The implementation requires to

  1. calculate offsets based on page and size parameters
  2. substitute a query template dynamically with values for page (offset) and size (limit)
  3. run a query with page/size parameters