Simple Question (Direct)
Simple Question
Q17232184
P21
Q290
USER
Which sex does Claire Littley have ?
(Q17232184,P21,c(Q290))
action filter_type
action find
entity Q17232184
relation P21
type Q290
['Q17232184', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q17232184 property:P21 ?w . ?w rdf:type ontology:Q290 }
Claire Littley
action filter_type
action find
entity Claire Littley
relation gender
type sex
['Claire Littley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Claire_Littley property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q17232184,P21,c(Q290))
action filter_type
action find
entity Q17232184
relation P21
type Q290
Claire Littley has a [ANSWER]
['Q17232184', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q17232184 property:P21 ?w . ?w rdf:type ontology:Q290 }
female
Claire Littley has a female
female
action filter_type
action find
entity Claire Littley
relation gender
type sex
['Claire Littley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Claire_Littley property:gender ?w . ?w rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q17232184
P27
Q15617994
USER
How many administrative territories are the native countriesof Claire Littley ?
(Q17232184,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17232184
relation P27
type Q15617994
['Q17232184', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q17232184 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Claire Littley
action count
action filter_type
action find
entity Claire Littley
relation country of citizenship
type designation for an administrative territorial entity
['Claire Littley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Claire_Littley property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q17232184,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17232184
relation P27
type Q15617994
[ANSWER]
['Q17232184', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q17232184 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Claire Littley
relation country of citizenship
type designation for an administrative territorial entity
['Claire Littley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Claire_Littley property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16939714
Q15617994
USER
And what about Celso Cardoso?
(Q16939714,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16939714
relation P27
type Q15617994
['Q16939714', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q16939714 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Celso Cardoso
action count
action filter_type
action find
entity Celso Cardoso
relation country of citizenship
type designation for an administrative territorial entity
['Celso Cardoso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Celso_Cardoso property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q16939714,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16939714
relation P27
type Q15617994
[ANSWER]
['Q16939714', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q16939714 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Celso Cardoso
relation country of citizenship
type designation for an administrative territorial entity
['Celso Cardoso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Celso_Cardoso property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2339245 Q17232184
P27
Q15617994
USER
Which administrative territories are the native countriesof Claire Littley or Rodolfo Elizondo Torres ?
OR((Q17232184,P27,c(Q15617994)), (Q2339245,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17232184
relation P27
action find
entity Q2339245
relation P27
type Q15617994
{'OR': [['Q17232184', 'P27', {'concept': 'Q15617994'}], ['Q2339245', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { ?j property:P27 ?z . VALUES ( ?j ) { ( resource:Q17232184 ) ( resource:Q2339245 ) } } . ?z rdf:type ontology:Q15617994 }
Rodolfo Elizondo Torres Claire Littley
action filter_type
action union
action find
entity Claire Littley
relation country of citizenship
action find
entity Rodolfo Elizondo Torres
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Claire Littley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rodolfo Elizondo Torres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?j property:country_of_citizenship ?z . VALUES ( ?j ) { ( resource:Claire_Littley ) ( resource:Rodolfo_Elizondo_Torres ) } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q145
SYSTEM
Mexico, United Kingdom
Q96 Q145
OR((Q17232184,P27,c(Q15617994)), (Q2339245,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17232184
relation P27
action find
entity Q2339245
relation P27
type Q15617994
[ANSWERS] are the native countriesof Claire Littley or Rodolfo Elizondo Torres
{'OR': [['Q17232184', 'P27', {'concept': 'Q15617994'}], ['Q2339245', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { ?j property:P27 ?z . VALUES ( ?j ) { ( resource:Q17232184 ) ( resource:Q2339245 ) } } . ?z rdf:type ontology:Q15617994 }
Mexico United Kingdom
Mexico and United Kingdom are the native countriesof Claire Littley or Rodolfo Elizondo Torres
Mexico United Kingdom
action filter_type
action union
action find
entity Claire Littley
relation country of citizenship
action find
entity Rodolfo Elizondo Torres
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Claire Littley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rodolfo Elizondo Torres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?j property:country_of_citizenship ?z . VALUES ( ?j ) { ( resource:Claire_Littley ) ( resource:Rodolfo_Elizondo_Torres ) } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q52878
P35
Q502895 Q15617994 Q35798
USER
Which people are elected as the head of state of approximately the same number of administrative territories and executive branches as Gustaf VI Adolf of Sweden ?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q52878
relation P35
type Q15617994
type Q35798
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?x ) WHERE { { ?g property:P35 ?h . ?h rdf:type ontology:Q502895 . ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q35798 . ?h rdf:type ontology:Q502895 . ?g property:P35 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } . ?v rdf:type ?m } . ?v property:P35 resource:Q52878 } } . FILTER ( ?x = ?c ) }
Gustaf VI Adolf of Sweden
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Gustaf VI Adolf of Sweden
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?x ) WHERE { { ?g property:head_of_state ?h . ?h rdf:type ontology:common_name . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:executive_branch . ?h rdf:type ontology:common_name . ?g property:head_of_state ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } . ?v rdf:type ?m } . ?v property:head_of_state resource:Gustaf_VI_Adolf_of_Sweden } } . FILTER ( ?x = ?c ) }
[]
common name designation for an administrative territorial entity executive branch
Q7747 Q36233 Q352
SYSTEM
Vladimir Putin, Václav Havel, Adolf Hitler
Q29574 Q298403 Q2573 Q356990 Q2571 Q6737124 Q6756617 Q19830768 Q19830761 Q189732 Q57530 Q110330 Q709734 Q653611 Q153620 Q1428924 Q9151911 Q2494376 Q154952 Q67345 Q297950 Q19464383 Q157 Q214029 Q13107337 Q152511 Q463533 Q19830715 Q365209 Q3176299 Q152335 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q151929 Q153986 Q43179 Q56226 Q16105901 Q171977 Q57491 Q57319 Q152274 Q312557 Q57258 Q57313 Q236503 Q57315 Q162269 Q151667 Q167724 Q55758 Q1359023 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q310775 Q57385 Q157651 Q6809265 Q128332 Q629702 Q13631996 Q13014 Q367825 Q1059948 Q57405 Q57407 Q57402 Q310536 Q16105972 Q237951 Q57543 Q296741 Q207728 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q181154 Q19831432 Q14362 Q151312 Q259331 Q264210 Q151087 Q444 Q267745 Q19810371 Q58056 Q167699 Q16765135 Q297825 Q472323 Q400961 Q4413 Q57429 Q57537 Q38987 Q94941 Q15382355 Q187149 Q363392 Q855252 Q57473 Q5901842 Q57348 Q361173 Q12967 Q157812 Q3956186 Q57478 Q181832 Q444290 Q19216 Q172388 Q15031 Q299100 Q188214 Q16988 Q42939 Q16849387 Q294969 Q561837 Q12762303 Q20875 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q154444 Q284233 Q2503364 Q295212 Q2610 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q19831452 Q2625711 Q1464 Q968038 Q128416 Q29032 Q29207 Q310247 Q289285 Q2866 Q2042 Q155002 Q155004 Q196070 Q208497 Q179858 Q250087 Q2416022 Q34105 Q9439 Q44819 Q23530 Q1354851 Q880065 Q335323 Q2542 Q2540 Q7747 Q152306 Q379203 Q57667 Q57542 Q735387 Q147989 Q122304 Q6762928 Q377935 Q36233 Q154936 Q334851 Q156617 Q555531 Q157789 Q976974 Q236853 Q17485808 Q57324 Q57327 Q57488 Q6707612 Q16669148 Q290786 Q57480 Q57482 Q773874 Q192049 Q886786 Q7244117 Q12149 Q2960197 Q36788 Q502185 Q57390 Q57392 Q57394 Q57398 Q6127060 Q2594 Q52878 Q570155 Q2112764 Q57431 Q57434 Q161958 Q57436 Q57438 Q344729 Q154998 Q182266 Q2646 Q156187 Q14356 Q151305 Q2105 Q76437 Q189186 Q335310 Q944643 Q2038 Q19581 Q52927 Q157793 Q93427 Q483672 Q12366816 Q19830746 Q16597 Q15850 Q373532 Q76 Q3911 Q3910 Q11753 Q280856 Q57509 Q57506 Q57502 Q284003 Q16908893 Q37181 Q52890 Q43330 Q128894 Q76127 Q191045 Q12950 Q44329 Q157099 Q296950 Q57340 Q332709 Q34464 Q2665070 Q362618 Q128911 Q324108 Q15029 Q218435 Q4250160 Q334923 Q1079522 Q157776 Q57298 Q235454 Q57295 Q4631 Q150747 Q590227 Q4414 Q2498541 Q2677 Q188409 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q5018756 Q15054736 Q9099 Q562209 Q230578 Q9094 Q102139 Q1112792 Q3518013 Q8467 Q2601 Q2602 Q2607 Q612803 Q3318231 Q295141 Q314791 Q39619 Q153832 Q270645 Q2091478 Q52925 Q52924 Q29213 Q52926 Q485946 Q1231345 Q570195 Q42410 Q69569 Q156572 Q1568274 Q10665 Q2444338 Q23034482 Q335033 Q18117069 Q156806 Q336285 Q163945 Q602428 Q45785 Q15633683 Q30487 Q223183 Q172183 Q311413 Q213791 Q58077 Q12911 Q76167 Q2551 Q242651 Q336913 Q7176020 Q84204 Q156502 Q17995110 Q42852 Q171684 Q57553 Q511888 Q257425 Q58600 Q468847 Q57311 Q379148 Q13593432 Q77233 Q504372 Q217442 Q160318 Q355053 Q210329 Q313539 Q84475 Q205993 Q381027 Q22513 Q57331 Q165487 Q57336 Q157068 Q153940 Q57232 Q1455923 Q613051 Q471037 Q6127112 Q46809 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q399998 Q354705 Q154041 Q16004 Q5972763 Q57343 Q81215 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q19831457 Q473247 Q2569 Q156494 Q20022984 Q76156 Q2563 Q1982245 Q2567 Q152463 Q455854 Q157781 Q936831 Q153167 Q1855372 Q58132 Q212188 Q156781 Q156780 Q2185 Q299629 Q11726 Q57519 Q57512 Q57517 Q57555 Q17488307 Q273228 Q1354229 Q187697 Q151944 Q371854 Q72856 Q154946 Q161059 Q5816 Q62483 Q57550 Q661663 Q19861344 Q311583 Q7726 Q128413 Q152265 Q357539 Q72898 Q150620 Q1260 Q563297 Q313350 Q559756 Q313355 Q2582 Q6225811 Q17582456 Q206471 Q151729 Q541507 Q34453 Q57289 Q57360 Q172083 Q57282 Q153586 Q57284 Q704339 Q57460 Q57467 Q310000 Q57464 Q2667 Q57308 Q3246667 Q156349 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q332157 Q239717 Q2357762 Q159585 Q50678 Q450675 Q4715 Q105480 Q128307 Q37731 Q154460 Q312355 Q146496 Q188667 Q43915 Q298577 Q1356927 Q334111 Q2498455 Q3407316 Q57413 Q57410 Q19943 Q57418 Q20090884 Q21968142 Q317894 Q19628885 Q163813 Q57356 Q24692 Q456902 Q5220343 Q84263 Q1707507 Q2538 Q33168 Q2124 Q296054 Q360462 Q18352991 Q599988 Q297057 Q229493 Q57521 Q57526 Q373605 Q380187 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q352 Q233984 Q314464 Q1382174 Q1898405 Q130834 Q12976 Q57261 Q12974 Q12973 Q12971 Q14257286 Q150652 Q1459658 Q128371 Q150712 Q319153 Q57634 Q314514 Q57306 Q19831445 Q299173 Q22368 Q206421 Q310136 Q57338 Q39259 Q307871 Q174662 Q2757 Q51672 Q57458 Q333824 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q65917 Q380985 Q15039600 Q2628 Q19831449
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q52878
relation P35
type Q15617994
type Q35798
[ANSWERS] are elected as the head of state of approximately the same number of administrative territories and executive branches as Gustaf VI Adolf of Sweden
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?x ) WHERE { { ?g property:P35 ?h . ?h rdf:type ontology:Q502895 . ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q35798 . ?h rdf:type ontology:Q502895 . ?g property:P35 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } . ?v rdf:type ?m } . ?v property:P35 resource:Q52878 } } . FILTER ( ?x = ?c ) }
Beatrix of the Netherlands Umar II Gustav Heinemann Michal Kováč Walter Scheel Maithripala Sirisena Marcelo Rebelo de Sousa Thomas Currie Jonathan Lambert Leonid Kravchuk Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Nicola Mancino Andrzej Duda Edmund Lawrence Willem-Alexander of the Netherlands John William, Duke of Jülich-Cleves-Berg R. Venkataraman John Woolley François Hollande Kaarlo Juho Ståhlberg Giorgi Margvelashvili Eddie Fenech Adami Michel Temer Robert Ben Madison Konstantinos Tsatsos Kolinda Grabar-Kitarović László Sólyom Phaedon Gizikis Rupiah Banda Michelle Bachelet Arnold Rüütel Muhammadu Buhari Mohammed Magariaf Nicolas Sarkozy Eduard Shevardnadze Guy Scott Ellen Johnson Sirleaf Kim Jong-un Paul Delprat Tokugawa Ieyasu Ricardo Martinelli Norodom Sihamoni Edvard Beneš V. V. Giri Ivo Josipović José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Jefferson Davis Ferdinand I of Bulgaria Guido de Marco Aleksander Kwaśniewski Raul Khadjimba Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Jean-Claude Duvalier Teodoro Obiang Nguema Mbasogo Gustáv Husák Mehbooba Mufti Hisham ibn Abd al-Malik Leonid Kuchma Chennamaneni Vidyasagar Rao Franz Jonas Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando Douglas Hyde Sprent Dabwido Enrique Peña Nieto Mohammad Najibullah Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Muawiyah I Giuseppe Bertoleoni Chun Doo-hwan Frederick IX of Denmark Yusof bin Ishak Muawiya II Jérôme Bonaparte Lech Wałęsa William Deane Vít Jedlička Christopher of Bavaria Ugo Mifsud Bonnici Isabel Saint Malo Željko Komšić Ranasinghe Premadasa Ahmad bin Yahya Alpha Condé Danilo Medina Letsie III of Lesotho Tony Tan Keng Yam Frederick VII of Denmark Hery Rajaonarimampianina Umberto II of Italy Michel Aoun Bhumibol Adulyadej Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Frederick III of Denmark Sergio Mattarella Nicolae Timofti Moshe Katsav Louis, King of Etruria Ma Ying-jeou Ashraf Ghani Ahmadzai Xi Jinping Zalman Shazar Mary Robinson Liu Shaoqi Bronisław Komorowski Jam Nizamuddin II Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska Edward VII Ian Khama Andry Rajoelina Emomali Rahmon Ram Baran Yadav Dilma Rousseff Choummaly Sayasone Pranab Mukherjee Grand Duke Michael Alexandrovich of Russia Sulayman ibn Abd al-Malik Pietro Grasso Rosen Plevneliev Willi Stoph Megawati Sukarnoputri Filipe Nyusi Kim Il-sung Prince Charles, Count of Flanders Kim Young-sam Mohammed Nadir Shah Carlo II Bertoleoni Vseslav Izyaslavich Benigno Simeon Cojuangco Aquino III Dong Biwu Ibrahim ibn al-Walid Miloš Zeman Sauli Niinistö Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Frederick VI of Denmark Philippe of Belgium Uhuru Kenyatta Tupou VI Urho Kekkonen Bill Hayden Raimonds Vējonis Hosni Mubarak Queen Victoria Suharto Dmitry Medvedev John Kerr Héctor García Godoy William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Vladimir Putin Carl Gustaf Emil Mannerheim Khieu Samphan Dési Bouterse Filip Vujanović William McKell Joaquín Balaguer Nitish Kumar Marie Louise Coleiro Preca Yang Shangkun Václav Havel Arnulf of Carinthia Zail Singh Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah Jakaya Kikwete Lydia Emerencia Patrice Talon Stefan Dragutin Abdrabbuh Mansour Hadi Mahamadou Issoufou Maria I of Portugal Yun Posun Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Thein Sein Charles Savarin Abd al-Malik ibn Marwan Andrey Vorobyov Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Jam Feruzudin Theodor Heuss Gustaf VI Adolf of Sweden John II, Duke of Cleves Nicos Anastasiades Tomislav Nikolić Václav Klaus Eric of Pomerania Gjorge Ivanov Macky Sall Christos Sartzetakis Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Park Chung-hee Christian IX of Denmark Jacques Chirac Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Mladen Ivanić François Mitterrand Ratael Correa Charles XIV John of Sweden Christian V of Denmark Archduke John of Austria Ali Abdullah Saleh Kersti Kaljulaid King Louis I of Talossa Jiang Zemin Oleksandr Turchynov Michail Stasinopoulos Barack Obama Albert II Albert II Heinz Fischer George VI Atifete Jahjaga Andris Bērziņš George Abela Al-Walid I José Mário Vaz Luiz Inácio Lula da Silva Gustaf V of Sweden Mikhail Saakashvili Yitzhak Ben-Zvi Sukarno Felipe VI Alain Poher Bashar al-Assad Louis the Child Antanas Smetona Mswati III Giovanni Spadolini Philip III of Spain Jozo Križanović Adolph I, Duke of Cleves Ezer Weizman Ibrahim Boubacar Keïta Hu Jintao Zviad Gamsakhurdia Tion Otang Abu Bakr Erasme Louis Surlet de Chokier John, King of Denmark Abdullah of Saudi Arabia K. R. Narayanan Ivan Gašparovič Mohamed Morsi Wilhelmina of the Netherlands Edward VIII Faure Gnassingbé Rogvolod Wilhelm II Yevgeny Shevchuk Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev John Magufuli Mulatu Teshome Tabaré Vázquez Cesare Merzagora Fernando Henrique Cardoso José Mujica Margrethe II of Denmark Anna Maria Muccioli N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Alī ibn Abī Ṭālib Alcide De Gasperi Rose Francine Rogombé Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Tarja Halonen Oscar I of Sweden Itamar Franco Paul Kagame John I, Duke of Cleves Evo Morales Sardar Muhammad Yaqoob Khan Christian VII of Denmark Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau William Slim, 1st Viscount Slim Baldwin Lonsdale Konstantinos Karamanlis Tommy Remengesau Yahya Muhammad Hamid ed-Din Antonio Guzmán Fernández Kim Dae-jung Catherine Samba-Panza Mikhail Gorbachev Peter II of Yugoslavia Chaim Weizmann Li Xiannian Eric Bloodaxe Petro Poroshenko Christopher Loeak Abdurrahman Wahid Johannes Rau Roh Tae-woo Neelam Sanjiva Reddy Peter Mutharika Theodor Körner Emil Hácha Jimmy Morales Abdullah Gül Rhee Syng-man Mohammed VI of Morocco Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Juan Manuel Santos Jean-Pierre Bemba Adly Mansour Frederick III, Elector of Saxony Ye Jianying Yazid I Norodom Sihanouk Michael Jeffery Yuan Shikai Beji Caid el Sebsi Michael Hainisch William Gopallawa Pedro Pablo Kuczynski Zhu De Qaboos bin Said al Said Ahmet Necdet Sezer Ali Khamenei Lord Mountbatten Christian I of Denmark Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Inayatullah Khan Jam Unar Raúl Castro Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Wee Kim Wee Frederick Ballantyne Frederick II of Denmark Henri, Grand Duke of Luxembourg Jacobo Majluta Azar Pierre Nkurunziza Petar Stoyanov Manuel Serifo Nhamadjo Donald Ramotar Tsakhiagiin Elbegdorj Roh Moo-hyun Lee Myung-bak Bidhya Bhandari Tonino Bertoleoni Habibullāh Kalakāni Karl Carstens Antonín Novotný Ameenah Gurib-Fakim Bacharuddin Jusuf Habibie Roman Herzog Ismail Shammout Richard von Weizsäcker Louis the German Reuven Rivlin Christian VIII of Denmark Salvador Sánchez Cerén Valdas Adamkus Tamim bin Hamad Al Thani Nicolás Maduro S. R. Nathan Mário Soares Jorge Sampaio Georges Pompidou Léon M'ba Karl Renner Taur Matan Ruak Michel Martelly Jorge Carlos Fonseca Sabah Al-Ahmad Al-Jaber Al-Sabah Aleksandr Zakharchenko Amintore Fanfani Peter Hollingworth François Duvalier Leonel Fernández el ladron Antonín Zápotocký Rudolf Kirchschläger Juliana of the Netherlands Frederick IV of Denmark Mao Zedong William, Duke of Jülich-Cleves-Berg Abdul Halim of Kedah Stephen Vladislav II of Syrmia Niels Vermeersch Yitzhak Navon Joseph Bonaparte Yazid III Mohammed Zahir Shah Gian Galeazzo Visconti Adolf Schärf Henry I the Fowler Kurt Waldheim Baron Waqa Choi Kyu-ha Dragan Čović Alexander Ankvab Heinrich Lübke John Charlton Rudge Ihor Plotnytskiy Borut Pahor Süleyman Demirel Arkadi Ghukasyan Boris Yeltsin Toomas Hendrik Ilves Hamad bin Khalifa Al Thani Omar Bongo Jacob Zuma Christian IV of Denmark Ólafur Ragnar Grímsson John III, Duke of Cleves Ernest Bai Koroma János Áder Ludvík Svoboda Abdullah II of Jordan Paul von Hindenburg Abdelaziz Bouteflika Abdul Hamid Sarvepalli Radhakrishnan Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Shankar Dayal Sharma Pearlette Louisy Izyaslav of Polotsk Boris III of Bulgaria John Mahama Francis Moncef Marzouki Kenneth Kaunda Al-Walid II Uthman ibn Affan Christian II of Denmark Bakir Izetbegović Stjepan Mesić Burhanuddin Rabbani Otto I the Great Marwan I Ninian Stephen Sunjong of the Korean Empire Bryachislav of Polotsk Prokopis Pavlopoulos Alassane Ouattara Shimon Peres Juan Carlos I Denis Sassou Nguesso Hilda C. Heine Casten Nemra Galeazzo Maria Sforza Michael Bates Rudolf Schuster Yahya Jammeh Almazbek Atambayev Gian Maria Visconti Danny Faure Wilhelm Miklas Eliud Williams Joachim Gauck Kalvakuntla Chandrashekar Valéry Giscard d'Estaing Klement Gottwald Bako Sahakyan Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Nino Burjanadze Ali Bongo Ondimba Bujar Nishani Epeli Nailatikau Ahmed Mahamoud Silanyo Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Francis I of Austria Baudouin of Belgium Georgi Parvanov Albert I Leopold III Leopold I Mamnoon Hussain Wilhelm I of Germany Viktor Yanukovych Marwan II Charles the Fat Hassan Sheikh Mohamud Hashim Thaçi Gian Galeazzo Sforza Jalal Talabani Mariangela Bertoleoni Michael Sata Chen Shui-bian Konstantinos Stephanopoulos Nebojša Radmanović Mahinda Rajapaksa Recep Tayyip Erdoğan Abdel Fattah el-Sisi Mary McAleese Lech Kaczyński Herod the Great Ikililou Dhoinine William Sidney, 1st Viscount De L'Isle Idriss Déby Hamad bin Isa Al Khalifa François Bozizé Anote Tong Hans-Adam II, Prince of Liechtenstein Alija Izetbegović Wilhelm Pieck Aleksandras Stulginskis Gian Carlo Capicchioni Walter Ulbricht Paolo II Bertoleoni
Vladimir Putin, Václav Havel and Adolf Hitler are elected as the head of state of approximately the same number of administrative territories and executive branches as Gustaf VI Adolf of Sweden
Vladimir Putin Václav Havel Adolf Hitler
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Gustaf VI Adolf of Sweden
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?x ) WHERE { { ?g property:head_of_state ?h . ?h rdf:type ontology:common_name . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:executive_branch . ?h rdf:type ontology:common_name . ?g property:head_of_state ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } . ?v rdf:type ?m } . ?v property:head_of_state resource:Gustaf_VI_Adolf_of_Sweden } } . FILTER ( ?x = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1428924
P35
Q502895 Q15617994 Q35798
USER
And what about Nicola Mancino?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q1428924
relation P35
type Q15617994
type Q35798
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P35 resource:Q1428924 . { { ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q35798 } } } } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) ?a WHERE { { ?e property:P35 ?a . ?a rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15617994 } UNION { ?a rdf:type ontology:Q502895 . ?e rdf:type ontology:Q35798 . ?e property:P35 ?a } } GROUP BY ?a } }
Nicola Mancino
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Nicola Mancino
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:head_of_state resource:Nicola_Mancino . { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:executive_branch } } } } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) ?a WHERE { { ?e property:head_of_state ?a . ?a rdf:type ontology:common_name . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a rdf:type ontology:common_name . ?e rdf:type ontology:executive_branch . ?e property:head_of_state ?a } } GROUP BY ?a } }
[]
common name designation for an administrative territorial entity executive branch
Q7747 Q36233 Q352
SYSTEM
Vladimir Putin, Václav Havel, Adolf Hitler
Q29574 Q298403 Q2573 Q356990 Q2571 Q6737124 Q6756617 Q19830768 Q19830761 Q189732 Q57530 Q110330 Q709734 Q653611 Q153620 Q1428924 Q9151911 Q2494376 Q154952 Q67345 Q297950 Q19464383 Q157 Q214029 Q13107337 Q152511 Q463533 Q19830715 Q365209 Q3176299 Q152335 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q151929 Q153986 Q43179 Q56226 Q16105901 Q171977 Q57491 Q57319 Q152274 Q312557 Q57258 Q57313 Q236503 Q57315 Q162269 Q151667 Q167724 Q55758 Q1359023 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q310775 Q57385 Q157651 Q6809265 Q128332 Q629702 Q13631996 Q13014 Q367825 Q1059948 Q57405 Q57407 Q57402 Q310536 Q16105972 Q237951 Q57543 Q296741 Q207728 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q181154 Q19831432 Q14362 Q151312 Q259331 Q264210 Q151087 Q444 Q267745 Q19810371 Q58056 Q167699 Q16765135 Q297825 Q472323 Q400961 Q4413 Q57429 Q57537 Q38987 Q94941 Q15382355 Q187149 Q363392 Q855252 Q57473 Q5901842 Q57348 Q361173 Q12967 Q157812 Q3956186 Q57478 Q181832 Q444290 Q19216 Q172388 Q15031 Q299100 Q188214 Q16988 Q42939 Q16849387 Q294969 Q561837 Q12762303 Q20875 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q154444 Q284233 Q2503364 Q295212 Q2610 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q19831452 Q2625711 Q1464 Q968038 Q128416 Q29032 Q29207 Q310247 Q289285 Q2866 Q2042 Q155002 Q155004 Q196070 Q208497 Q179858 Q250087 Q2416022 Q34105 Q9439 Q44819 Q23530 Q1354851 Q880065 Q335323 Q2542 Q2540 Q7747 Q152306 Q379203 Q57667 Q57542 Q735387 Q147989 Q122304 Q6762928 Q377935 Q36233 Q154936 Q334851 Q156617 Q555531 Q157789 Q976974 Q236853 Q17485808 Q57324 Q57327 Q57488 Q6707612 Q16669148 Q290786 Q57480 Q57482 Q773874 Q192049 Q886786 Q7244117 Q12149 Q2960197 Q36788 Q502185 Q57390 Q57392 Q57394 Q57398 Q6127060 Q2594 Q52878 Q570155 Q2112764 Q57431 Q57434 Q161958 Q57436 Q57438 Q344729 Q154998 Q182266 Q2646 Q156187 Q14356 Q151305 Q2105 Q76437 Q189186 Q335310 Q944643 Q2038 Q19581 Q52927 Q157793 Q93427 Q483672 Q12366816 Q19830746 Q16597 Q15850 Q373532 Q76 Q3911 Q3910 Q11753 Q280856 Q57509 Q57506 Q57502 Q284003 Q16908893 Q37181 Q52890 Q43330 Q128894 Q76127 Q191045 Q12950 Q44329 Q157099 Q296950 Q57340 Q332709 Q34464 Q2665070 Q362618 Q128911 Q324108 Q15029 Q218435 Q4250160 Q334923 Q1079522 Q157776 Q57298 Q235454 Q57295 Q4631 Q150747 Q590227 Q4414 Q2498541 Q2677 Q188409 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q5018756 Q15054736 Q9099 Q562209 Q230578 Q9094 Q102139 Q1112792 Q3518013 Q8467 Q2601 Q2602 Q2607 Q612803 Q3318231 Q295141 Q314791 Q39619 Q153832 Q270645 Q2091478 Q52925 Q52924 Q29213 Q52926 Q485946 Q1231345 Q570195 Q42410 Q69569 Q156572 Q1568274 Q10665 Q2444338 Q23034482 Q335033 Q18117069 Q156806 Q336285 Q163945 Q602428 Q45785 Q15633683 Q30487 Q223183 Q172183 Q311413 Q213791 Q58077 Q12911 Q76167 Q2551 Q242651 Q336913 Q7176020 Q84204 Q156502 Q17995110 Q42852 Q171684 Q57553 Q511888 Q257425 Q58600 Q468847 Q57311 Q379148 Q13593432 Q77233 Q504372 Q217442 Q160318 Q355053 Q210329 Q313539 Q84475 Q205993 Q381027 Q22513 Q57331 Q165487 Q57336 Q157068 Q153940 Q57232 Q1455923 Q613051 Q471037 Q6127112 Q46809 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q399998 Q354705 Q154041 Q16004 Q5972763 Q57343 Q81215 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q19831457 Q473247 Q2569 Q156494 Q20022984 Q76156 Q2563 Q1982245 Q2567 Q152463 Q455854 Q157781 Q936831 Q153167 Q1855372 Q58132 Q212188 Q156781 Q156780 Q2185 Q299629 Q11726 Q57519 Q57512 Q57517 Q57555 Q17488307 Q273228 Q1354229 Q187697 Q151944 Q371854 Q72856 Q154946 Q161059 Q5816 Q62483 Q57550 Q661663 Q19861344 Q311583 Q7726 Q128413 Q152265 Q357539 Q72898 Q150620 Q1260 Q563297 Q313350 Q559756 Q313355 Q2582 Q6225811 Q17582456 Q206471 Q151729 Q541507 Q34453 Q57289 Q57360 Q172083 Q57282 Q153586 Q57284 Q704339 Q57460 Q57467 Q310000 Q57464 Q2667 Q57308 Q3246667 Q156349 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q332157 Q239717 Q2357762 Q159585 Q50678 Q450675 Q4715 Q105480 Q128307 Q37731 Q154460 Q312355 Q146496 Q188667 Q43915 Q298577 Q1356927 Q334111 Q2498455 Q3407316 Q57413 Q57410 Q19943 Q57418 Q20090884 Q21968142 Q317894 Q19628885 Q163813 Q57356 Q24692 Q456902 Q5220343 Q84263 Q1707507 Q2538 Q33168 Q2124 Q296054 Q360462 Q18352991 Q599988 Q297057 Q229493 Q57521 Q57526 Q373605 Q380187 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q352 Q233984 Q314464 Q1382174 Q1898405 Q130834 Q12976 Q57261 Q12974 Q12973 Q12971 Q14257286 Q150652 Q1459658 Q128371 Q150712 Q319153 Q57634 Q314514 Q57306 Q19831445 Q299173 Q22368 Q206421 Q310136 Q57338 Q39259 Q307871 Q174662 Q2757 Q51672 Q57458 Q333824 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q65917 Q380985 Q15039600 Q2628 Q19831449
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q1428924
relation P35
type Q15617994
type Q35798
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P35 resource:Q1428924 . { { ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q35798 } } } } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) ?a WHERE { { ?e property:P35 ?a . ?a rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15617994 } UNION { ?a rdf:type ontology:Q502895 . ?e rdf:type ontology:Q35798 . ?e property:P35 ?a } } GROUP BY ?a } }
Beatrix of the Netherlands Umar II Gustav Heinemann Michal Kováč Walter Scheel Maithripala Sirisena Marcelo Rebelo de Sousa Thomas Currie Jonathan Lambert Leonid Kravchuk Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Nicola Mancino Andrzej Duda Edmund Lawrence Willem-Alexander of the Netherlands John William, Duke of Jülich-Cleves-Berg R. Venkataraman John Woolley François Hollande Kaarlo Juho Ståhlberg Giorgi Margvelashvili Eddie Fenech Adami Michel Temer Robert Ben Madison Konstantinos Tsatsos Kolinda Grabar-Kitarović László Sólyom Phaedon Gizikis Rupiah Banda Michelle Bachelet Arnold Rüütel Muhammadu Buhari Mohammed Magariaf Nicolas Sarkozy Eduard Shevardnadze Guy Scott Ellen Johnson Sirleaf Kim Jong-un Paul Delprat Tokugawa Ieyasu Ricardo Martinelli Norodom Sihamoni Edvard Beneš V. V. Giri Ivo Josipović José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Jefferson Davis Ferdinand I of Bulgaria Guido de Marco Aleksander Kwaśniewski Raul Khadjimba Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Jean-Claude Duvalier Teodoro Obiang Nguema Mbasogo Gustáv Husák Mehbooba Mufti Hisham ibn Abd al-Malik Leonid Kuchma Chennamaneni Vidyasagar Rao Franz Jonas Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando Douglas Hyde Sprent Dabwido Enrique Peña Nieto Mohammad Najibullah Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Muawiyah I Giuseppe Bertoleoni Chun Doo-hwan Frederick IX of Denmark Yusof bin Ishak Muawiya II Jérôme Bonaparte Lech Wałęsa William Deane Vít Jedlička Christopher of Bavaria Ugo Mifsud Bonnici Isabel Saint Malo Željko Komšić Ranasinghe Premadasa Ahmad bin Yahya Alpha Condé Danilo Medina Letsie III of Lesotho Tony Tan Keng Yam Frederick VII of Denmark Hery Rajaonarimampianina Umberto II of Italy Michel Aoun Bhumibol Adulyadej Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Frederick III of Denmark Sergio Mattarella Nicolae Timofti Moshe Katsav Louis, King of Etruria Ma Ying-jeou Ashraf Ghani Ahmadzai Xi Jinping Zalman Shazar Mary Robinson Liu Shaoqi Bronisław Komorowski Jam Nizamuddin II Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska Edward VII Ian Khama Andry Rajoelina Emomali Rahmon Ram Baran Yadav Dilma Rousseff Choummaly Sayasone Pranab Mukherjee Grand Duke Michael Alexandrovich of Russia Sulayman ibn Abd al-Malik Pietro Grasso Rosen Plevneliev Willi Stoph Megawati Sukarnoputri Filipe Nyusi Kim Il-sung Prince Charles, Count of Flanders Kim Young-sam Mohammed Nadir Shah Carlo II Bertoleoni Vseslav Izyaslavich Benigno Simeon Cojuangco Aquino III Dong Biwu Ibrahim ibn al-Walid Miloš Zeman Sauli Niinistö Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Frederick VI of Denmark Philippe of Belgium Uhuru Kenyatta Tupou VI Urho Kekkonen Bill Hayden Raimonds Vējonis Hosni Mubarak Queen Victoria Suharto Dmitry Medvedev John Kerr Héctor García Godoy William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Vladimir Putin Carl Gustaf Emil Mannerheim Khieu Samphan Dési Bouterse Filip Vujanović William McKell Joaquín Balaguer Nitish Kumar Marie Louise Coleiro Preca Yang Shangkun Václav Havel Arnulf of Carinthia Zail Singh Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah Jakaya Kikwete Lydia Emerencia Patrice Talon Stefan Dragutin Abdrabbuh Mansour Hadi Mahamadou Issoufou Maria I of Portugal Yun Posun Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Thein Sein Charles Savarin Abd al-Malik ibn Marwan Andrey Vorobyov Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Jam Feruzudin Theodor Heuss Gustaf VI Adolf of Sweden John II, Duke of Cleves Nicos Anastasiades Tomislav Nikolić Václav Klaus Eric of Pomerania Gjorge Ivanov Macky Sall Christos Sartzetakis Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Park Chung-hee Christian IX of Denmark Jacques Chirac Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Mladen Ivanić François Mitterrand Ratael Correa Charles XIV John of Sweden Christian V of Denmark Archduke John of Austria Ali Abdullah Saleh Kersti Kaljulaid King Louis I of Talossa Jiang Zemin Oleksandr Turchynov Michail Stasinopoulos Barack Obama Albert II Albert II Heinz Fischer George VI Atifete Jahjaga Andris Bērziņš George Abela Al-Walid I José Mário Vaz Luiz Inácio Lula da Silva Gustaf V of Sweden Mikhail Saakashvili Yitzhak Ben-Zvi Sukarno Felipe VI Alain Poher Bashar al-Assad Louis the Child Antanas Smetona Mswati III Giovanni Spadolini Philip III of Spain Jozo Križanović Adolph I, Duke of Cleves Ezer Weizman Ibrahim Boubacar Keïta Hu Jintao Zviad Gamsakhurdia Tion Otang Abu Bakr Erasme Louis Surlet de Chokier John, King of Denmark Abdullah of Saudi Arabia K. R. Narayanan Ivan Gašparovič Mohamed Morsi Wilhelmina of the Netherlands Edward VIII Faure Gnassingbé Rogvolod Wilhelm II Yevgeny Shevchuk Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev John Magufuli Mulatu Teshome Tabaré Vázquez Cesare Merzagora Fernando Henrique Cardoso José Mujica Margrethe II of Denmark Anna Maria Muccioli N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Alī ibn Abī Ṭālib Alcide De Gasperi Rose Francine Rogombé Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Tarja Halonen Oscar I of Sweden Itamar Franco Paul Kagame John I, Duke of Cleves Evo Morales Sardar Muhammad Yaqoob Khan Christian VII of Denmark Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau William Slim, 1st Viscount Slim Baldwin Lonsdale Konstantinos Karamanlis Tommy Remengesau Yahya Muhammad Hamid ed-Din Antonio Guzmán Fernández Kim Dae-jung Catherine Samba-Panza Mikhail Gorbachev Peter II of Yugoslavia Chaim Weizmann Li Xiannian Eric Bloodaxe Petro Poroshenko Christopher Loeak Abdurrahman Wahid Johannes Rau Roh Tae-woo Neelam Sanjiva Reddy Peter Mutharika Theodor Körner Emil Hácha Jimmy Morales Abdullah Gül Rhee Syng-man Mohammed VI of Morocco Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Juan Manuel Santos Jean-Pierre Bemba Adly Mansour Frederick III, Elector of Saxony Ye Jianying Yazid I Norodom Sihanouk Michael Jeffery Yuan Shikai Beji Caid el Sebsi Michael Hainisch William Gopallawa Pedro Pablo Kuczynski Zhu De Qaboos bin Said al Said Ahmet Necdet Sezer Ali Khamenei Lord Mountbatten Christian I of Denmark Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Inayatullah Khan Jam Unar Raúl Castro Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Wee Kim Wee Frederick Ballantyne Frederick II of Denmark Henri, Grand Duke of Luxembourg Jacobo Majluta Azar Pierre Nkurunziza Petar Stoyanov Manuel Serifo Nhamadjo Donald Ramotar Tsakhiagiin Elbegdorj Roh Moo-hyun Lee Myung-bak Bidhya Bhandari Tonino Bertoleoni Habibullāh Kalakāni Karl Carstens Antonín Novotný Ameenah Gurib-Fakim Bacharuddin Jusuf Habibie Roman Herzog Ismail Shammout Richard von Weizsäcker Louis the German Reuven Rivlin Christian VIII of Denmark Salvador Sánchez Cerén Valdas Adamkus Tamim bin Hamad Al Thani Nicolás Maduro S. R. Nathan Mário Soares Jorge Sampaio Georges Pompidou Léon M'ba Karl Renner Taur Matan Ruak Michel Martelly Jorge Carlos Fonseca Sabah Al-Ahmad Al-Jaber Al-Sabah Aleksandr Zakharchenko Amintore Fanfani Peter Hollingworth François Duvalier Leonel Fernández el ladron Antonín Zápotocký Rudolf Kirchschläger Juliana of the Netherlands Frederick IV of Denmark Mao Zedong William, Duke of Jülich-Cleves-Berg Abdul Halim of Kedah Stephen Vladislav II of Syrmia Niels Vermeersch Yitzhak Navon Joseph Bonaparte Yazid III Mohammed Zahir Shah Gian Galeazzo Visconti Adolf Schärf Henry I the Fowler Kurt Waldheim Baron Waqa Choi Kyu-ha Dragan Čović Alexander Ankvab Heinrich Lübke John Charlton Rudge Ihor Plotnytskiy Borut Pahor Süleyman Demirel Arkadi Ghukasyan Boris Yeltsin Toomas Hendrik Ilves Hamad bin Khalifa Al Thani Omar Bongo Jacob Zuma Christian IV of Denmark Ólafur Ragnar Grímsson John III, Duke of Cleves Ernest Bai Koroma János Áder Ludvík Svoboda Abdullah II of Jordan Paul von Hindenburg Abdelaziz Bouteflika Abdul Hamid Sarvepalli Radhakrishnan Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Shankar Dayal Sharma Pearlette Louisy Izyaslav of Polotsk Boris III of Bulgaria John Mahama Francis Moncef Marzouki Kenneth Kaunda Al-Walid II Uthman ibn Affan Christian II of Denmark Bakir Izetbegović Stjepan Mesić Burhanuddin Rabbani Otto I the Great Marwan I Ninian Stephen Sunjong of the Korean Empire Bryachislav of Polotsk Prokopis Pavlopoulos Alassane Ouattara Shimon Peres Juan Carlos I Denis Sassou Nguesso Hilda C. Heine Casten Nemra Galeazzo Maria Sforza Michael Bates Rudolf Schuster Yahya Jammeh Almazbek Atambayev Gian Maria Visconti Danny Faure Wilhelm Miklas Eliud Williams Joachim Gauck Kalvakuntla Chandrashekar Valéry Giscard d'Estaing Klement Gottwald Bako Sahakyan Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Nino Burjanadze Ali Bongo Ondimba Bujar Nishani Epeli Nailatikau Ahmed Mahamoud Silanyo Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Francis I of Austria Baudouin of Belgium Georgi Parvanov Albert I Leopold III Leopold I Mamnoon Hussain Wilhelm I of Germany Viktor Yanukovych Marwan II Charles the Fat Hassan Sheikh Mohamud Hashim Thaçi Gian Galeazzo Sforza Jalal Talabani Mariangela Bertoleoni Michael Sata Chen Shui-bian Konstantinos Stephanopoulos Nebojša Radmanović Mahinda Rajapaksa Recep Tayyip Erdoğan Abdel Fattah el-Sisi Mary McAleese Lech Kaczyński Herod the Great Ikililou Dhoinine William Sidney, 1st Viscount De L'Isle Idriss Déby Hamad bin Isa Al Khalifa François Bozizé Anote Tong Hans-Adam II, Prince of Liechtenstein Alija Izetbegović Wilhelm Pieck Aleksandras Stulginskis Gian Carlo Capicchioni Walter Ulbricht Paolo II Bertoleoni
Vladimir Putin Václav Havel Adolf Hitler
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Nicola Mancino
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:head_of_state resource:Nicola_Mancino . { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:executive_branch } } } } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) ?a WHERE { { ?e property:head_of_state ?a . ?a rdf:type ontology:common_name . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a rdf:type ontology:common_name . ?e rdf:type ontology:executive_branch . ?e property:head_of_state ?a } } GROUP BY ?a } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7747 Q36233 Q352
P166
Q618779
USER
What were won by those people ?
(Q7747,P166,c(Q618779)) (Q36233,P166,c(Q618779)) (Q352,P166,c(Q618779))
action filter_type
action find
entity prev_answer
relation P166
type Q618779
['Q7747', 'P166', {'concept': 'Q618779'}] ['Q36233', 'P166', {'concept': 'Q618779'}] ['Q352', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q618779 . ?u property:P166 ?p . VALUES ( ?u ) { ( resource:Q29574 ) ( resource:Q298403 ) ( resource:Q2573 ) } }
Vladimir Putin Václav Havel Adolf Hitler
action filter_type
action find
entity prev_answer
relation award received
type award
['Vladimir Putin', 'award received', {'concept': 'award'}] ['Václav Havel', 'award received', {'concept': 'award'}] ['Adolf Hitler', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:award . ?u property:award_received ?p . VALUES ( ?u ) { ( resource:Beatrix_of_the_Netherlands ) ( resource:Umar_II ) ( resource:Gustav_Heinemann ) } }
[]
award
Q1324648 Q1548060 Q19362
SYSTEM
Olof Palme Prize, Order of Tomáš Garrigue Masaryk, Franz Kafka Prize
Q2268261 Q2028158 Q10905105 Q93724 Q20966612 Q152337 Q19362 Q20895009 Q1548060 Q13452531 Q743230 Q686661 Q1324648 Q84020 Q11997611 Q60476 Q2379783 Q14539974 Q154554
(Q7747,P166,c(Q618779)) (Q36233,P166,c(Q618779)) (Q352,P166,c(Q618779))
action filter_type
action find
entity prev_answer
relation P166
type Q618779
[ANSWERS] were won by those people
['Q7747', 'P166', {'concept': 'Q618779'}] ['Q36233', 'P166', {'concept': 'Q618779'}] ['Q352', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q618779 . ?u property:P166 ?p . VALUES ( ?u ) { ( resource:Q29574 ) ( resource:Q298403 ) ( resource:Q2573 ) } }
Order of Honour St. George's Order of Victory Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany Order of the White Double Cross Collar of the Order of the White Lion Charlemagne Prize Franz Kafka Prize great-cross of the Order of Vytautas the Great Order of Tomáš Garrigue Masaryk Commandeur des Arts et des Lettres‎ Order of Liberty Monismanien Prize Olof Palme Prize Order of the White Eagle Order of Freedom Order of the Cross of Terra Mariana Order of Prince Yaroslav the Wise Knight Grand Cross of the Order of Merit of the Italian Republic Iron Cross
Olof Palme Prize, Order of Tomáš Garrigue Masaryk and Franz Kafka Prize were won by those people
Olof Palme Prize Order of Tomáš Garrigue Masaryk Franz Kafka Prize
action filter_type
action find
entity prev_answer
relation award received
type award
['Vladimir Putin', 'award received', {'concept': 'award'}] ['Václav Havel', 'award received', {'concept': 'award'}] ['Adolf Hitler', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:award . ?u property:award_received ?p . VALUES ( ?u ) { ( resource:Beatrix_of_the_Netherlands ) ( resource:Umar_II ) ( resource:Gustav_Heinemann ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P180
Q340169
USER
Which media depicts United Kingdom ?
(c(Q340169),P180,Q145)
action filter_type
action find_reverse
entity Q145
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', 'Q145']
SELECT DISTINCT ?r WHERE { ?r property:P180 resource:Q145 . ?r rdf:type ontology:Q340169 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'United Kingdom']
SELECT DISTINCT ?r WHERE { ?r property:depicts resource:United_Kingdom . ?r rdf:type ontology:media }
[]
media
Q23308984
SYSTEM
Prima Europe Tabula
Q23308984
(c(Q340169),P180,Q145)
action filter_type
action find_reverse
entity Q145
relation P180
type Q340169
[ANSWER] depicts United Kingdom
[{'concept': 'Q340169'}, 'P180', 'Q145']
SELECT DISTINCT ?r WHERE { ?r property:P180 resource:Q145 . ?r rdf:type ontology:Q340169 }
Prima Europe Tabula
Prima Europe Tabula depicts United Kingdom
Prima Europe Tabula
action filter_type
action find_reverse
entity United Kingdom
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'United Kingdom']
SELECT DISTINCT ?r WHERE { ?r property:depicts resource:United_Kingdom . ?r rdf:type ontology:media }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P194
Q1752346
USER
Which assembly is the representative body for that administrative territory ?
(Q23308984,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
['Q23308984', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { resource:Q145 property:P194 ?t . ?t rdf:type ontology:Q1752346 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['Prima Europe Tabula', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { resource:United_Kingdom property:legislative_body ?t . ?t rdf:type ontology:assembly }
[]
assembly
Q11010
SYSTEM
Parliament of the United Kingdom
Q11010
(Q23308984,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
[ANSWER] is the representative body for that administrative territory
['Q23308984', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { resource:Q145 property:P194 ?t . ?t rdf:type ontology:Q1752346 }
Parliament of the United Kingdom
Parliament of the United Kingdom is the representative body for that administrative territory
Parliament of the United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['Prima Europe Tabula', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { resource:United_Kingdom property:legislative_body ?t . ?t rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P840
Q15416
USER
Which television programs have their narrative set in United Kingdom ?
(c(Q15416),P840,Q145)
action filter_type
action find_reverse
entity Q145
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q145']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15416 . ?x property:P840 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:television_program . ?x property:narrative_location resource:United_Kingdom }
[]
television program
Q17039455 Q16385485 Q1890400
SYSTEM
Wolf Hall, Dickensian, Terry Pratchett's The Colour of Magic
Q15974784 Q16993261 Q16956081 Q17150444 Q16997329 Q17018116 Q20713401 Q20020291 Q10337169 Q16953956 Q17022471 Q16995658 Q15109282 Q21775778 Q16995048 Q20718353 Q16992630 Q15270664 Q19824815 Q16385485 Q16994985 Q16997851 Q16993375 Q16995459 Q5519196 Q17019426 Q16993458 Q17039455 Q7832449 Q652460 Q15109327 Q17034138 Q16953842 Q19650404 Q16988682 Q7759292 Q16958386 Q17016976 Q2070312 Q16961393 Q15732968 Q16995528 Q17017945 Q6959460 Q16996902 Q15619684 Q18712151 Q16988855 Q193973 Q16679651 Q16993244 Q16996291 Q17013583 Q7641426 Q17018809 Q16976961 Q7677671 Q16992051 Q16953744 Q17104366 Q17104024 Q16994796 Q16994352 Q17033935 Q21998276 Q15109310 Q17020225 Q16994324 Q1890400
(c(Q15416),P840,Q145)
action filter_type
action find_reverse
entity Q145
relation P840
type Q15416
[ANSWERS] have their narrative set in United Kingdom
[{'concept': 'Q15416'}, 'P840', 'Q145']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15416 . ?x property:P840 resource:Q145 }
The Great Train Robbery The Great Interior Design Challenge Castles in the Sky Barely Legal Drivers Mapp and Lucia Pound Shop Wars The Outcast 24 Hours in the Past Noah and Saskia The Brits who Built the Modern World Supermarket Secrets Killer Magic The Crane Gang Josh Invasion of the Job Snatchers Agatha Raisin The Game Framed Nurse Dickensian The Interceptor Mind the Gap: London vs the Rest Grey Mates Jonathan Strange & Mr Norrell Gallowglass Sacred Wonders of Britain The Guess List Wolf Hall Traffic Cops Trinity Tudor Monastery Farm Watermen: a Dirty Business Britain and the Sea Life in Squares Detectorists The Railway: Keeping Britain On Track Cilla Ordinary Lies Percy Stuart Saving Britain's Past W1A Junior Paramedics Poldark Oakie Doke London Spy House of Fools Cara Fi Doctor Foster Secret State The Line of Beauty Great British Garden Revival The Life of Rock with Brian Pern The Passing Bells Sunshine Remember Me Pat & Cabbage Take Me Famous, Rich and Hungry The Big Allotment Challenge Mud, Sweat & Gears River In and Out of the Kitchen The House that £100k Built Watchdog Test House Tracey Ullman's Show Iceland Foods: Life in the Freezer Cabinet The Secrets Hotel of Mum and Dad Terry Pratchett's The Colour of Magic
Wolf Hall, Dickensian and Terry Pratchett's The Colour of Magic have their narrative set in United Kingdom
Wolf Hall Dickensian Terry Pratchett's The Colour of Magic
action filter_type
action find_reverse
entity United Kingdom
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:television_program . ?x property:narrative_location resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17039455 Q16385485 Q1890400
P840
Q15617994
USER
Where are those television programs set in ?
(Q17039455,P840,c(Q15617994)) (Q16385485,P840,c(Q15617994)) (Q1890400,P840,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P840
type Q15617994
['Q17039455', 'P840', {'concept': 'Q15617994'}] ['Q16385485', 'P840', {'concept': 'Q15617994'}] ['Q1890400', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?k ) { ( resource:Q15974784 ) ( resource:Q16993261 ) ( resource:Q16956081 ) } . ?k property:P840 ?z . ?z rdf:type ontology:Q15617994 }
Wolf Hall Dickensian Terry Pratchett's The Colour of Magic
action filter_type
action find
entity prev_answer
relation narrative location
type designation for an administrative territorial entity
['Wolf Hall', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Dickensian', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ["Terry Pratchett's The Colour of Magic", 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?k ) { ( resource:The_Great_Train_Robbery ) ( resource:The_Great_Interior_Design_Challenge ) ( resource:Castles_in_the_Sky ) } . ?k property:narrative_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q17039455,P840,c(Q15617994)) (Q16385485,P840,c(Q15617994)) (Q1890400,P840,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P840
type Q15617994
Those television programs are set in the [ANSWER], [ANSWER] and [ANSWER]
['Q17039455', 'P840', {'concept': 'Q15617994'}] ['Q16385485', 'P840', {'concept': 'Q15617994'}] ['Q1890400', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?k ) { ( resource:Q15974784 ) ( resource:Q16993261 ) ( resource:Q16956081 ) } . ?k property:P840 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom United Kingdom United Kingdom
Those television programs are set in the United Kingdom, United Kingdom and United Kingdom
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation narrative location
type designation for an administrative territorial entity
['Wolf Hall', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Dickensian', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ["Terry Pratchett's The Colour of Magic", 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?k ) { ( resource:The_Great_Train_Robbery ) ( resource:The_Great_Interior_Design_Challenge ) ( resource:Castles_in_the_Sky ) } . ?k property:narrative_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P1313
Q895526
USER
Which authority organ is fulfilled by that administrative territory ?
(Q145,P1313,c(Q895526)) (Q145,P1313,c(Q895526)) (Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
['Q145', 'P1313', {'concept': 'Q895526'}] ['Q145', 'P1313', {'concept': 'Q895526'}] ['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?i WHERE { resource:Q145 property:P1313 ?i . ?i rdf:type ontology:Q895526 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}] ['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}] ['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?i WHERE { resource:United_Kingdom property:office_held_by_head_of_government ?i . ?i rdf:type ontology:authority_organ }
[]
authority organ
Q14211
SYSTEM
Prime Minister of the United Kingdom
Q14211
(Q145,P1313,c(Q895526)) (Q145,P1313,c(Q895526)) (Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
The [ANSWER] is fulfilled by that administrative territory
['Q145', 'P1313', {'concept': 'Q895526'}] ['Q145', 'P1313', {'concept': 'Q895526'}] ['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?i WHERE { resource:Q145 property:P1313 ?i . ?i rdf:type ontology:Q895526 }
Prime Minister of the United Kingdom
The Prime Minister of the United Kingdom is fulfilled by that administrative territory
Prime Minister of the United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}] ['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}] ['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?i WHERE { resource:United_Kingdom property:office_held_by_head_of_government ?i . ?i rdf:type ontology:authority_organ }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q819
P495
Q15617994 Q838948 Q7725634
USER
How many administrative territories did approximately the same number of works of art and literary works originate as Laos ?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q819
relation P495
type Q838948
type Q7725634
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P495 ?n . ?n rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q838948 } UNION { ?k property:P495 ?n . ?k rdf:type ontology:Q7725634 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q7725634 } } . ?w property:P495 resource:Q819 } } . FILTER ( ?x = ?a ) }
Laos
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Laos
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:work_of_art } UNION { ?k property:country_of_origin ?n . ?k rdf:type ontology:literary_work . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:literary_work } } . ?w property:country_of_origin resource:Laos } } . FILTER ( ?x = ?a ) }
[]
designation for an administrative territorial entity work of art literary work
SYSTEM
164
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q819
relation P495
type Q838948
type Q7725634
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P495 ?n . ?n rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q838948 } UNION { ?k property:P495 ?n . ?k rdf:type ontology:Q7725634 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q7725634 } } . ?w property:P495 resource:Q819 } } . FILTER ( ?x = ?a ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
164
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Laos
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:work_of_art } UNION { ?k property:country_of_origin ?n . ?k rdf:type ontology:literary_work . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:literary_work } } . ?w property:country_of_origin resource:Laos } } . FILTER ( ?x = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1049
P495
Q15617994 Q838948 Q7725634
USER
And what about Sudan?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q1049
relation P495
type Q838948
type Q7725634
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?v WHERE { { ?n property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q7725634 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P495 resource:Q1049 . { { ?o rdf:type ontology:Q838948 } UNION { ?o rdf:type ontology:Q7725634 } } } } . FILTER ( ?j = ?z ) }
Sudan
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Sudan
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?v WHERE { { ?n property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:work_of_art } UNION { ?n property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:literary_work } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:country_of_origin resource:Sudan . { { ?o rdf:type ontology:work_of_art } UNION { ?o rdf:type ontology:literary_work } } } } . FILTER ( ?j = ?z ) }
[]
designation for an administrative territorial entity work of art literary work
SYSTEM
164
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q1049
relation P495
type Q838948
type Q7725634
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?v WHERE { { ?n property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q7725634 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P495 resource:Q1049 . { { ?o rdf:type ontology:Q838948 } UNION { ?o rdf:type ontology:Q7725634 } } } } . FILTER ( ?j = ?z ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
164
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Sudan
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?v WHERE { { ?n property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:work_of_art } UNION { ?n property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:literary_work } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:country_of_origin resource:Sudan . { { ?o rdf:type ontology:work_of_art } UNION { ?o rdf:type ontology:literary_work } } } } . FILTER ( ?j = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P172
Q502895
USER
Which people have United Kingdom as his/her ethnicity ?
(c(Q502895),P172,Q145)
action filter_type
action find_reverse
entity Q145
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q145']
SELECT DISTINCT ?q WHERE { ?q property:P172 resource:Q145 . ?q rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'United Kingdom']
SELECT DISTINCT ?q WHERE { ?q property:ethnic_group resource:United_Kingdom . ?q rdf:type ontology:common_name }
[]
common name
Q5460575 Q5578020 Q515011
SYSTEM
Florence Brudenell-Bruce, Gok Wan, Dale Winton
Q5460575 Q5578020 Q515011
(c(Q502895),P172,Q145)
action filter_type
action find_reverse
entity Q145
relation P172
type Q502895
[ANSWERS] have United Kingdom as his/her ethnicity
[{'concept': 'Q502895'}, 'P172', 'Q145']
SELECT DISTINCT ?q WHERE { ?q property:P172 resource:Q145 . ?q rdf:type ontology:Q502895 }
Florence Brudenell-Bruce Gok Wan Dale Winton
Florence Brudenell-Bruce, Gok Wan and Dale Winton have United Kingdom as his/her ethnicity
Florence Brudenell-Bruce Gok Wan Dale Winton
action filter_type
action find_reverse
entity United Kingdom
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'United Kingdom']
SELECT DISTINCT ?q WHERE { ?q property:ethnic_group resource:United_Kingdom . ?q rdf:type ontology:common_name }
[]