query-41cc0865ddd3260ff67d7bd777354886

rq turtle/ttl

| Query: Recent changes | Find images | TABernacle | PetScan | WDQS . Manual changes to the list will be removed on the next update! a botThis list is periodically updated by Manually update list Robert Mugabe Emmerson Mnangagwa President of Zimbabwa Zimbabwe Edgar Lungu Hakainde Hichilema President of Zambia Zambia Talal Aklan Maeen Abdulmalik SaeedAhmad Awad Bin MubarakAbdel-Aziz bin Habtour Prime Minister of Yemen Yemen Nguyễn Xuân Phúc Phạm Minh Chính Prime Minister of Vietnam Vietnam Hugo Chávez Nicolás Maduro President of Venezuela Venezuela Giuseppe Bertello Fernando Vérgez Alzaga President of the Pontifical Commission for the Vatican City State Vatican City Prime Minister of Vanuatu Vanuatu Shavkat Mirziyoyev Abdulla Nigmatovich Aripov Prime Minister of Uzbekistan Uzbekistan President of the United States United States of America Rishi Sunak Keir Starmer Prime Minister of the United Kingdom United Kingdom Maktoum bin Rashid Al Maktoum Mohammed bin Rashid Al Maktoum Prime Minister of the United Arab Emirates United Arab Emirates Olexy Honcharuk Denys Shmyhal Prime Minister of Ukraine Ukraine Ruhakana Rugunda Robinah Nabbanja Prime Minister of Uganda Uganda Enele Sopoaga Kausea NatanoFeleti Teo Prime Minister of Tuvalu Tuvalu Gurbanguly Berdimuhamedow Serdar Berdimuhamedow President of Turkmenistan Turkmenistan Abdullah Gül Recep Tayyip Erdoğan President of Turkey Turkey Ahmed Hachani Kamel Madouri Prime Minister of Tunisia Tunisia Kamla Persad-Bissessar Keith Rowley Prime Minister of Trinidad and Tobago Trinidad and Tobago Pohiva Tuʻiʻonetoa Hu'akavameiliku Prime Minister of Tonga Tonga Victoire Dogbé Tomegah Prime Minister Togo Yahya Jammeh Adama Barrow President of the Gambia The Gambia Hubert Minnis Philip "Brave" Davis Prime Minister of the Bahamas The Bahamas Srettha Thavisin Paetongtarn Shinawatra Prime Minister of Thailand Thailand John Magufuli Samia Hassan Suluhu President of Tanzania Tanzania Oqil Oqilov Kokhir Rasulzoda Prime Minister of Tajikistan Tajikistan Chen Chien-jenHope Su Cho Jung-taiChen Chien-jen Premier of the Republic of China Taiwan Jorge Bom Jesus Patrice Trovoada Prime Minister of São Tomé and Príncipe São Tomé and Príncipe Hussein Arnous Mohammad Ghazi al-Jalali Prime Minister of Syria Syria Alain Berset Viola Amherd President of the Swiss Confederation Switzerland Magdalena Andersson Ulf Kristersson Prime Minister of Sweden Sweden Desi Bouterse Chan Santokhi President of Suriname Suriname Osman Hussein Osman Prime Minister of Sudan Sudan Mohammad Shtayyeh Mohammad Mustafa Prime Minister of the State of Palestine State of Palestine Ranil Wickremesinghe Anura Kumara Dissanayake President of Sri Lanka Sri Lanka Mariano Rajoy Pedro Sánchez Prime Minister of Spain Spain Salva Kiir Mayardit President of South Sudan South Sudan Moon Jae-in Yoon Suk Yeol President of South Korea South Korea Jacob Zuma Cyril Ramaphosa President of South Africa South Africa Mohamed Hussein Roble Hamza Abdi Barre Prime Minister of Somalia Somalia Manasseh Sogavare Jeremiah Manele Prime Minister of the Solomon Islands Solomon Islands Janez Janša Robert Golob Prime Minister of Slovenia Slovenia Ľudovít Ódor Robert Fico Prime Minister of Slovakia Slovakia Lee Hsien Loong Lawrence Wong Prime Minister of Singapore Singapore Chief Minister of Sierra Leone Sierra Leone Wavel Ramkalawan President of Seychelles Seychelles Ivica Dačić Miloš Vučević Prime Minister of Serbia Serbia Macky Sall Bassirou Diomaye Diakhar Faye President of Senegal Senegal Salman bin Abdulaziz Al Saud Mohammed bin Salman Prime Minister of Saudi Arabia Saudi Arabia Captain Regent of San Marino San Marino Tuila'epa Sa'ilele Malielegaoi Fiamē Naomi Mataʻafa Prime Minister of Samoa Samoa Arnhim Eustace Ralph Gonsalves Prime Minister of Saint Vincent and the Grenadines Saint Vincent and the Grenadines Allen Chastanet Philip Pierre Prime Minister of Saint Lucia Saint Lucia Timothy Harris Terrance Drew Prime Minister of St Kitts and Nevis Saint Kitts and Nevis Anastase Murekezi Édouard Ngirente Prime Minister of Rwanda Rwanda Dmitry Medvedev Mikhail Mishustin Prime Minister of Russia Russia Nicolae Ciucă Marcel Ciolacu Prime Minister of Romania Romania Clément Mouamba Anatole Collinet Makosso Prime Minister of the Republic of the Congo Republic of the Congo Khalid bin Khalifa bin Abdul Aziz Al Thani Mohammed bin Abdulrahman Al Thani Prime Minister of Qatar Qatar António Costa Luís Montenegro Prime Minister of Portugal Portugal Mateusz Morawiecki Donald Tusk Prime Minister of Poland Poland Rodrigo Duterte Bongbong Marcos President of the Philippines Philippines Pedro Castillo Dina Boluarte President of Peru Peru Li Keqiang Li Qiang Premier of the People's Republic of China People's Republic of China Mario Abdo Benítez Santiago Peña Palacios President of Paraguay Paraguay Peter O'Neill James Marape Prime Minister of Papua New Guinea Papua New Guinea Juan Carlos Varela José Raúl MulinoLaurentino Cortizo President of Panama Panama Anwar ul Haq Kakar Shehbaz Sharif Prime Minister of Pakistan Pakistan Qaboos bin Said Al Said Haitham bin Tarik Al Said Sultan of Oman Oman Erna Solberg Jonas Gahr Støre Prime Minister of Norway Norway Talat Xhaferi Hristijan Mickoski Prime Minister of North Macedonia North Macedonia Kim Tok-hun Premier of North Korea North Korea Muhammadu Buhari Bola Tinubu President of Nigeria Nigeria Ali Lamine Zeine Prime Minister of Niger Niger Enrique Bolaños Daniel Ortega Revolucionario Nicaragüense Nicaragua Chris Hipkins Christopher Luxon Prime Minister of New Zealand New Zealand Khadga Prasad Sharma Oli Prime Minister of Nepal Nepal Russ J Kun David Adeang President of Nauru Nauru Hage Geingob Saara Kuugongelwa Prime Minister of the Republic of Namibia Namibia Zaw Min TunMya Tun OoMoe AungAung Lin DweTin Aung San State Counsellor of MyanmarState Administration Council Myanmar Carlos Agostinho do Rosário Adriano Maleiane Prime Minister of Mozambique Mozambique Saadeddine Othmani Aziz Akhannouch Prime Minister of Morocco Morocco Dritan Abazović Milojko Spajić Prime Minister of Montenegro Montenegro Khurelsukh Ukhnaa Oyunerdene Luvsannamsrai Prime Minister of Mongolia Mongolia Pierre Dartout Didier Guillaume Minister of State of Monaco Monaco Natalia Gavrilița Dorin Recean Prime Minister of Moldova Moldova Andrés Manuel López Obrador Claudia Sheinbaum President of Mexico Mexico Anerood Jugnauth Pravind Jugnauth Prime Minister of Mauritius Mauritius Mohamed Ould Bilal Prime Minister of Mauritania Mauritania Hilda C. Heine David Kabua President of the Marshall Islands Marshall Islands Joseph Muscat Robert Abela Prime Minister of Malta Malta Prime Minister of Mali Mali Mohamed Muizzu President of the Maldives Maldives Ismail Sabri Yaakob Anwar Ibrahim Prime Minister of Malaysia Malaysia Peter Mutharika Lazarus Chakwera President of Malawi Malawi Prime Minister of Madagascar Madagascar Xavier Bettel Luc Frieden Prime Minister of Luxembourg Luxembourg Saulius Skvernelis Ingrida Šimonytė Prime Minister of Lithuania Lithuania Prime Minister of Liechtenstein Liechtenstein Fayez al-SarrajAbdulhamid Dbeibeh Abdulhamid DbeibehFathi Bashagha Prime Minister of Libya Libya George Weah Joseph Boakai President of Liberia Liberia Moeketsi Majoro Sam Matekane Prime Minister of Lesotho Lesotho Hassan Diab Najib Mikati Prime Minister of Lebanon Lebanon Krišjānis Kariņš Evika Siliņa Prime Minister of Latvia Latvia Phankham Viphavan Sonexay Siphandone Prime Minister of Laos Laos Ulukbek Maripov Akylbek Japarov Prime Minister of Kyrgyzstan Kyrgyzstan Ahmad Al Abdullah Al Sabah Prime Minister of Kuwait Kuwait Anote Tong Taneti Maamau President of Kiribati Kiribati Mark Rutte Dick Schoof Prime Minister of the Netherlands Kingdom of the Netherlands Lars Løkke Rasmussen Mette Frederiksen Prime Minister of Denmark Kingdom of Denmark William Ruto President of Kenya Kenya Roman Sklyar Oljas Bektenov Prime Minister of Kazakhstan Kazakhstan Jafar A HassanBisher Al-Khasawneh Prime Minister of Jordan Jordan Fumio Kishida Shigeru Ishiba Prime Minister of Japan Japan Portia Simpson-Miller Andrew Holness Prime Minister of Jamaica Jamaica Patrick Achi Robert Beugré Mambé Prime Minister of Ivory Coast Ivory Coast Mario Draghi Giorgia Meloni Prime Minister of Italy Italy Yair Lapid Benjamin Netanyahu Prime Minister of Israel Israel Leo Varadkar Simon Harris Taoiseach Ireland Mustafa Al-Kadhimi Mohammed Shia' Al Sudani Prime Minister of Iraq Iraq Mohammad Mokhber Masoud Pezeshkian President of Iran Iran Joko WidodoSusilo Bambang Yudhoyono Prabowo SubiantoJoko Widodo President of Indonesia Indonesia Manmohan Singh Narendra Modi Prime Minister of India India Katrín Jakobsdóttir Bjarni Benediktsson Prime Minister of Iceland Iceland Gordon Bajnai Viktor Orbán Prime Minister of Hungary Hungary Juan Orlando Hernández Xiomara Castro President of Honduras Honduras Prime Minister of Haiti Haiti Moses Nagamootoo Mark Phillips Prime Minister of Guyana Guyana Rui Duarte de Barros Prime Minister of Guinea-Bissau Guinea-Bissau Bernard Goumou Amadou Bah Oury Prime Minister of Guinea Guinea Alejandro Giammattei Bernardo Arévalo de León President of the Republic of Guatemala Guatemala Keith Mitchell Dickon Mitchell Prime Minister of Grenada Grenada Ioannis Sarmas Kyriakos Mitsotakis Prime Minister of Greece Greece President of Ghana Ghana Angela Merkel Olaf Scholz Federal Chancellor of Germany Germany Irakli GaribashviliGiorgi Gakharia Irakli KobakhidzeIrakli Garibashvili Prime Minister of Georgia Georgia Alain Claude Bilie-By-Nze Raymond Ndong Sima Prime Minister of Gabon Gabon Gabriel Attal Michel Barnier Prime Minister of France France Sanna Marin Petteri Orpo Prime Minister of Finland Finland Frank Bainimarama Sitiveni Rabuka Prime Minister of Fiji Fiji David W. Panuelo Wesley Simina President of the Federated States of Micronesia Federated States of Micronesia Hailemariam Desalegn Abiy Ahmed Ali Prime Minister of Ethiopia Ethiopia Russell Dlamini Prime Minister of Eswatini Eswatini Kaja Kallas Kristen Michal Prime Minister of Estonia Estonia Isaías Fortis President of Eritrea Eritrea Francisco Pascual Obama Asue Manuel Osa Nsue NsuaManuela Roka Prime Minister of Equatorial Guinea Equatorial Guinea Salvador Sánchez Cerén Nayib Bukele President of El Salvador El Salvador Sherif Ismail Mostafa Madbouly Prime Minister of Egypt Egypt Guillermo Lasso Daniel Noboa President of Ecuador Ecuador Taur Matan Ruak Xanana Gusmão Prime Minister of East Timor East Timor Danilo Medina Luis Abinader President of the Dominican Republic Dominican Republic Osborne Riviere Roosevelt Skerrit Prime Minister of Dominica Dominica Dileita Mohamed Dileita Abdoulkader Kamil Mohamed Prime Minister of Djibouti Djibouti Judith Tuluka Suminwa Prime Minister of the Democratic Republic of the Congo Democratic Republic of the Congo Andrej Babiš Petr Fiala Prime Minister of the Czech Republic Czech Republic Nikos Anastasiades Nicos Christodoulides President of Cyprus Cyprus Miguel Díaz-Canel Manuel Marrero Cruz Prime Minister of Cuba Cuba Tihomir Orešković Andrej Plenković Prime Minister of Croatia Croatia Carlos Alvarado Quesada Rodrigo Chaves President of Costa Rica Costa Rica Azali Assoumani President of Comoros Comoros Iván Duque Gustavo Petro President of Colombia Colombia Sebastián Piñera Gabriel Boric President of Chile Chile Idriss Déby Mahamat Déby Itno President of Chad Chad Henri-Marie Dondra Félix Moloua Prime Minister of the Central African Republic Central African Republic José Maria Neves Ulisses Correia e Silva Prime Minister of Cabo Verde Cape Verde Stephen Harper Justin Trudeau Prime Minister of Canada Canada Philémon Yang Joseph Ngute Prime Minister of Cameroon Cameroon Prime Minister of Cambodia Cambodia Apollinaire Joachim Kyélem de Tambèla Prime Minister of Burkina Faso Burkina Faso Dimitar Glavchev Dimitar Glavchev Prime Minister of Bulgaria Bulgaria Omar Ali Saifuddien III of Brunei Hassanal Bolkiah I of Brunei Sultan of Brunei Darussalam Brunei President of Brazil Brazil Ian Khama Mokgweetsi Masisi President of Botswana Botswana Borjana Krišto Chairman of the Council of Ministers of Bosnia and Herzegovina Bosnia and Herzegovina Jeanine Áñez Luis Arce president of Bolivia Bolivia Prime Minister of Bhutan Bhutan Thomas Boni Yayi Patrice Talon President of the Republic of Benin Benin Dean Barrow Johnny Briceño Prime Minister of Belize Belize Sophie Wilmès Alexander De Croo Prime Minister of Belgium Belgium Sergei Rumas Roman Golovchenko Prime Minister of Belarus Belarus Freundel Stuart Mia Mottley Prime Minister of Barbados Barbados Prime Minister of Bangladesh Bangladesh Khalifa bin Salman Al Khalifa Salman bin Hamad, Crown Prince of Bahrain Prime Minister of Bahrain Bahrain Ali Asadov Prime Minister of Azerbaijan Azerbaijan Alexander Schallenberg Karl Nehammer Federal Chancellor of Austria Austria Scott Morrison Anthony Albanese Prime Minister of Australia Australia Nikol Pashinyan Prime Minister of Armenia Armenia Alberto Fernández Javier Milei President of Argentina Argentina Baldwin Spencer Gaston Browne Prime Minister of Antigua and Barbuda Antigua and Barbuda José Eduardo dos Santos João Lourenço President of Angola Angola Antoni Martí Xavier Espot Zamora Prime Minister of Andorra Andorra Aymen Benabderrahmane Nadir Larbaoui Prime Minister of Algeria Algeria Sali Berisha Edi Rama Prime Minister of Albania Albania ?replaces Officeholder Office Country End of automatically generated list.The underlying query for this report is:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?country ?countryLabel ?office ?officeLabel ?person ?personLabel ?replaces ?replacesLabel
WHERE { 
  ?country wdt:P31 wd:Q3624078 ;  # find all countries
           wdt:P1313 ?office . # and their "office held by head of government"
  FILTER NOT EXISTS { ?office wdt:P576 ?end_date } . # (non-dissolved)

  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
    OPTIONAL { ?posn pq:P582 ?end_date }  
    FILTER ( !bound(?end_date)|| isBLANK(?end_date) ) . # but no end date
    OPTIONAL { ?posn pq:P1365 ?replaces }  # and see who they replaced
  }

  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
ORDER BY ?countryLabel ?officeLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?country"):::projected v1("?countryLabel"):::projected v4("?end_date") v3("?office"):::projected v2("?officeLabel"):::projected v6("?person"):::projected v7("?posn") v9("?replaces"):::projected v8("?start_date") c14(["en"]):::literal c3(["wd:Q3624078"]):::iri c12(["bd:serviceParam"]):::iri c6(["wd:Q5"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"p:direct/P576"--> e0v2 e0v2("?end_date"):::projected e0v1("?office"):::projected end f0--EXISTS--> f0e0 f0 --> v3 f0 --> c1 f0 --> v4 v3 --"p:direct/P576"--> v4 v5 --"p:direct/P31"--> c3 v5 --"p:direct/P1313"--> v3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v6 -."p:P39".-> v7 v6 --"p:direct/P31"--> c6 v7 --"p:statement/P39"--> v3 v7 --"p:qualifier/P580"--> v8 subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v7 -."p:qualifier/P582".-> v4 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v7 -."p:qualifier/P1365".-> v9 end end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end