Property talk:P4966
Documentation
identifier for a past or present member or office-holder of the Hungarian Parliament
Represents | member of the National Assembly of Hungary (Q17590876) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Associated item | National Assembly (Q648716) | ||||||||||||
Data type | External identifier | ||||||||||||
Allowed values | [a-z\d]\d{3} (lower case first character of the family name of the MP (sans diacritics), and a three-digit ordinal (with leading zeroes)) | ||||||||||||
Example | Viktor Orbán (Q57641) → o320 Ferenc Gyurcsány (Q191337) → g030 | ||||||||||||
Source | http://www.parlament.hu/egy-kepviselo-adatai http://www.parlament.hu/orszaggyules-tisztsegviseloi | ||||||||||||
Formatter URL | https://www.parlament.hu/egy-kepviselo-adatai?p_p_id=hu_parlament_cms_pair_portlet_PairProxy_INSTANCE_9xd2Wc9jP4z8&p_p_lifecycle=1&p_p_state=normal&_hu_parlament_cms_pair_portlet_PairProxy_INSTANCE_9xd2Wc9jP4z8_pairAction=%2Finternet%2Fcplsql%2Fogy_kpv.kepv_adat%3Fp_azon%3D$1 http://www.parlament.hu/documents/static/kepv/eletrajz/hu/$1.pdf | ||||||||||||
Tracking: usage | Category:Pages using Wikidata property P4966 (Q55096496) | ||||||||||||
Related to country | Hungary (Q28) (See 58 others) | ||||||||||||
Lists |
| ||||||||||||
Proposal discussion | Proposal discussion | ||||||||||||
Current uses |
| ||||||||||||
Search for values |
List of violations of this constraint: Database reports/Constraint violations/P4966#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P4966#Item P39, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P4966#Item P27, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P4966#Entity types
List of violations of this constraint: Database reports/Constraint violations/P4966#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P4966#Unique value, SPARQL (every item), SPARQL (by value)
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
Wrong constraint
[edit]@Pintoch: The current item-requires-statement constraint (Q21503247) is wrong and generates false errors. Having this ID doesn't mean that the person's position held (P39) must have member of the National Assembly of Hungary (Q17590876). Just two simple examples:
- László Székely (Q16523083): Commissioner for Fundamental Rights (Q16517044)
- Miklós Kásler (Q23925538): Minister of Human Capacities of Hungary (Q24205239)
As you can see, there are (many) non-politicians and they obviously don't have member of the National Assembly of Hungary (Q17590876). I think country of citizenship (P27) with Hungary (Q28) would be the only working constraint. Bencemac (talk) 15:49, 23 June 2018 (UTC)
- I don't think that there should be too many of these, we can keep the constraint as non-mandatory, and add the exceptions. The constraint has been very useful in finding wrong imports. – Máté (talk) 20:13, 23 June 2018 (UTC)
- @Máté: There are hundreds. Just take a look how many non-politician positions (where the person is not a member of the National Assembly of Hungary (Q17590876)) are available: “tisztségek”. Furthermore, you can choose other years too, which means more and more exceptions. Bencemac (talk) 07:21, 24 June 2018 (UTC)
- @Bencemac: In that case it's not the matter of a constraint, but the property needs to be renamed (e.g. Hungarian civil servant ID/Parlament.hu ID/National Assembly ID), and we need to think about wether the formetter URL needs to be changed as well. In any case, the constraint can remain, but without value (the item needs to have position held (P39) with any value). – Máté (talk) 07:45, 24 June 2018 (UTC)
- I just added this constraint as part of the property creation process but I trust the judgment of more knowledgeable editors to figure out what works best. Thank you for working on this! − Pintoch (talk) 07:53, 24 June 2018 (UTC)
- @Bencemac: In that case it's not the matter of a constraint, but the property needs to be renamed (e.g. Hungarian civil servant ID/Parlament.hu ID/National Assembly ID), and we need to think about wether the formetter URL needs to be changed as well. In any case, the constraint can remain, but without value (the item needs to have position held (P39) with any value). – Máté (talk) 07:45, 24 June 2018 (UTC)
- @Máté: There are hundreds. Just take a look how many non-politician positions (where the person is not a member of the National Assembly of Hungary (Q17590876)) are available: “tisztségek”. Furthermore, you can choose other years too, which means more and more exceptions. Bencemac (talk) 07:21, 24 June 2018 (UTC)
@Oravrattas: Please read this conversation. Bencemac (talk) 07:13, 7 August 2018 (UTC)
- @Bencemac: Thanks for the pointer. I think I agree with Máté above: the property should be renamed to more accurately reflect what it actually is. --Oravrattas (talk) 08:16, 7 August 2018 (UTC)
- @Oravrattas: Máté did some changes; what do you think now? I wanted to undo your edit and wrote an edit summary, but I missclicked (too many buttons). Sorry about that. Bencemac (talk) 14:05, 7 August 2018 (UTC)
- @Bencemac, Máté: yes that's definitely an improvement. I do think it could also be useful to be able to bring back a qualifier of item of property constraint (P2305) though. This doesn't have to be a single value; we can enumerate a variety of different offices that are acceptable (see for example the equivalent on Property:P1341#P2302). AIUI many of the positions listed at the “tisztségek” link above will only be held by people who have also been a member of the parliament, so I suspect the list of alternate positions we'd need to add to the constraint won't be overwhelming. (I don't think it's possible yet to say that the position can be a subclass of some other one, such that we might only need one or two base items, but if it's not, then perhaps we'd be able to by the time that it does become problematic!) --Oravrattas (talk) 15:39, 7 August 2018 (UTC)
- @Oravrattas: Máté did some changes; what do you think now? I wanted to undo your edit and wrote an edit summary, but I missclicked (too many buttons). Sorry about that. Bencemac (talk) 14:05, 7 August 2018 (UTC)
Dutch label
[edit]@Romaine: Hi, Could you take a look at the label you added to this property? If I'm not mistaken, it says that the property is for MPs, however (as discussed in the section above), the ID can be also present for office-holders of the Hungarian National Assembly who are not MPs. Thanks. – Máté (talk) 12:58, 8 January 2019 (UTC)
- @Máté: Thank you for having a look at it. I now generalised it to people. Greetings - Romaine (talk) 13:00, 8 January 2019 (UTC)
- Hungary-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with constraints on items using them
- Properties with single value constraints
- Properties with format constraints
- Properties with entity type constraints
- Properties with scope constraints
- Properties with unique value constraints
- Politician properties