Wikidata:WikiProject Heads of state and government/Report:P1906
Jump to navigation
Jump to search
Try it!
Office held by head of state report This is a list of every country in Wikidata, with the office held by its Head of State.
Any errors or omissions can be corrected by adding or editing the office held by head of state (P1906) entry on the item for the country. This list will be refreshed daily (or you can trigger a manual update to see any changes you've made).
Warning: This table is generated automatically. Please make adjustments by editing statements on the relevant item page, not by editing the table below. |
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 ?office ?officeLabel WHERE { ?item wdt:P31 wd:Q3624078 . OPTIONAL { ?item wdt:P1906 ?office . } FILTER NOT EXISTS { ?item wdt:P31 wd:Q3024240 } FILTER NOT EXISTS { ?item wdt:P576 [] } SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . } } ORDER BY ?itemLabel
End of automatically generated list.
The underlying query behind this report is:
SELECT ?item ?itemLabel ?office ?officeLabel
WHERE {
?item wdt:P31 wd:Q3624078 .
OPTIONAL { ?item wdt:P1906 ?office . }
FILTER NOT EXISTS { ?item wdt:P31 wd:Q3024240 }
FILTER NOT EXISTS { ?item wdt:P576 [] }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
ORDER BY ?itemLabel