AVMbot
Population of communes of France
editHello,
I see that your bot is adding population (P1082) to communes of France. That's great, thank you a lot (it's been a long time I've been wainting for that).
For information, communes can quite complicated in France and there is a tricky detail where your bot is sometime adding population to the wrong item (fortunately, it's only a small number of communes). Apparently, your edits are based on the INSEE municipality code (P374) which is usually unique but this code is only unique for a point in time. When communes merge, the same code can be reattributed. For instance, you added a 2015 population to Bâgé-Dommartin (Q45036453) which was created in 2018, you should have add the population to Bâgé-la-Ville (Q206680). Pymouss is currently checking and correcting the new communes created after 2015.
Cdlt, VIGNERON (talk) 13:06, 20 January 2018 (UTC)
- @VIGNERON, Pymouss: Hello. I understand. Thank you for the information. Indeed, as stated by INSEE, 2015 populations refer to the administrative divisions as of 2017-01-01. My mistake was considering "current" administrative divisions instead of the ones as of 2017-01-01.
- Indeed my approach was the following:
- SPARQL query to get the items wich are instance of (P31) commune of France (Q484170) and this statement does not contain the qualifier property end time (P582)
- Now I know this is not correct and I am going to modify it
- Iterate over the items generated from the SPARQL response
- Get INSEE municipality code (P374) from the item
- Use it to map the corresponding population
- SPARQL query to get the items wich are instance of (P31) commune of France (Q484170) and this statement does not contain the qualifier property end time (P582)
- On the other hand, after having run this task, I have some questions/comments about some specific cases I have found: what about setting the qualifier end time (P582) on INSEE municipality code (P374) of former communes; maybe creating a new property "INSEE code of delegated commune" to avoid INSEE code clashes; what about if an item has a population (P1082) statement from a previous year with the same population value? Should I create a new statement or should I add a qualifier? For now I have skipped these items...
- Is there a place where I could discuss and coordinate about this task? Thank you. --Albert Villanova del Moral (talk) 22:51, 20 January 2018 (UTC)
- You can discuss about it on Wikidata talk:WikiProject France/Communes (the discussions are mostly in French but you can write in English, I'll do the translation if needed).
- Indeed, there should always be a end time (P582) on INSEE municipality code (P374) for former communes but it's often forgotten :( (there is still a huge lot of work to do on communes)
- I'm not sure about the « INSEE code of delegated commune », I don't know if it really make sens with the reality of the INSEE and I feel it won't solve the problem, the end time (P582) qualifier seems better to me.
- Cdlt, VIGNERON (talk) 23:24, 20 January 2018 (UTC)
- Hi, I see that you are adding 2018 populations with determination method or standard (P459): census, but most data actually do not come from a real census. As discussed with user:Roland45 on fr:Discussion Projet:Communes de France/Nouveaux modèles démographiques, the P459 qualifier is actually a bit tricky. Best may be to remove it altogether from your data. On the other hand, adding criterion used (P1013): municipal population (Q15715409) may be useful. Even though municipal population (Q15715409) is the standard population figure, there are other ones (see population "population totale") [1]). --Zolo (talk) 16:06, 16 March 2021 (UTC)
Faulty date logic
editThis edit shows your bot has faulty date handling logic. The edit claims Gregory XIII became pope 13 May 1572 and that this is a Gregorian calendar date, but in reality, this is a Julian calendar date. Your bot should not import any dates unless it can determine reliably which calendar the date is in.
I have reverted the faulty edit. Jc3s5h (talk) 15:05, 22 March 2020 (UTC)
procurador en Cortes
editHi there, I see that your bot is adding the "procurador en Cortes" statement to a lot of Spanish politicians. Thanks for that. I've just recently updated all the politicians of the cortes franquistas with official data. I was using the member of the Cortes franquistas for this. Procurador is, as the Spanish article states a rather vague concept and does not differentiate between the different epochs of Spanish politics. I've already removed some of the statements before writing this. Sorry about that, I should first have opened the discussion. --Tomukas (talk) 07:38, 28 March 2020 (UTC)