Hmangas did some [[ https://www.wikidata.org/w/index.php?title=Property%3AP7704&type=revision&diff=1169811676&oldid=1152133497 | changes see link ]]
the change to the //formatter URI for RDF resource// looks like we need to purge items see T112081 and comment on Telegram WIkidata
{F31790100,width=400}
{F31790102,width=400}
{F31790096,width=400}
{F31790094,width=400}
{F31790092,width=400}
**Small test running **[[ https://github.com/generalist/wikidata-misc/blob/master/wikidata-purge.sh | see also script]]
* tool used is [[ https://www.mediawiki.org/wiki/Manual:Pywikibot | Pywikibot ]] same tool as [[ https://www.oclc.org/content/dam/research/publications/2019/oclcresearch-creating-library-linked-data-with-wikibase-project-passage-a4.pdf | used by OCLC when testing Wikibase ]]
**Result:** it takes 10 sec per purge....feels better waiting
SPARQL used in curl
> select ?item ?edited where { ?item wdt:P7704 ?id. ?item schema:dateModified ?edited } order by desc(?edited)
If an object is edit its the same as a purge --> 2020 90% of the 160 000 Europeana objects has been edited
* WDQS [[ https://w.wiki/PdY | search ]]
* entries not edited since I added the Europeana property edit date < 1-jan-2020 as [[ https://w.wiki/Pda | Bubblechart ]]
==> 10% has not been edit during 2020
{F31790136}
* [[ https://w.wiki/Pdd | SPARQL items edit after 30 apr 2020 ]] out of 160 000, the change was done 30 apr 2020
curl --header "Accept: text/tab-separated-values" https://query.wikidata.org/sparql?query=select%20%3Fitem%20%3Fedited%20where%20%7B%20%3Fitem%20wdt%3AP7704%20%3Fid.%20%3Fitem%20schema%3AdateModified%20%3Fedited%20%7D%20order%20by%20desc%28%3Fedited%29 > ~/scripts/working/purgescript-test.tsv
> for i in `cat ~/scripts/working/purgescript-test.tsv`
>. do echo "$i to be purged"
>. python3 ~/pywikibot/pwb.py touch -page:$i -purge
> done
**OUTPUT**
Q169566 to be purged
Retrieving 1 pages from wikidata:wikidata.
Sleeping for 9.1 seconds, 2020-05-01 19:16:47
Page [[Q169566]] purged
1 pages read
0 pages written
0 pages skipped
Execution time: 9 seconds
Read operation time: 9 seconds
Script terminated successfully.
Q3593648 to be purged
Retrieving 1 pages from wikidata:wikidata.
Sleeping for 9.3 seconds, 2020-05-01 19:16:57
Page [[Q3593648]] purged
1 pages read
0 pages written
0 pages skipped
Execution time: 10 seconds
Read operation time: 10 seconds
Script terminated successfully.
Q310924 to be purged
Retrieving 1 pages from wikidata:wikidata.
Sleeping for 9.3 seconds, 2020-05-01 19:17:08
Page [[Q310924]] purged
1 pages read
0 pages written
0 pages skipped
Execution time: 10 seconds
Read operation time: 10 seconds
Script terminated successfully.
Q1610094 to be purged
Retrieving 1 pages from wikidata:wikidata.
Sleeping for 9.3 seconds, 2020-05-01 19:17:19
Page [[Q1610094]] purged
1 pages read
0 pages written
0 pages skipped
Execution time: 10 seconds
Read operation time: 10 seconds
Script terminated successfully