Wikidata:Requests for permissions/Bot/Haansn08-Bot
From Wikidata
Jump to navigation
Jump to search
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved--Ymblanter (talk) 20:13, 11 September 2020 (UTC)[reply]
Haansn08-Bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Haansn08 (talk • contribs • logs)
Task/s: move incorrect instance of (P31) statements on humans to their correct property
Code: https://git.sr.ht/~stefan/wikidata-move-bot/tree/master/move.js
Function details: A common beginner's mistake is to use statements like instance of (P31)musician (Q639669) on humans. This bot wants to fix those mistakes by moving those statements to their correct property. Currently only items with instance of (P31)human (Q5) and instance of (P31) statements are moved.
instance of (P31) object class | target property | SPARQL query |
---|---|---|
occupation (Q12737077) | occupation (P106) | query |
position (Q1781513) | position played on team / speciality (P413) | query |
The bot avoids creating duplicate statements on the target property. --Haansn08 (talk) 05:15, 28 August 2020 (UTC)[reply]
- Looks good to me, I can approve the bot in a couple of days provided no objections have been raised.--Ymblanter (talk) 19:57, 8 September 2020 (UTC)[reply]