Wikidata:WikiProject Heads of state and government/Report:P39/Q13406463
Jump to navigation
Jump to search
Try it!
This report checks for people who hold a position held (P39) of a List Item of a head of government (Q2285706) rather than the position itself:
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 ?position ?jurisdiction ?shouldbe WHERE { ?item wdt:P31 wd:Q5 ; wdt:P39 ?position . ?position p:P31/ps:P31/wdt:P279* wd:Q13406463 ; wdt:P360 ?shouldbe . ?shouldbe wdt:P279 wd:Q2285706 ; wdt:P1001 ?jurisdiction . ?jurisdiction wdt:P31 wd:Q6256 . }
End of automatically generated list.
The underlying query that generates this report is:
SELECT DISTINCT ?item ?itemLabel ?position ?positionLabel ?jurisdiction ?jurisdictionLabel ?shouldbe ?shouldbeLabel
WHERE {
?item wdt:P31 wd:Q5 ; wdt:P39 ?position .
?position p:P31/ps:P31/wdt:P279* wd:Q13406463 ; wdt:P360 ?shouldbe .
?shouldbe wdt:P279 wd:Q2285706 ; wdt:P1001 ?jurisdiction .
?jurisdiction wdt:P31 wd:Q6256 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}