soweego
soweego copied to clipboard
Generate automatic reports of the bot tasks
As suggested here. For each task, i.e., task 1, task 2, task 3 :
- [ ] keep track of the edited items;
- [ ] build & run an appropriate SPARQL query;
- [ ] fill a Wiki page with the query result.
Example
- bot task: delete invalid identifiers for Discogs;
- goal: report items that have been edited by the bot and don't have a Discogs identifier anymore;
- deleted [Q11898681, Q2048920, Q961940];
- query:
SELECT *
WHERE {
VALUES ?item { wd:Q11898681 wd:Q2048920 wd:Q961940 }
FILTER NOT EXISTS { ?item wdt:P1953 ?identifier . }
}
Related reports: https://xtools.wmflabs.org/ec/wikidata.org/Soweego%20bot