Wikidata:WikiProject Finnish Elections
Note: See WikiProject Politics Infoboxes for already accepted best practices.
WikiProject Finnish Elections is a project to collect and produce data about Finnish elections into Wikidata. The work focuses first on the municipal elections of 2012 and 2017.
Modelling elections data for the municipal elections 2012 and 2017
editThe current task is to import the candidates for the Finnish municipal elections in 2012. The Finnish Broadcasting Company YLE will host a hackathon where this data will be further acted on.
The same data will be reproduced for the 2017 elections and candidates of the Finnish municipal elections held on 9 April 2017.
Elections
editTitle | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
instance of | P31 | Item | instance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform) | 2017 Finnish municipal elections <instance of> municipal election | - |
point in time | P585 | Point in time | point in time: date something took place, existed or a statement was true; for providing time use the "refine date" property (P4241) | 2017 Finnish municipal elections <point in time> 2017-04-09 | - |
follows | P155 | Item | follows: immediately prior item in a series of which the subject is a part, preferably use as qualifier of P179 [if the subject has replaced the preceding item, e.g. political offices, use "replaces" (P1365)] | 2017 Finnish municipal elections <follows> 2012 Finnish municipal elections | followed by |
followed by | P156 | Item | followed by: immediately following item in a series of which the subject is a part, preferably use as qualifier of P179 [if the subject has been replaced, e.g. political offices, use "replaced by" (P1366)] | 2017 Finnish municipal elections <followed by> | follows |
eligible voters | P1867 | Quantity | number of eligible voters: number of eligible voters for a particular election | 2017 Finnish municipal elections <eligible voters> | - |
ballots cast | P1868 | Quantity | number of ballots cast: total number of ballot(s) cast, including invalid or blank ballots | 2017 Finnish municipal elections <ballots cast> | - |
country | P17 | Item | historical country, state and sovereign state: sovereign state that this item is in (not to be used for human beings) | 2017 Finnish municipal elections <country> Finland | - |
total valid votes | P1697 | Quantity | number of valid votes: vote count for the elections (excluding invalid votes) | 2017 Finnish municipal elections <total valid votes> | - |
has part(s) | P527 | Item | has part, consist of and meronymy: part of this subject; inverse property of "part of" (P361). See also "has parts of the class" (P2670). | <has part(s)> early voting | part of |
Elections locally
editTo do
- Create elections items for each municipality in 2012 (decide how to name them) Done
- Link to city council Done
- Link to municipality: applies to jurisdiction (P1001) Done
- Add aggregated votes
- Add each party as candidate (P726)
- Add selected parties as successful candidates
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
instance of | P31 | Item | instance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform) | 2012 Alavus municipal election <instance of> municipal elections in Finland | - |
part of | P361 | Item | part: object of which the subject is a part (if this subject is already part of object A which is a part of object B, then please only make the subject part of object A), inverse property of "has part" (P527, see also "has parts of the class" (P2670)) | 2012 Alavus municipal election <part of> 2012 Finnish municipal elections | has part(s) |
applies to jurisdiction | P1001 | Item | jurisdiction and jurisdiction: the item (institution, law, public office, public register...) or statement belongs to or has power over or applies to the value (a territorial jurisdiction: a country, state, municipality, ...) | 2012 Alavus municipal election <applies to jurisdiction> Alavus | - |
follows | P155 | Item | follows: immediately prior item in a series of which the subject is a part, preferably use as qualifier of P179 [if the subject has replaced the preceding item, e.g. political offices, use "replaces" (P1365)] | 2012 Alavus municipal election <follows> | followed by |
followed by | P156 | Item | followed by: immediately following item in a series of which the subject is a part, preferably use as qualifier of P179 [if the subject has been replaced, e.g. political offices, use "replaced by" (P1366)] | 2012 Alavus municipal election <followed by> 2017 Finnish municipal elections | follows |
candidate | P726 | Item | political candidate: person or party that is an option for an office in this election | 2012 Alavus municipal election <candidate> National Coalition Party | candidacy in election |
quantity | P1114 | Quantity | number of objects: number of instances of this subject in the universe of the subject (the actual number of instances in Wikidata may be lower or higher) | 2012 Alavus municipal election <candidate> National Coalition Party <quantity> 38 | - |
female population | P1539 | Quantity | number of female people inhabiting the place; number of female people of subject | 2012 Alavus municipal election <candidate> National Coalition Party <female population> 38 | - |
successful candidate | P991 | Item | candidate: person(s) or political organization(s) elected after the election | 2012 Alavus municipal election <successful candidate> National Coalition Party | - |
quantity | P1114 | Quantity | number of objects: number of instances of this subject in the universe of the subject (the actual number of instances in Wikidata may be lower or higher) | 2012 Alavus municipal election <successful candidate> National Coalition Party <quantity> 7 | - |
female population | P1539 | Quantity | number of female people inhabiting the place; number of female people of subject | 2012 Alavus municipal election <successful candidate> National Coalition Party <female population> 1 | - |
ballots cast | P1868 | Quantity | number of ballots cast: total number of ballot(s) cast, including invalid or blank ballots | 2012 Alavus municipal election <ballots cast> 5952 | - |
total valid votes | P1697 | Quantity | number of valid votes: vote count for the elections (excluding invalid votes) | 2012 Alavus municipal election <total valid votes> | - |
eligible voters | P1867 | Quantity | number of eligible voters: number of eligible voters for a particular election | 2012 Alavus municipal election <eligible voters> 9699 | - |
female population | P1539 | Quantity | number of female people inhabiting the place; number of female people of subject | 2012 Alavus municipal election <eligible voters> 9699 <female population> 4836 | - |
Municipality
editIn the municipal election a municipality is the electoral district. In counting the votes, the electoral districts (constituencies) are used for some reason.
To be checked and updated
- Number of Finnish municipalities checked (311) Done
- Each one has a valid municipality code Done
- Municipality code. Source https://www.tilastokeskus.fi/meta/luokitukset/kunta/001-2017/index.html. Changes in 2017: https://www.tilastokeskus.fi/meta/luokitukset/kunta/001-2017/kuvaus.html
- Name of the municipality in Finnish and in Swedish. Source http://www.kunnat.net/fi/tietopankit/tilastot/aluejaot/Documents/Alueluokat%20ja%20kuntanumerot%202017.xlsx Done
- Wikidata links in OSM to be able to produce maps Done
- Link to council (or link from council) Done From council
- (Official language) Source: Done
- Electorate will be published 20 February 2017
- Update descriptions and regions Done
Note: Each municipality is EITHER municipality of Finland (Q856076) OR a former municipality of Finland (Q17468533). Start dates and end dates are marked in the same way in both. If the former municipality was formed in 1865, then that is the start date of the former municipality.
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
native label | P1705 | Monolingual text | native label: label for the items in their official language (P37) or their original language (P364) | Moscow <native label> Москва | - |
official language | P37 | Item | official language: language designated as official by this item | Hawaii <official language> Hawaiian and English | - |
Finnish municipality number | P1203 | External identifier | identifier for a municipality in Finland | Vaasa <Finnish municipality number> 905 | - |
electorate | P1831 | Quantity | voter file and electoral body: number of persons qualified to vote during elections | San Remigio <electorate> 34,079 | - |
part of | P361 | Item | part: object of which the subject is a part (if this subject is already part of object A which is a part of object B, then please only make the subject part of object A), inverse property of "has part" (P527, see also "has parts of the class" (P2670)) | Helsinki <part of> Helsinki | has part(s) |
Parliamentary constituencies
editTitle | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
instance of | P31 | Item | instance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform) | Helsinki <instance of> electoral district of Finland | - |
name | P2561 | Monolingual text | name, full name and musical group name: name the subject is known by. If a more specific property is available, use that | Helsinki <name> Helsingin vaalipiiri | - |
Constituencies list for parliamentary elections (Only for counting votes) In the municipal elections, a municipality is the constituency
edit2012 | 2013 | 2015 | |||
SS | Koko maa | SS | Koko maa | ||
01 | Helsingin vaalipiiri | 01 | Helsingin vaalipiiri | 01 | Helsingin vaalipiiri |
02 | Uudenmaan vaalipiiri | 02 | Uudenmaan vaalipiiri | 02 | Uudenmaan vaalipiiri |
03 | Varsinais-Suomen vaalipiiri | 03 | Varsinais-Suomen vaalipiiri | 03 | Varsinais-Suomen vaalipiiri |
04 | Satakunnan vaalipiiri | 04 | Satakunnan vaalipiiri | 04 | Satakunnan vaalipiiri |
06 | Hämeen vaalipiiri | 06 | Hämeen vaalipiiri | 06 | Hämeen vaalipiiri |
07 | Pirkanmaan vaalipiiri | 07 | Pirkanmaan vaalipiiri | 07 | Pirkanmaan vaalipiiri |
08 | Kymen vaalipiiri | 08 | Kymen vaalipiiri | 08 | Kaakkois-Suomen vaalipiiri |
09 | Etelä-Savon vaalipiiri | 09 | Etelä-Savon vaalipiiri | ||
10 | Pohjois-Savon vaalipiiri | 10 | Pohjois-Savon vaalipiiri | 09 | Savo-Karjalan vaalipiiri |
11 | Pohjois-Karjalan vaalipiiri | 11 | Pohjois-Karjalan vaalipiiri | ||
12 | Vaasan vaalipiiri | 12 | Vaasan vaalipiiri | 10 | Vaasan vaalipiiri |
13 | Keski-Suomen vaalipiiri | 13 | Keski-Suomen vaalipiiri | 11 | Keski-Suomen vaalipiiri |
14 | Oulun vaalipiiri | 14 | Oulun vaalipiiri | 12 | Oulun vaalipiiri |
15 | Lapin vaalipiiri | 15 | Lapin vaalipiiri | 13 | Lapin vaalipiiri |
05 | Ahvenanmaan vaalipiiri | 05 | Ahvenanmaan vaalipiiri | 05 | Ahvenanmaan maakunnan vaalipiiri |
Constituencies with historical changes from 1997:
https://www.tilastokeskus.fi/meta/luokitukset/vaalipiiri/001-2017/index.html
To do
- Create items for all constituencies Done
- (Add name and ID changes) IN PROGRESS
- Link municipalities to the respective constituencies Done
- Add historical municipalities and their data (as of 2012)
Municipal council (kunnanvaltuusto)
editTitle | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
instance of | P31 | Item | instance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform) | Helsinki City Council <instance of> municipal council in Finland | - |
applies to jurisdiction | P1001 | Item | jurisdiction and jurisdiction: the item (institution, law, public office, public register...) or statement belongs to or has power over or applies to the value (a territorial jurisdiction: a country, state, municipality, ...) | Helsinki City Council <applies to jurisdiction> Helsinki | - |
number of seats | P1342 | Quantity | total number of seats/members in an assembly (legislative house or similar) | Helsinki City Council <number of seats> 12345 | - |
start time | P580 | Point in time | start time: time an entity begins to exist or a statement starts being valid | Helsinki City Council <number of seats> 12345 <start time> 2012 | - |
To be checked and updated
- Create an item for each municipal council Done
- (Create an item for a member of each municipal council)
- Find the names of each council, if they don't follow a pattern Done with a pattern
- Add the size of the council. Source: The size of kunnanvaltuusto in both 2012 and 2017 and how it is based on the number of inhabitants. Done
- Added values for 2012 and 2017 with qualifier start date. Only 2012 added if no change in 2017. (Was a technical limitation, can add 2017 values if needed.)
- Some 2012 municipalities missing
Write articles, update Wikidata items
- Article about municipal council in Finnish and in Swedish
- Wikidata item about kunnanhallitus Suomessa (Class, translation, properties, linking
- Confusing item: municipal council in Finland (Q191893) subclass of (P279) municipal council (Q701632). What is city council (Q3154693). Or is municipal council (Q701632) redundant and should be replaced with city council (Q3154693)? Hallitus / valtuusto > tarkistettava suomennokset ja linkitykset!
Party / Valitsijayhdistys / Yhteislista
editTitle | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
instance of | P31 | Item | instance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform) | Pirate Party <instance of> political party | - |
instance of | P31 | Item | instance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform) | <instance of> constituency association | - |
instance of | P31 | Item | instance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform) | <instance of> joint list or constituency association | - |
member count | P2124 | Quantity | number of entities that are part of an organization at a particular time | Pirate Party <member count> 12345 | - |
logo image | P154 | Commons media file | logo: graphic mark or emblem commonly used by commercial enterprises, organizations and products | Pirate Party <logo image> | - |
sRGB color hex triplet | P465 | String | sRGB: sRGB hex triplet format for subject color (e.g. 7FFFD4) specifying the 8-bit red, green and blue components | Pirate Party <sRGB color hex triplet> | - |
Vaaliliitto
editTo do
- Create items for alliances (local o
r national?)
Candidate
editProperties for the person
editTitle | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
instance of | P31 | Item | instance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform) | Joonas Mäkinen <instance of> human | - |
residence | P551 | Item | residence, domicile and hometown: the place where the person is or has been, resident | Joonas Mäkinen <residence> Joonas | - |
given name | P735 | Item | given name: first name or another given name of this person; values used with the property should not link disambiguations nor family names | Joonas Mäkinen <given name> Joonas | - |
family name | P734 | Item | family name: part of full name of person | Joonas Mäkinen <family name> Mäkinen | - |
sex or gender | P21 | Item | sex of humans, biological sex, gender and sex or gender: sex or gender identity of human or animal. For human: male, female, non-binary, intersex, transgender female, transgender male, agender, etc. For animal: male organism, female organism. Groups of same gender use subclass of (P279) | Joonas Mäkinen <sex or gender> male | - |
occupation | P106 | Item | occupation, by occupation or profession and profession: occupation of a person; see also "field of work" (Property:P101), "position held" (Property:P39) | Joonas Mäkinen <occupation> musician | - |
occupation | P106 | Item | occupation, by occupation or profession and profession: occupation of a person; see also "field of work" (Property:P101), "position held" (Property:P39) | Joonas Mäkinen <occupation> teacher | - |
position held | P39 | Item | mandate, position, political coalition, by position held, public office, historical position and job activity: subject currently or formerly holds the object position or public office | Joonas Mäkinen <position held> municipal councillor in Finland | officeholder |
elected in | P2715 | Item | by election: election in which a person gained a position (as qualifier), or a position or legislative term is/was elected (as main value) | Joonas Mäkinen <position held> municipal councillor in Finland <elected in> 2012 Finnish municipal elections | - |
member of political party | P102 | Item | political party and member of political party: the political party of which a person is or has been a member or otherwise affiliated | Joonas Mäkinen <member of political party> | - |
candidacy in election | P3602 | Item | candidate and political candidate: the elections | Joonas Mäkinen <candidacy in election> 2012 Finnish municipal elections | candidate |
Qualifiers for the candidacy (P3602)
editTitle | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
electoral district | P768 | Item | electoral unit: Kuntavaaleissa vaalipiiri on kunta | Joonas Mäkinen <electoral district> Hämeenlinna | - |
represents | P1268 | Item | organization, member of a group and represents: party, association or a coalition | Joonas Mäkinen <represents> Green League | represented by |
votes received | P1111 | Quantity | number of ballots cast: qualifier stating the number of votes for a candidate in an election | Joonas Mäkinen <votes received> 50 | - |
electoral district (P768) ⟨ Helsinki (Q1757) ⟩
represents (P1268) ⟨ Pirate Party (Q1459085) ⟩
votes received (P1111) ⟨ 50 ⟩
candidate number (P4243) ⟨ 147 ⟩
age of subject at event (P3629) ⟨ 24 ⟩
Options for the property for the candidate number
- series ordinal (P1545)
catalog code (P528) (should really have the corresponding list as a qualifier, but in this case cannot be expressed)Currently using P1545.- Proposed candidate number
Sample data
editOriginal property | Original value | ||
---|---|---|---|
henkilön-etunimi | "Riku" | person > given name (P735) | Riku (Q7334111) |
sukupuoli | "1" | person > sex or gender (P21) | male (Q6581097) |
vaalipiirinumero | "01" | candidate > electoral district (P768) | TABLE |
vaalilaji | "K" | elections > instance of (P31) | municipal elections in Finland (Q15154951) |
listapuoluenumero | "01" | candidate > represents (P1268) | association |
kuntanumero | "091" | candidate > office contested (P541) | Helsinki City Council (Q4117101) |
vakiopuoluenumero | "06" | candidate > represents (P1268) | party |
alueen-nimi-sv | "Kronohagen A" | - | |
vaalipiirin-tunnus-sv | "HEL" | - | |
vaaliliittonumero | "01" | candidate > represents (P1268) | alliance |
puolue-nimilyhenne-sv | "VÄNST" | - | |
tietuetyyppi | "A" | ? | |
europarlamentaarikko | nil | person > position held (P39) | Member of the European Parliament (Q27169) + date |
vaalipiirin-tunnus-fi | "HEL" | - | |
ehdokasnumero | "0002" | candidate > candidate number (P4243) | 2 |
ammatti | "valtiotieteiden kandidaatti, asiakasneuvoja" | person > occupation (P106) | |
kunnanvaltuutettu | nil | person > position held (P39) | municipal councillor in Finland (Q18694248) + event date |
maakuntavaltuutettu | nil | person > position held (P39) | maakuntavaltuutettu TBC + event date |
henkilön-sukunimi | "Ahola" | person > family name (P734) | Ahola (Q16147765) |
äänestysaluetunnus | "001A" | candidate > subdistrict | |
kotikunta-fi | "Helsinki" | - | |
ikä-vaalipäivänä | "031" | person > event > age of subject at event (P3629) | 31 |
kansanedustaja | nil | person > position held (P39) + date | member of the Parliament of Finland (Q17592486) |
kotikunnan-koodi | "091" | person > residence (P551) | Helsinki (Q1757) + event date |
alueen-nimi-fi | "Kruununhaka A" | - | |
puolue-nimilyhenne-fi | "VAS" | - | |
kotikunta-sv | "Helsingfors" | - |
Challenges with importing a list of people
editLegal issues
edit- Copyright. Same data is available also from Statistics Finland, their licence requires attribution. Election data however is generally public and it is distributed by newspapers and mainstream media. Either the data is released under CC0 or the sections of data used from that database are not subject to copyright.
- Privacy issues. In 2012 municipal elections there were 37125 candidates, 9674 of whom were elected to council. Whether or not this public data is challenging privacy needs to be evaluated.
- Also, information collected to Wikidata can be seen as a person register. Person registers are controlled by henkilörekisterilaki in Finland which states that it is forbidden to store information about a person's political beliefs in a person register without consent. However, it is understood that if one volunteered as a candidate, they have published that information to general public.
Wikidata notability of the imported data
editThe notability has been discussed in a couple of threads in the Wikidata Project chat:
In Wikimedia context there is Resolution:Biographies of living people. In Wikidata there is Wikidata:Living people (proposal), but not any clear policies regarding the privacy issues.
Technical challenges
editBiggest challenge is to detect which persons are already in Wikidata. If there is false positives then there is too wrong data in the persons article. If there is false negative then there is duplicate wikidata items.
Import plan
editIf it is ok for the community plan this:
- import councilmembers (Sample Heli Piirainen (Q28777227)), because they are in public role and thus safe. Deadline is more or less the friday because the Hackathon at Yle 17. February 2017.
- Trying to avoid false positives when data is matched to existing wikidata items. Primary method is just skip that person when data is uploaded and check that person later by hand.
- However there will be still some duplicate items with the persons who are already in Wikidata but code checks that they are different person. In example if person have changed their name. Again manual checking is needed for these.