Property talk:P2549
Documentation
identifier for incumbent and former senators from the Italian Senate of the Republic
List of violations of this constraint: Database reports/Constraint violations/P2549#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2549#Item P106, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2549#Item P39, search
List of violations of this constraint: Database reports/Constraint violations/P2549#Item P735, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2549#Item P1412, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2549#Item P102, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2549#Item P569, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2549#Entity types
List of violations of this constraint: Database reports/Constraint violations/P2549#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2549#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2549#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2549#Label in 'it' language, search, SPARQL
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
|
Formatter URL/P1921
[edit]I removed the formatter URL, as it only points to real webpages of senators of the XVII legislature, not the previous ones. The URI with formatter URI for RDF resource (P1921) doesn't seem to work either :(. Removed. Lymantria (talk) 08:33, 6 August 2016 (UTC)
- We could repair the formatter URL perhaps, by including the legislaturenumber. In the former formatter URL, the legislature number and the ID were quite far apart. Btu there is also the format http://www.senato.it/loc/link.asp?tipodoc=sattsen&leg=17&id=2553. The "leg=17&id=2553" could then be the ID and senators might have several id's (in particular those "for life"). Perhaps creator @Epìdosis: could share his view. Lymantria (talk) 08:43, 6 August 2016 (UTC)
- I agree with your proposal. --Epìdosis 09:33, 6 August 2016 (UTC)
ID format
[edit]Notified participants of WikiProject Italy In the Project chat it has been made a proposal (Wikidata:Project chat#Outdated external ID) by @Popperipopp: to change the format of the IDs and the formatter URL of this property. As of now the format is:
- http://www.senato.it/loc/link.asp?tipodoc=sattsen&$1 (formatter URL) and leg=05&id=6812 (ID) > http://www.senato.it/loc/link.asp?tipodoc=sattsen&leg=05&id=6812 (the link would work perfectly, but a problem of encode which is to be solved in Wikibase - I reported it already in November in phab:T160281 - makes these links fail here; these links, however, work in Italian Wikipedia, see e.g. it:Gaetano Mancini#Collegamenti esterni)
The proposed new format is:
- https://dati.senato.it/senatore/$1 (formatter URL) and 22874 (ID) > https://dati.senato.it/senatore/22784
This format would be the same as Italian Chamber of Deputies dati ID (P1341) and is very simple, so I would surely support it.
However, I would like to pose a little problem regarding Italian Wikipedia: as of now, while the template it:Template:Camera.it is still used in order to create external links to the single pages of politicians in each legislature (because P1341 doesn't in its ID the legislature, it is stored locally on Italian Wikipedia), the corresponding template it:Template:Senato.it has been widely substituted by it:Template:Collegamenti esterni which reads both the ID and the legislature from Wikidata; in this way, switching from the current IDs (containing the legislature) to the easier IDs (not containing the legislature) would in fact force Italian Wikipedia to link to dati.senato.it (which is probably not a good solution for the reader, as it isn't linking to dati.camera.it), unless the legislatures are reimported to Italian Wikipedia from Wikidata. In conclusion, I would propose the following solution:
- bot-reimporting the IDs to the "Collegamenti esterni" sections of Italian Wikipedia articles using it:Template:Senato.it (I hope @Horcrux: could do this)
- then switching this property to dati.senato.it and consequently simplifying the IDs, aligning this property to its twin P1341
Opinions? Thanks, --Epìdosis 17:46, 24 January 2022 (UTC)
- Wait ... I have checked better dati.senato.it using its SPARQL endpoint at https://dati.senato.it/sito/23. It seems that, while the website is pretty complete for recent legislatures (18th, 17th), it is very incomplete for past legislatures: 32 senators for the 10th, none for the 1st. In fact, the example I initially tried (https://dati.senato.it/senatore/6812, 5th legislature) failed. I don't know if the website will be completed (it would be very desirable, of course), but as of now it is impossible changing the format of this ID: it would mean linking to a website where most of the new IDs don't exist (yet?). So I think we should keep the current format of IDs, hoping that the links are restored soon (depending on when the Phab ticket will be solved). I postpone my proposal above to when the website will hopefully offer a complete coverage of Italian senators from the 1st legislature onward. --Epìdosis 17:57, 24 January 2022 (UTC)
- I propose a slightly different solution:
- Copy via bot the information about the "legislatura" from Italian Senate of the Republic ID (P2549) to position held (P39)'s quantifiers, where missing (this should be done regardless!).
- Leave in Italian Senate of the Republic ID (P2549) only the numerical identifier (if and when the incompleteness problem will be solved).
- Modify the template Senato.it on it.wiki so that writing
{{Senato.it|legislatura=tutte}}
it prints a list of all the links, which can be horizontal (as the current template {{Collegamenti esterni}} does) or vertical (as done for {{Camera.it}}). The template will take the numerical identifier from P2549 and all the "legislatura" from P39 quantifiers. - Add the row
* {{Senato.it|legislatura=tutte}}
in all the articles whose item has a value for property P2549.
- Anyway, I'd point out that both the solutions assume that there cannot exist two different identifiers (maybe one per "legislatura") for the same senator. Fortunately, this assumption does hold. --Horcrux (talk) 19:28, 24 January 2022 (UTC)
- I agree that we should leave this property untouched until the data at dati.senato.ti is more or less complete. I wasn't aware of the limitation before writing on Project Chat. Fortunately, it's still possible to match existing Wikidata items with the data over at data.senato.it using some regex. As for point 1 Horcrux I'm currently in the process of adding relevant qualifiers to all existing senate P39 statements. Popperipopp (talk) 21:19, 24 January 2022 (UTC)
- Great, so this list should be emptied. Thank you! --Horcrux (talk) 09:15, 25 January 2022 (UTC)
- Correct me if I'm wrong but that list should exclude senators with P39 -> Italian senator for life (Q826589), right? Since those positions can span over multiple terms, it doesn't make sense to qualify them with a term. Popperipopp (talk) 17:44, 25 January 2022 (UTC)
- @Popperipopp: You may be correct, but it may also be useful to know in which legislative terms the Italian senator for life (Q826589) has been in charge. Could we add all the terms as qualifiers for the same statement? --Horcrux (talk) 11:01, 26 January 2022 (UTC)
- Good question. That may be the best solution here. In any case, the list above is now almost empty (except for the senators for life). Popperipopp (talk) 18:52, 29 January 2022 (UTC)
- @Popperipopp: You may be correct, but it may also be useful to know in which legislative terms the Italian senator for life (Q826589) has been in charge. Could we add all the terms as qualifiers for the same statement? --Horcrux (talk) 11:01, 26 January 2022 (UTC)
- Correct me if I'm wrong but that list should exclude senators with P39 -> Italian senator for life (Q826589), right? Since those positions can span over multiple terms, it doesn't make sense to qualify them with a term. Popperipopp (talk) 17:44, 25 January 2022 (UTC)
- Great, so this list should be emptied. Thank you! --Horcrux (talk) 09:15, 25 January 2022 (UTC)
- I agree that we should leave this property untouched until the data at dati.senato.ti is more or less complete. I wasn't aware of the limitation before writing on Project Chat. Fortunately, it's still possible to match existing Wikidata items with the data over at data.senato.it using some regex. As for point 1 Horcrux I'm currently in the process of adding relevant qualifiers to all existing senate P39 statements. Popperipopp (talk) 21:19, 24 January 2022 (UTC)
- I propose a slightly different solution:
- Hm, @Epìdosis:, I ran two queries for senators of the 10th and 1st legislature and they return 359 and 371 senators in result. How did you arrive at "32 senators for the 10th, none for the 1st"? Popperipopp (talk) 22:17, 9 May 2022 (UTC)
- @Popperipopp: Probably through their query service, although I'm not 100% sure to remember well. Anyway, now their query services shows these results, which seem complete. An update of the website probably happened in the meanwhile, very much welcome! --Epìdosis 07:46, 10 May 2022 (UTC)
- @Epìdosis: Great, so maybe we can proceed with changing the identifier format now. What do you think? Popperipopp (talk) 09:31, 10 May 2022 (UTC)
- @Popperipopp: you can proceed, I think. Write here when you have finished and @Horcrux: and I will fix uses on it.wiki. In fact the single ID of the person will have one or more legislature qualifiers. --Epìdosis 16:57, 10 May 2022 (UTC)
- I'm finished now. At this point we should have almost all positions as P39 statements, divided by legislature. And a single senator ID per politician. Popperipopp (talk) 11:29, 11 May 2022 (UTC)
- @Epìdosis:, @Horcrux:. Popperipopp (talk) 06:47, 12 May 2022 (UTC)
- Great, thank you! If I'm not missing anything, on Wikidata side we're done. I'm currently working on implementing a smarter version of the it:t:senato.it template on it.wiki. --Horcrux (talk) 07:53, 12 May 2022 (UTC)
- Anyway, what an odd coincidence, I was just asking why senato.it was not working anymore... --Horcrux (talk) 08:55, 12 May 2022 (UTC)
- Looks like it's up again. But yes, odd indeed. Popperipopp (talk) 13:10, 12 May 2022 (UTC)
- Anyway, what an odd coincidence, I was just asking why senato.it was not working anymore... --Horcrux (talk) 08:55, 12 May 2022 (UTC)
- Great, thank you! If I'm not missing anything, on Wikidata side we're done. I'm currently working on implementing a smarter version of the it:t:senato.it template on it.wiki. --Horcrux (talk) 07:53, 12 May 2022 (UTC)
- @Popperipopp: you can proceed, I think. Write here when you have finished and @Horcrux: and I will fix uses on it.wiki. In fact the single ID of the person will have one or more legislature qualifiers. --Epìdosis 16:57, 10 May 2022 (UTC)
- @Epìdosis: Great, so maybe we can proceed with changing the identifier format now. What do you think? Popperipopp (talk) 09:31, 10 May 2022 (UTC)
- @Popperipopp: Probably through their query service, although I'm not 100% sure to remember well. Anyway, now their query services shows these results, which seem complete. An update of the website probably happened in the meanwhile, very much welcome! --Epìdosis 07:46, 10 May 2022 (UTC)
- Italy-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with format constraints
- Properties with unique value constraints
- Properties with constraints on items using them
- Properties with entity type constraints
- Properties with scope constraints
- Properties with single value constraints
- Properties with label language constraints
- Authority control properties