In different bots is common practice to use variables to store PIDs and QIDs. Currently most are declared in init.py in scheduled_bots. However, they do change overtime. Items do get merged or deleted, causing bots to fail. This is for example the case in https://github.com/SuLab/scheduled-bots/issues/31.
I propose moving this to the WDI, where the property and item labels are linked to the respective PIDs and QIDs. Instead of hardcoding these in the bot, the dictionaries and lists are populated every time through a SPARQL query.
In different bots is common practice to use variables to store PIDs and QIDs. Currently most are declared in init.py in scheduled_bots. However, they do change overtime. Items do get merged or deleted, causing bots to fail. This is for example the case in https://github.com/SuLab/scheduled-bots/issues/31.
I propose moving this to the WDI, where the property and item labels are linked to the respective PIDs and QIDs. Instead of hardcoding these in the bot, the dictionaries and lists are populated every time through a SPARQL query.