Property talk:P4966

Latest comment: 5 years ago by Romaine in topic Dutch label

Documentation

Hungarian National Assembly ID
identifier for a past or present member or office-holder of the Hungarian Parliament
Representsmember of the National Assembly of Hungary (Q17590876)
Associated itemNational Assembly (Q648716)
Data typeExternal identifier
Allowed values[a-z]\d{3} (lower case first character of the family name of the MP (sans diacritics), and a three-digit ordinal (with leading zeroes))
ExampleViktor Orbán (Q57641)o320
Ferenc Gyurcsány (Q191337)g030
Sourcehttp://www.parlament.hu/egy-kepviselo-adatai
http://www.parlament.hu/orszaggyules-tisztsegviseloi
Formatter URLhttps://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: usageCategory:Pages using Wikidata property P4966 (Q55096496)
Related to country  Hungary (Q28) (See 57 others)
Lists
Proposal discussionProposal discussion
Current uses
Total2,380
Main statement1,82076.5% of uses
Qualifier2<0.1% of uses
Reference55823.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Item “instance of (P31): human (Q5): Items with this property should also have “instance of (P31): human (Q5)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P4966#Item P31, hourly updated report, search, SPARQL
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: György Fekete (Q998066), Gábor Tamás Nagy (Q1214203), András Gombos (Q51880585), Andrea Bártfai-Mager (Q53764750), József Veress (Q51882955)
List of violations of this constraint: Database reports/Constraint violations/P4966#Single value, SPARQL
Format “[a-z]\d{3}|: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P4966#Format, hourly updated report, SPARQL
Item “position held (P39): Items with this property should also have “position held (P39)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P4966#Item P39, search, SPARQL
Item “country of citizenship (P27): Hungary (Q28): Items with this property should also have “country of citizenship (P27): Hungary (Q28)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P4966#Item P27, search, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P4966#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P4966#Scope, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
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:

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)Reply

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)Reply
@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)Reply
@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)Reply
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)Reply

@Oravrattas: Please read this conversation. Bencemac (talk) 07:13, 7 August 2018 (UTC)Reply

@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)Reply
@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)Reply
@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)Reply

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)Reply

@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)Reply
Return to "P4966" page.