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

From Wikidata
Jump to navigation Jump to search

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
Democratic Republic of the Congo Ilunga Ilunkamba Sylvestre Prime Minister of the Democratic Republic of the Congo Judith Tuluka Suminwa Judith Tuluka Suminwa
Iran Masoud Pezeshkian President of Iran Masoud Pezeshkian Mohammad Mokhber
Tanzania Samia Hassan Suluhu President of Tanzania John Magufuli Samia Hassan Suluhu
Myanmar Min Aung Hlaing State Counsellor of Myanmar
State Administration Council
Aung San Suu Kyi Zaw Min Tun
Mya Tun Oo
Tin Aung San
Moe Aung
Aung Lin Dwe
Sudan Abdalla Hamdok Prime Minister of Sudan Bakri Hassan Saleh Osman Hussein Osman
Saudi Arabia Salman bin Abdulaziz Al Saud Prime Minister of Saudi Arabia Mohammed bin Salman Mohammed bin Salman
Nepal Pushpa Kamal Dahal Prime Minister of Nepal Khadga Prasad Sharma Oli Khadga Prasad Sharma Oli
Yemen Maeen Abdulmalik Saeed Prime Minister of Yemen Ahmad Awad Bin Mubarak Abdel-Aziz bin Habtour
Ahmad Awad Bin Mubarak
Maeen Abdulmalik Saeed
North Korea Kim Jae-ryong 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
Niger declared deserted Prime Minister of Niger Ali Lamine Zeine
Kazakhstan Älihan Smaiylov Prime Minister of Kazakhstan Oljas Bektenov Oljas Bektenov
Kingdom of the Netherlands Mark Rutte Prime Minister of the Netherlands Dick Schoof Dick Schoof
Zambia Edgar Lungu President of Zambia Hakainde Hichilema Hakainde Hichilema
Senegal Bassirou Diomaye Diakhar Faye President of Senegal Macky Sall Bassirou Diomaye Diakhar Faye
Chad Idriss Déby President of Chad Mahamat Déby Itno
Tunisia Ahmed Hachani Prime Minister of Tunisia Hichem Mechichi
Youssef Chahed
Elyes Fakhfakh
Najla Bouden
Kamel Madouri
Somalia Mohamed Hussein Roble Prime Minister of Somalia Hamza Abdi Barre Hamza Abdi Barre
Haiti Claude Joseph Prime Minister of Haiti Garry Conille
Portugal António Costa Prime Minister of Portugal Luís Montenegro Luís Montenegro
Switzerland Swiss Federal Council President of the Swiss Confederation Viola Amherd Viola Amherd
Serbia Miloš Vučević Prime Minister of Serbia Ana Brnabić Miloš Vučević
Bulgaria Nikolay Denkov Prime Minister of Bulgaria Dimitar Glavchev Dimitar Glavchev
Laos Phankham Viphavan Prime Minister of Laos Phankham Viphavan Sonexay Siphandone
Libya Abdulhamid Dbeibeh Prime Minister of Libya Abdulhamid Dbeibeh Fathi Bashagha
Republic of the Congo Clément Mouamba Prime Minister of the Republic of the Congo Anatole Collinet Makosso Anatole Collinet Makosso
State of Palestine Mohammad Shtayyeh Prime Minister of the State of Palestine Mohammad Shtayyeh Mohammad Mustafa
Liberia George Weah President of Liberia George Weah Joseph Boakai
Ireland Leo Varadkar Taoiseach Simon Harris Simon Harris
Central African Republic Firmin Ngrébada Prime Minister of the Central African Republic Félix Moloua Félix Moloua
Mauritania Mohamed Ould Bilal Prime Minister of Mauritania Moctar Ould Diay Mohamed Ould Bilal
Kuwait Sabah Al-Khalid Al-Sabah Prime Minister of Kuwait Ahmad Al Abdullah Al Sabah Ahmad Al Abdullah Al Sabah
Panama José Raúl Mulino President of Panama José Raúl Mulino Laurentino Cortizo
Georgia Irakli Kobakhidze Prime Minister of Georgia Irakli Kobakhidze Irakli Garibashvili
Guinea-Bissau Nuno Nabiam Prime Minister of Guinea-Bissau Rui Duarte de Barros Rui Duarte de Barros
Estonia Kaja Kallas Prime Minister of Estonia Kristen Michal Kristen Michal
Equatorial Guinea Manuela Roka Prime Minister of Equatorial Guinea Manuel Osa Nsue Nsua Manuel Osa Nsue Nsua
Manuela Roka
Bhutan Lotay Tshering Prime Minister of Bhutan Tshering Tobgay
Luxembourg Xavier Bettel Prime Minister of Luxembourg Luc Frieden Luc Frieden
The Bahamas Hubert Minnis Prime Minister of the Bahamas Philip "Brave" Davis Philip "Brave" Davis
Vanuatu Bob Loughman Prime Minister of Vanuatu Charlot Salwai
Samoa Tuila'epa Sa'ilele Malielegaoi Prime Minister of Samoa Fiamē Naomi Mataʻafa Fiamē Naomi Mataʻafa
Saint Lucia Allen Chastanet Prime Minister of Saint Lucia Philip Pierre Philip Pierre
Grenada Keith Mitchell Prime Minister of Grenada Dickon Mitchell Dickon Mitchell
Tonga Pohiva Tuʻiʻonetoa Prime Minister of Tonga Hu'akavameiliku Hu'akavameiliku
Marshall Islands Hilda C. Heine President of the Marshall Islands David Kabua
Hilda C. Heine
David Kabua
Monaco Didier Guillaume Minister of State of Monaco Pierre Dartout Didier Guillaume
Nauru Russ J Kun President of Nauru David Adeang David Adeang
Tuvalu Feleti Teo Prime Minister of Tuvalu Feleti Teo Kausea Natano
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!