Jump to content

Wikidata:WikiProject Heads of state and government/Contrast Report:Head of Government/problems

From Wikidata

Head of Government Problem report: This list shows inconsistencies in how the Head of Government has been entered for a country. It is a version of the Head of Government Contrast Report with only obviously inconsistent data shown.

To use this report:

  • Check that a value exists in each column, and is the same across all three. If not, you will need to correct the data in the relevant place:
    • If the value for On Country is wrong, edit this on the country item (you can navigate there by clicking the link in the “Country” column).
    • If the value for On Office is wrong, edit this on the item for the office (you can navigate there by clicking the link in the "Office" column).
    • If the value for On Person is wrong, update the “position held” statements on the item for that person directly. Note: if the person was previously the head of government but is not any more, ensure they have their dates of service: both a start and an end time qualifier


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 ?head ?office ?officeholder ?person WHERE { ?item wdt:P31 wd:Q3624078 ; wdt:P1313 ?office . FILTER NOT EXISTS { ?office wdt:P576 ?end_date } . FILTER (?item != wd:Q238) OPTIONAL { ?person p:P39 ?posn ; wdt:P31 wd:Q5 . ?posn ps:P39 ?office ; pq:P580 ?start_date . FILTER (?start_date < NOW()) . OPTIONAL { ?posn pq:P582 ?end_date } FILTER ( !bound(?end_date)
Country On Country Office On Office On Person
Bangladesh Muhammad Yunus Prime Minister of Bangladesh Tarique Rahman Tarique Rahman
Ethiopia Abiy Ahmed Prime Minister of Ethiopia Abiy Ahmed Tesfaye Dinka
Democratic Republic of the Congo Ilunga Ilunkamba Sylvestre Prime Minister of the Democratic Republic of the Congo Judith Suminwa Judith Suminwa
Vietnam Phạm Minh Chính Prime Minister of Vietnam Phạm Minh Chính Lê Minh Hưng
Thailand Paetongtarn Shinawatra Prime Minister of Thailand Anutin Charnvirakul Anutin Charnvirakul
Tanzania Samia Suluhu Hassan President of Tanzania John Magufuli Samia Suluhu Hassan
Myanmar Min Aung Hlaing State Counsellor of Myanmar
State Administration Council
Aung San Suu Kyi Mya Tun Oo
Maung Maung Aye
Moe Aung
Tin Aung San
Sudan Abdalla Hamdok Prime Minister of Sudan Bakri Hassan Saleh Kamil Idris
Osman Hussein
Saudi Arabia Salman bin Abdulaziz Al Saud Prime Minister of Saudi Arabia Mohammed bin Salman Al Saud Mohammed bin Salman Al Saud
Ghana Nana Akufo-Addo President of Ghana Nana Akufo-Addo John Mahama
Madagascar Ruphin Zafisambo Prime Minister of Madagascar Herintsalama Rajaonarivelo Herintsalama Rajaonarivelo
Nepal Pushpa Kamal Dahal Prime Minister of Nepal Balendra Shah Balendra Shah
Yemen Salem Saleh bin Braik Prime Minister of Yemen Shaea al-Zindani Shaea al-Zindani
North Korea Pak Thae-song Premier of North Korea Kim Tok-hun Kim Tok-hun
Taiwan Cho Jung-tai Premier of the Republic of China Cho Jung-tai Chen Chien-jen
Burkina Faso Apollinaire Joachim Kyélem de Tambèla Prime Minister of Burkina Faso Apollinaire Joachim Kyélem de Tambèla Jean Emmanuel Ouédraogo
Sri Lanka Harini Amarasuriya President of Sri Lanka Anura Kumara Dissanayake Anura Kumara Dissanayake
Mali Choguel Kokalla Maïga Prime Minister of Mali Abdoulaye Maïga Abdoulaye Maïga
Kazakhstan Älihan Smaiylov Prime Minister of Kazakhstan Oljas Bektenov Oljas Bektenov
Zambia Edgar Lungu President of Zambia Hakainde Hichilema Hakainde Hichilema
Chad Idriss Déby President of Chad Mahamat Déby
Malawi Lazarus Chakwera President of Malawi Peter Mutharika Peter Mutharika
Senegal Bassirou Diomaye Faye President of Senegal Macky Sall Bassirou Diomaye Faye
Tunisia Sarra Zaafrani Prime Minister of Tunisia Kamel Madouri Sarra Zaafrani
Somalia Mohamed Hussein Roble Prime Minister of Somalia Hamza Abdi Barre Hamza Abdi Barre
Switzerland Swiss Federal Council President of the Swiss Confederation Guy Parmelin Guy Parmelin
Togo Faure Essozimna Gnassingbé President of the Council of Ministers of Togo Victoire Dogbé Tomegah Faure Essozimna Gnassingbé
Libya Abd al-Hamid Dbeibeh Prime Minister of Libya Abd al-Hamid Dbeibeh Fathi Bashagha
Kyrgyzstan Adylbek Kasymaliev
Ulukbek Maripov
Artyom Novikov
Kubatbek Boronov
Muhammetkaliy Abulgaziyev
Sapar Isakov
Sadyr Japarov
Sooronbay Jeenbekov
Akylbek Japarov
Prime Minister of Kyrgyzstan Adylbek Kasymaliev Akylbek Japarov
Bulgaria Rosen Zhelyazkov Prime Minister of Bulgaria Andrey Gyurov Andrey Gyurov
Lebanon Nawaf Salam Prime Minister of Lebanon Mohamed Agha Nawaf Salam
Nicaragua Daniel Ortega President of Nicaragua Rosario Murillo
Daniel Ortega
Daniel Ortega
Rosario Murillo
Kuwait Sabah Al-Khalid Al-Sabah Prime Minister of Kuwait Ahmad Al Abdullah Al Sabah Ahmad Al Abdullah Al Sabah
Namibia Elijah Ngurare Prime Minister of the Republic of Namibia Saara Kuugongelwa Elijah Ngurare
Equatorial Guinea Manuel Osa Nsue Nsua Prime Minister of Equatorial Guinea Manuel Osa Nsue Nsua Manuela Roka
Trinidad and Tobago Kamla Persad-Bissessar Prime Minister of Trinidad and Tobago Keith Rowley Kamla Persad-Bissessar
Djibouti Dileita Mohamed Dileita Prime Minister of Djibouti Abdoulkader Kamil Mohamed Abdoulkader Kamil Mohamed
Vanuatu Bob Loughman Prime Minister of Vanuatu Charlot Salwai
São Tomé and Príncipe Américo Ramos Prime Minister of São Tomé and Príncipe Américo Ramos Patrice Trovoada
Samoa Fiamē Naomi Mataʻafa
Tuilaʻepa Saʻilele Malielegaoi
Prime Minister of Samoa Fiamē Naomi Mataʻafa Laʻauli Leuatea Schmidt
Seychelles Patrick Herminie President of Seychelles Wavel Ramkalawan Patrick Herminie
Wavel Ramkalawan
Saint Vincent and the Grenadines Godwin Friday Prime Minister of Saint Vincent and the Grenadines Ralph Gonsalves Ralph Gonsalves
Monaco Philippe Mettoux Minister of State of Monaco Isabelle Berro-Amadeï
Tuvalu Feleti Teo Prime Minister of Tuvalu Feleti Teo Kausea Natano
Vatican City Raffaella Petrini President of the Pontifical Commission for the Vatican City State Fernando Vérgez Alzaga Raffaella Petrini
End of automatically generated list.

---

The underlying query behind this report is:

SELECT DISTINCT ?country ?countryLabel ?head ?headLabel ?office ?officeLabel ?officeholder ?officeholderLabel ?person ?personLabel   
WHERE {      
  ?country wdt:P31 wd:Q3624078 ; # find all countries
           wdt:P1313 ?office . # and the office held by head of government
  FILTER NOT EXISTS { ?office wdt:P576 ?end_date } . # (non-dissolved)
  FILTER (?country != wd:Q238) # ignoring San-Marino's co-heads

  OPTIONAL {
    ?person p:P39 ?posn ; wdt:P31 wd:Q5 .  # find all humans with a position
    ?posn ps:P39 ?office ;                 # of that office
          pq:P580 ?start_date .            # where the position statement has a start date
          FILTER (?start_date < NOW()) .   #   but not in the future

    OPTIONAL { ?posn pq:P582 ?end_date }  
    FILTER ( !bound(?end_date) || isBLANK(?end_date) ) . # but with no end date
  }
                                                                                          
  OPTIONAL { ?country wdt:P6 ?head }  # and compare with the Head of Government on the country
  OPTIONAL { ?office wdt:P1308 ?officeholder } # and the holder of the HoG office
  OPTIONAL { ?country wdt:P1082 ?population }
  
  FILTER ((?officeholder != ?head) || (?head != ?person) )
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
ORDER BY DESC(?population)
Try it!