Skip to content

Update SPARQL endpoint from WQS to Qlever and add prefixes#98

Open
zache-fi wants to merge 1 commit intomainfrom
29-switch-to-qlever-as-sparql-backend
Open

Update SPARQL endpoint from WQS to Qlever and add prefixes#98
zache-fi wants to merge 1 commit intomainfrom
29-switch-to-qlever-as-sparql-backend

Conversation

@zache-fi
Copy link
Copy Markdown
Collaborator

@zache-fi zache-fi commented Apr 1, 2026

Description

This will change SPARQL endpoint from WQS to QLever Wikidata endpoint and add Wikidata default prefixes as they are not by default defined in QLever.

Source for the list of prefixes

QLever debug queries

Item list used in ukbot

When QLever data has been updated

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore
  • ⏩ Revert

Related Tickets & Documents

Change fixes #29 where SPARQL queries are timeouting because WQS performance issues.

Tested?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📖 own file under the docs folder
  • 🙅 no documentation needed

[optional] Are there any pre- or post-deployment tasks we need to perform?

Change is currently running directly on production so local changes need to be reverted before doing pull

become ukbot
git diff
git checkout ukbot/filters.py

@zache-fi zache-fi linked an issue Apr 1, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problematic SPARQL queries

1 participant