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

[BUG] Pagination generates too long queries #1

Open
MaillPierre opened this issue Jul 7, 2023 · 0 comments
Open

[BUG] Pagination generates too long queries #1

MaillPierre opened this issue Jul 7, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MaillPierre
Copy link
Member

MaillPierre commented Jul 7, 2023

Paginations generate queries that Corese refuses due to being too long

Expected Behavior

The INSERT DATA generated during pagination should be accepted by corese

Current Behavior

The insertion of NT content in the INSERT DATA query generates queries more than 10 000 characters long, which Corese refuses with a 414 error.

Possible Solution

  • Replace the NT with turtle (with some prefix handling needed)
  • Detect an NT content too long and re-send the CONSTRUCT query that generated it with pagination at half the previous size.

Steps to Reproduce

Indexation of endpoint https://data.gov.cz/sparql using FAIRNess or Accountability rules

Context (Environment)

Test of FAIRNess implementation

@MaillPierre MaillPierre self-assigned this Jul 7, 2023
@MaillPierre MaillPierre added the bug Something isn't working label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant