Property talk:P3602

From Wikidata
Jump to navigation Jump to search

Documentation

candidacy in election
election where the subject is a candidate
Representscandidate (Q618536)
Data typeItem
Domainhuman (Q5), electoral list (Q355844) or political party (Q7278)
Allowed valuespersons, parties, groups (note: this should be moved to the property statements)
ExampleJoonas Mäkinen (Q27982225)2012 Finnish municipal elections (Q640715)
Ralph Nader (Q193156)2000 United States presidential election (Q327959)
Goodluck Jonathan (Q57380)2015 Nigerian presidential election (Q24961921)
Tracking: usageCategory:Pages using Wikidata property P3602 (Q124306392)
See alsocandidate (P726), candidate number (P4243), running mate (P6149)
Lists
Proposal discussionProposal discussion
Current uses
Total223,367
Main statement223,331>99.9% of uses
Qualifier35<0.1% of uses
Reference1<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Value type “public election (Q40231): This property should use items as value that contain property “instance of (P31)”. On these, the value for instance of (P31) should be an item that uses subclass of (P279) with value public election (Q40231) (or a subclass thereof). (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/P3602#Value type Q40231, 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/P3602#Entity types
Scope is as main value (Q54828448): 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/P3602#Scope, SPARQL
This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Elected, but not a candidate
People who got elected in an election, but don't have the candidacy in election (P3602) statement for the election (Help)
Violations query: SELECT DISTINCT ?item ?election WHERE { ?item p:P39 ?positionstatement . ?positionstatement pq:P2715 ?election . MINUS { ?item wdt:P3602 ?election } }
List of this constraint violations: Database reports/Complex constraint violations/P3602#Elected, but not a candidate

Percent received?[edit]

Could there be a qualifier to get the percent received, or a qualifier to store the total number of votes in the election to figure it out? Then infoboxes on Wikipedia could actually use this property. DemonDays64 | Talk to me 14:07, 5 August 2020 (UTC) (please ping on reply)[reply]

DemonDays64 So I found this discussion. While the reasoning isn't entirely wrong, the current situation is rather annoying. In my jurisdiction (Germany) the total number of votes is a rather meaningless number.
For an election I just looked up, the first six hits on Google give results in percentages only. Even the official results include totals only as a footnote.
To then get to the meaningful percentage requires the total number of valid votes. But that number isn't among the allowed qualifiers here. You better hope there is an item for the election itself that includes it. Which is unlikely for most elections to parliament, where each local district constitutes an individual race. Example:
candidacy in election
Normal rank 2019 United Kingdom general election ← this will only have total votes for all districts
electoral district Islington North
votes received 34,603 ← did he win? No idea...
total valid votes 44,603 ← this property isn't supposed to be here
0 references
add reference


add value
Adding totals as a a qualifier next to votes received fixes the acute problem. But that data is needed for every candidate, and the data will therefore be duplicated.
A datatype for fractions that preserves entered denominators as-is would be ideal in this case. Unfortunately, that does not currently exist.
The objection to the proposal above was that percentages can easily be calculated froj totals. Even ignoring how "easy" that may or may not be (and Wikipedia apparently not allowing it with the same ease vas just retrieving a value, the same argument can be mde in reverse: given a total and percentage, I can also calculate individual votes. I may be off by a few votes due to floating point math and I can understand how that seems more irritating for absolute data (compared to percentages, where everyone assumes it is rounded). But giving readers what they are far more likely to be looking instead of a treasure hunt + math quiz should outweigh that concern.
So I'd currently favor adding percentages. If people consider the duplication of data to be a problem, it should replace vote totals.

--Matthias Winkelmann (talk) 00:53, 9 November 2020 (UTC)[reply]

Office contested?[edit]

If I want to say someone is a candidate in a primary, how can I specify which office it was for? office contested (P541) isn't allowed. DemonDays64 | Talk to me 14:14, 5 August 2020 (UTC) (please ping on reply)[reply]

If a politician runs in a primary or election but doesn't win should they still have this property?[edit]

For example, should Bernie Sanders (Q359442) have "candidacy in election" statements for the 2016 and 2020 Democratic Primaries? Ditto for all the other politicians who ran in 2020. Nicereddy (talk) 16:18, 18 October 2020 (UTC)[reply]

Why not? --- Jura 16:34, 18 October 2020 (UTC)[reply]
Nicereddy See the discussion on Talk:Q22923830, where I went five rounds with Jura on the issue before giving up. --Matthias Winkelmann (talk) 01:03, 9 November 2020 (UTC)[reply]

allowed qualifiers constraint[edit]

The allowed qualifiers constraint (Q21510851) currently includes results (P2501) however if you use that with one of the typical election results unelected (Q62082492) or elected (Q20826785) you get the value type constraint error that values of results statements should be instances of race result (Q54933017). Either the constraints for results (P2501) should be changed or a more appropriate property added to record the result of the persons candidacy. --Find bruce (talk) 01:40, 12 March 2021 (UTC) ✓ Done[reply]