Wikidata:EveryPolitician/Report:National Legislatures

From Wikidata
Jump to navigation Jump to search

This is a list of every country in Wikidata, with its national legislature(s)/houses [i.e. either the unicameral legislature, or each house of a bicameral one].

Any errors or omissions can be corrected by ensuring that the body is an instance of a subclass of either legislative house (Q10553309) or unicameralism (Q140247) and has its applies to jurisdiction (P1001) set to the relevant country.

  • In the case of a unicameral legislature, please make sure the above instructions apply to the legislature.
  • In the case of a bicameral legislature, please ensure that the instructions above are applied to each individual house.

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 ?item (GROUP_CONCAT( DISTINCT CONCAT("[[d:Special:EntityPage/",STRAFTER(STR(?LEGISLATURE),"Y/"),"|",STRAFTER(STR(?LEGISLATURE),"Y/"),"]]"); separator=", ") as ?houses) WHERE { { SELECT DISTINCT ?item ?itemLabel ?legislature ?legislatureLabel ?isa ?isaLabel WHERE { ?item wdt:P31 wd:Q3624078 . OPTIONAL { VALUES ?type { wd:Q10553309 wd:Q37002670 } ?legislature wdt:P31/wdt:P279* ?type ; wdt:P1001 ?item ; wdt:P31 ?isa . FILTER NOT EXISTS { ?legislature wdt:P576 [] } . } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?itemLabel ?isaLabel } } GROUP BY ?item
Country Legislature(s)
Afghanistan
Albania
Algeria
Andorra
Angola
Antigua and Barbuda
Argentina
Armenia
Australia
Austria
Azerbaijan
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Brazil
Brunei
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Central African Republic
Ceylon
Chad
Chile
Colombia
Comoros
Costa Rica
Croatia
Cuba
Cyprus
Czech Republic
Democratic Republic of the Congo
Djibouti
Dominica
Dominican Republic
East Timor
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Eswatini
Ethiopia
Federated States of Micronesia
Fiji
Finland
France
Gabon
Georgia
Germany
Ghana
Greece
Grenada
Guatemala
Guinea
Guinea-Bissau
Guyana
Haiti
Honduras
Hungary
Iceland
India
Indonesia
Iran
Iraq
Israel
Italy
Ivory Coast
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kingdom of Denmark
Kingdom of the Netherlands
Kiribati
Kuwait
Kyrgyzstan
Königreich Trinacria
Laos
Latvia
Lebanon
Lesotho
Liberia
Libya
Liechtenstein
Lithuania
Luxembourg
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Marshall Islands
Mauritania
Mauritius
Mexico
Moldova
Monaco
Mongolia
Montenegro
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
New Zealand
Nicaragua
Niger
Nigeria
North Korea
North Macedonia
Norway
Oman
Pakistan
Palau
Panama
Papua New Guinea
Paraguay
People's Republic of China
Peru
Philippines
Poland
Portugal
Qatar
Republic of Geneva
Republic of Ireland
Republic of the Congo
Romania
Russia
Rwanda
Saint Kitts and Nevis
Saint Lucia
Saint Vincent and the Grenadines
Samoa
San Marino
Saudi Arabia
Senegal
Serbia
Serendip
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Korea
South Sudan
Spain
Sri Lanka
State of Palestine
Sudan
Suriname
Sweden
Switzerland
Syria
São Tomé and Príncipe
Taiwan
Tajikistan
Tanzania
Thailand
The Bahamas
The Gambia
Togo
Tonga
Trinidad and Tobago
Tunisia
Turkey
Turkmenistan
Tuvalu
Uganda
Ukraine
United Arab Emirates
United Kingdom
United States of America
Unyasa
Uruguay
Uzbekistan
Vanuatu
Vatican City
Venezuela
Vietnam
Yemen
Zambia
Zimbabwe
annexation of the Free City of Frankfurt by Prussia
realm of the United Kingdom
End of automatically generated list.

The underlying query behind this report is:

SELECT DISTINCT ?country ?countryLabel ?legislature ?legislatureLabel
WHERE {
  ?country wdt:P31 wd:Q3624078 .
  OPTIONAL { 
    VALUES ?type { wd:Q10553309 wd:Q37002670 }
    ?legislature wdt:P31/wdt:P279* ?type ; wdt:P1001 ?country . 
    FILTER NOT EXISTS { ?legislature wdt:P576 [] } . # no end date
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY ?countryLabel ?legislatureLabel
Try it!