Wikidata:WikiProject every politician/Report:Executive Bodies
Jump to navigation
Jump to search
Try it!
This is a list of the executive body (P208) and cabinet (Q640506) of each country. It can be used to help identify where Wikidata has gaps in the information for an individual country, or as a list in the case that the information is complete.
To fill in blanks:
[edit]- On the item for the country (e.g. Spain (Q29))
- Ensure that a executive body (P208) statement points at the item for the executive branch
- On the item for the Cabinet or Council of Ministers for the country (e.g. Council of Ministers of Spain (Q3058576)), ensure that the following two properties are set:
- subclass of (P279): cabinet (Q640506)
- applies to jurisdiction (P1001): [the country]
(NB: In most countries, the executive body and the cabinet will have separate items, however this will not always necessarily be so. Executive (government) and Cabinet (government) provide more information about the distinction between the two.)
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 ?cabinet { ?item p:P463 ?ms . ?ms ps:P463 wd:Q1065 . FILTER NOT EXISTS { ?ms pq:P582 [] } OPTIONAL { ?cabinet wdt:P1001 ?item ; wdt:P279* wd:Q640506 . hint:Prior hint:gearing "forward". } }
End of automatically generated list.
The underlying query that generates this report is:
SELECT DISTINCT ?item ?itemLabel ?executive ?executiveLabel ?cabinet ?cabinetLabel
WHERE {
?item wdt:P31 wd:Q6256 .
OPTIONAL { ?item wdt:P208 ?executive }
OPTIONAL { ?cabinet wdt:P279* wd:Q640506 ; wdt:P1001 ?item }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
ORDER BY ?itemLabel