Wikidata:WikiProject Bulgaria/Elections
Elections in Bulgaria
[edit]This page describes the data regarding elections in Bulgaria (Q219)
This is work in progress and for now we will only cover prliamentary elections
Useful links:
- Wikidata:WikiProject_elections
- party mappings to election cycles gsheet
- party wikidata mapping and grouping gsheet
Data Model
[edit]This describes the data mode.
Election cycles
[edit]Describe how Bulgarian parliamentary elections are modeled.
Instance Of (P31)
[edit]Country (P17)
[edit]Follows (P155)
[edit]Followed By (P156)
[edit]Point In Time (P585)
[edit]
Query for all parliamentary elections in Bulgaria ordered by point in time:
select ?x ?xLabel ?pointInTime {
?x wdt:P31 wd:Q22275982 ;
wdt:P585 ?pointInTime .
SERVICE wikibase:label { bd:serviceParam wikibase:language "bg,en". }
}
ORDER BY ?pointInTime
Parties and coalitions
[edit]Describe how parties and coalitions are modeled.
There are two types of instances: political coalition and political party. Use PP–DB (Q116769868) for an example:
Political Coalition
[edit]Instance Of (P31)
[edit]Inception (P571)
[edit]Chairperson (P488)
[edit]Country (P17)
[edit]Official Website (P856)
[edit]Has Part(s) (P527)
[edit]Political Party
[edit]Instance Of (P31)
[edit]Inception (P571)
[edit]Country (P17)
[edit]Official Website (P856)
[edit]
Query for all parties and coalitions in Bulgaria:
SELECT ?x ?xLabel {
{
?x wdt:P31 wd:Q43791339 .
}
UNION
{
?x wdt:P31 wd:Q6138528 .
?x wdt:P17 wd:Q219 .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "bg,en". }
}
Participation in an election
[edit]Describe candidacy in election statement with the Statement + template
candidacy in election |
| ||||||||||||||||
add value |
Parliamentary election results
[edit]Query to display results by party for parliamentary elections
This list is periodically updated by a bot. Manual changes to the list will be removed on the next update!
WDQS | PetScan | TABernacle | Find images | Recent changes | Query:SELECT ?item ?itemLabel ?candidateNumber ?politicalPartyLabel ?votesReceived ?numberOfSeatsInAssembly WHERE { ?item wdt:P31 wd:Q22275982 . ?politicalParty wdt:P31 wd:Q7278 ; p:P3602 ?statementNode . ?statementNode ps:P3602 ?item ; pq:P4243 ?candidateNumber ; pq:P1111 ?votesReceived ; pq:P1410 ?numberOfSeatsInAssembly . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
This list is periodically updated by a bot. Manual changes to the list will be removed on the next update!
WDQS | PetScan | TABernacle | Find images | Recent changes | Query:SELECT ?item ?wiki_link ?date WHERE { ?item wdt:P31 wd:Q22275982 . ?item wdt:P585 ?date . ?wiki schema:about ?item ; schema:isPartOf <https://bg.wikipedia.org/>; schema:name ?wiki_name . bind(concat("[",str(?wiki)," ",?wiki_name,"]") as ?wiki_link) }
парламентарни избори в България
[edit]Discussion
[edit]Discussion number of seats in assembly (P1410) as allowed qualifier on candidacy in election (P3602)