https://github.com/dpriskorn/sparql-rc2
Tool to help Wikidata contributors find recent changes based on a SPARQL query and validate them
https://github.com/dpriskorn/sparql-rc2
entity entity-validation entityschema quality-assurance quality-control validation wikidata
Last synced: 10 months ago
JSON representation
Tool to help Wikidata contributors find recent changes based on a SPARQL query and validate them
- Host: GitHub
- URL: https://github.com/dpriskorn/sparql-rc2
- Owner: dpriskorn
- License: gpl-3.0
- Created: 2025-08-10T10:23:30.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-08-24T12:54:43.000Z (10 months ago)
- Last Synced: 2025-08-24T16:39:05.576Z (10 months ago)
- Topics: entity, entity-validation, entityschema, quality-assurance, quality-control, validation, wikidata
- Language: TypeScript
- Homepage: https://sparql-rc2.toolforge.org/
- Size: 163 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sparql-rc2
This is a Python backend and React frontend rewrite of https://bitbucket.org/magnusmanske/wikidata-todo/src/master/public_html/sparql_rc.php by Magnus Manske which recently stopped working. It has been extended with entity validation based on [EntityShape](https://github.com/Teester/entityshape) by Mark Tully
## Features
This tool helps contributors track Recent Changes to entities using SPARQL queries and EntitySchemas
## Backends
I built two Python backends to make this tool work. I decided to speed things up by patching EntityShape to no longer download labels.
See https://sparql-rc2-backend.toolforge.org/ and https://github.com/dpriskorn/sparql-rc2-backend
See https://entityvalidator-backend.toolforge.org/ and https://github.com/dpriskorn/entityvalidator-backend
## Thanks
Thanks to Magnus Manske for the idea to get recent changes based on a SPARQL query and Mark Tully for updating EntityShape to support lexemes and use JSONLD as a basis for the validation.
## What I learned and did
* ChatGPT-5 is very good at coding React and Python but it still needs quite a lot of hand-holding to get things right. It's very nice that it remembers between chats now.
* Copy markdown plugin in VSCodium is great for copying code to a chatbot so it gets the right context.
* The combination of a well oiled Python backend and a smooth and fast React frontend is very nice!
* I had to find the database schema of wikidatawiki for the chatbot to make correct SQL.
* I improved documentation in toolforge on replica database environment variables because it could not be found by the chatbot
* It was a bit challenging to overload the EntityShape classes such that they skip downloading labels and speed the validation up.
## License
GPLv3+