query-ddefe9233c8887bebf59afb1a4dd3f60
08:31, 5 August 2018 (UTC)) talk (Ivan A. Krestinin— 09:15, 5 August 2018 (UTC)) talk (Jheald: If the problem is that the query return itself has been cached (which I often find), just adding a space can get round that. Ivan A. Krestinin@) 05:27, 6 August 2018 (UTC)talk (Smalyshev (WMF)I updated the items and looks like it is fine now. 09:20, 5 August 2018 (UTC)) talk (Ivan A. KrestininNo, not full query result is cached. Try query above. After it try to change some item from the query result. For example add some property and remove it. Wait a bit. After it try to execute the query again. Changed item disappears from the query result. — ) 19:39, 6 August 2018 (UTC)talk (Smalyshev (WMF)No, not from the bot code. But if you tell me which entries are affected, I can update them (and maybe find the underlying reason for them to not be updated). You can post it on my user talk page too. 08:05, 6 August 2018 (UTC)) talk (Ivan A. KrestininThank you, but it is just a sample. I have many other samples. Its make bots work more hard than it can be. Is there some way to execute such updates from bot
s code? — Try this query:
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item WHERE
{
?item p:P1369 [] .
MINUS { ?item p:P1435/ps:P1435 wd:Q5958900 }
}