Skip to content

Resolve Wikidata URIs using QLever SPARQL endpoint instead of WDQS#1912

Open
osma wants to merge 1 commit intomainfrom
issue1911-resolve-wikidata-use-qlever
Open

Resolve Wikidata URIs using QLever SPARQL endpoint instead of WDQS#1912
osma wants to merge 1 commit intomainfrom
issue1911-resolve-wikidata-use-qlever

Conversation

@osma
Copy link
Member

@osma osma commented Jan 27, 2026

Reasons for creating this PR

Wikidata URIs were not being resolved properly, see #1911. This PR works around the issue by switching to the alternative QLever Wikidata SPARQL endpoint which is much faster and (hopefully) more reliable than the Blazegraph-based official WDQS.

Link to relevant issue(s), if any

Description of the changes in this PR

  • switch to QLever SPARQL endpoint for resolving Wikidata entities
  • rename some classes (WDQS -> Wikidata) to avoid confusion, as we are no longer using WDQS

Known problems or uncertainties in this PR

I hope it really helped solve the problem?

Checklist

  • phpUnit tests pass locally with my changes
  • I have added tests that show that the new code works, or tests are not relevant for this PR (e.g. only HTML/CSS changes)
  • The PR doesn't reduce accessibility of the front-end code (e.g. tab focus, scaling to different resolutions, use of .sr-only class, color contrast)
  • The PR doesn't introduce unintended code changes (e.g. empty lines or useless reindentation)

@osma osma self-assigned this Jan 27, 2026
@osma osma added the bug label Jan 27, 2026
@osma osma added this to the 3.1 milestone Jan 27, 2026
@sonarqubecloud
Copy link

@osma osma moved this to Under review in Skosmos 3.x Backlog Jan 27, 2026
@osma osma added enhancement and removed bug labels Jan 28, 2026
@osma osma moved this from Under review to Skosmos 3.x Backlog (not this sprint) in Skosmos 3.x Backlog Jan 28, 2026
@osma osma modified the milestones: 3.1, 3.x Jan 28, 2026
@osma
Copy link
Member Author

osma commented Jan 28, 2026

WDQS started working with HTTP/1.1 again, so I closed issue #1911, but I'll leave this PR open in case we want to switch to QLever anyway.

@joelit joelit moved this from Skosmos 3.x Backlog (not this sprint) to Proposed Skosmos 3.x issues in Skosmos 3.x Backlog Mar 4, 2026
@joelit joelit moved this from Funnel to Selected for analysis in NatLibFi Skosmos Backlog Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Proposed Skosmos 3.x issues

Development

Successfully merging this pull request may close these issues.

Wikidata mapping queries are not working

1 participant