Wikidata:EveryPolitician/Report:National Legislatures/seat count
Jump to navigation
Jump to search
Try it!
This is a list of every national legislature (or houses in the case of bicameral legislatures), with its number of seats (P1342).
Any errors or omissions can be corrected by adding a number of seats (P1342) statement to the corresponding house and the correct number of sets for the current period.
Updating values which have changed[edit]
In many cases, the number of seats has changed over time (Example: UK House of Commons.). The table below displays only the current values. If the value has recently changed:
- add a new value to the existing statement and add a start time (P580) for when the new change came into effect.
- add a source which documents the change.
- make sure that the value which is currently correct is marked as preferred rank.
- add an end time (P582) to any old statements.
The same approach of adding start time (P580) and end time (P582) can also be used for adding historic data.
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 DISTINCT ?country ?item ?seats WHERE { ?country wdt:P31 wd:Q3624078 . OPTIONAL { VALUES ?type { wd:Q10553309 wd:Q37002670 } ?item wdt:P31/wdt:P279* ?type ; wdt:P1001 ?country . FILTER NOT EXISTS { ?item wdt:P576 [] } . # no end date OPTIONAL { ?item wdt:P1342 ?seats } } }
End of automatically generated list.
The underlying query behind this report is:
SELECT DISTINCT ?country ?countryLabel ?item ?itemLabel ?seats
WHERE {
?country wdt:P31 wd:Q3624078 .
OPTIONAL {
VALUES ?type { wd:Q10553309 wd:Q37002670 }
?item wdt:P31/wdt:P279* ?type ; wdt:P1001 ?country .
FILTER NOT EXISTS { ?item wdt:P576 [] } . # no end date
OPTIONAL { ?item wdt:P1342 ?seats }
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY ?countryLabel ?itemLabel