| Multichill created this task. Multichill added projects: Wikidata-Query-Service, Wikidata. Restricted Application added a subscriber: Aklapper. |
I'm importing paintings for the National Gallery of Canada (see https://www.wikidata.org/wiki/Wikidata:WikiProject_sum_of_all_paintings/Collection/National_Gallery_of_Canada ). In the first run I imported a bit over 4000 paintings, but I skipped a couple. So I'm doing a second run to fill the holes. The bot makes a lookup table based on the collection and inventory number
SELECT ?item ?inv WHERE {
?item p:P195 ?collectionstatement .
?collectionstatement ps:P195 wd:Q1068063 .
?item wdt:P31 wd:Q3305213 .
?item wdt:P217 ?inv .
} LIMIT 25000Based on the lookup table the bot will expand existing items instead of creating new ones.
I noticed duplicate items getting created. See https://www.wikidata.org/wiki/Q59492235 and https://www.wikidata.org/wiki/Q59551206 . When I manually run the query I sometimes get 4011 results and sometimes 4002 (just change the limit to something like 1234567 to trigger a fresh run). So the data seems to be inconsistent between member servers.
Cc: Aklapper, Smalyshev, Lydia_Pintscher, Nikki, Multichill, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, D3r1ck01, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
