Simple Question (Direct)
Simple Question
Q7436704
P21
Q290
USER
Which sex does Scott Lingamfelter belong to ?
(Q7436704,P21,c(Q290))
action filter_type
action find
entity Q7436704
relation P21
type Q290
['Q7436704', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q7436704 property:P21 ?u . ?u rdf:type ontology:Q290 }
Scott Lingamfelter
action filter_type
action find
entity Scott Lingamfelter
relation gender
type sex
['Scott Lingamfelter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Scott_Lingamfelter property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7436704,P21,c(Q290))
action filter_type
action find
entity Q7436704
relation P21
type Q290
Scott Lingamfelter belongs to [ANSWER]
['Q7436704', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q7436704 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Scott Lingamfelter belongs to male
male
action filter_type
action find
entity Scott Lingamfelter
relation gender
type sex
['Scott Lingamfelter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Scott_Lingamfelter property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7436704
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7436704
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q7436704 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Scott Lingamfelter
action filter_type
action find
entity Scott Lingamfelter
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Scott_Lingamfelter property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7436704
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q7436704 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Scott Lingamfelter
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Scott_Lingamfelter property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7436704
P166
Q618779
USER
What were received by that person ?
(Q82955,P166,c(Q618779))
action filter_type
action find
entity Q7436704
relation P166
type Q618779
['Q82955', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q7436704 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Scott Lingamfelter
action filter_type
action find
entity Scott Lingamfelter
relation award received
type award
['politician', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Scott_Lingamfelter property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q724443 Q928314
SYSTEM
Legion of Merit, Bronze Star Medal
Q724443 Q928314
(Q82955,P166,c(Q618779))
action filter_type
action find
entity Q7436704
relation P166
type Q618779
The [ANSWERS] were received by that person
['Q82955', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q7436704 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Legion of Merit Bronze Star Medal
The Legion of Merit and Bronze Star Medal were received by that person
Legion of Merit Bronze Star Medal
action filter_type
action find
entity Scott Lingamfelter
relation award received
type award
['politician', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Scott_Lingamfelter property:award_received ?l . ?l rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7436704
P69
Q3918
USER
Which university is Scott Lingamfelter an alumni of ?
(Q7436704,P69,c(Q3918))
action filter_type
action find
entity Q7436704
relation P69
type Q3918
['Q7436704', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?s WHERE { resource:Q7436704 property:P69 ?s . ?s rdf:type ontology:Q3918 }
Scott Lingamfelter
action filter_type
action find
entity Scott Lingamfelter
relation educated at
type university
['Scott Lingamfelter', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?s WHERE { resource:Scott_Lingamfelter property:educated_at ?s . ?s rdf:type ontology:university }
[]
university
Q213439
SYSTEM
University of Virginia
Q213439
(Q7436704,P69,c(Q3918))
action filter_type
action find
entity Q7436704
relation P69
type Q3918
Which university is Scott Lingamfelter an alumni of
['Q7436704', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?s WHERE { resource:Q7436704 property:P69 ?s . ?s rdf:type ontology:Q3918 }
University of Virginia
Which university is Scott Lingamfelter an alumni of
University of Virginia
action filter_type
action find
entity Scott Lingamfelter
relation educated at
type university
['Scott Lingamfelter', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?s WHERE { resource:Scott_Lingamfelter property:educated_at ?s . ?s rdf:type ontology:university }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q7436704
Q1935049
USER
And which military school?
(Q7436704,P69,c(Q1935049))
action filter_type
action find
entity Q7436704
relation P69
type Q1935049
['Q7436704', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?l WHERE { resource:Q7436704 property:P69 ?l . ?l rdf:type ontology:Q1935049 }
Scott Lingamfelter
action filter_type
action find
entity Scott Lingamfelter
relation educated at
type military school
['Scott Lingamfelter', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?l WHERE { resource:Scott_Lingamfelter property:educated_at ?l . ?l rdf:type ontology:military_school }
[]
military school
Q785357
SYSTEM
Virginia Military Institute
Q785357
(Q7436704,P69,c(Q1935049))
action filter_type
action find
entity Q7436704
relation P69
type Q1935049
[ANSWER]
['Q7436704', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?l WHERE { resource:Q7436704 property:P69 ?l . ?l rdf:type ontology:Q1935049 }
Virginia Military Institute
Virginia Military Institute
action filter_type
action find
entity Scott Lingamfelter
relation educated at
type military school
['Scott Lingamfelter', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?l WHERE { resource:Scott_Lingamfelter property:educated_at ?l . ?l rdf:type ontology:military_school }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q785357 Q30
P17
Q15617994
USER
Is that military school located in United States of America ?
(Q785357,P17,Q30)
action is_in
entity Q30
action find
entity Q785357
relation P17
['Q785357', 'P17', 'Q30']
ASK WHERE { resource:Q785357 property:P17 resource:Q30 }
Virginia Military Institute United States of America
action is_in
entity United States of America
action find
entity Virginia Military Institute
relation country
['Virginia Military Institute', 'country', 'United States of America']
ASK WHERE { resource:Virginia_Military_Institute property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q785357,P17,Q30)
action is_in
entity Q30
action find
entity Q785357
relation P17
[ANSWER]
['Q785357', 'P17', 'Q30']
ASK WHERE { resource:Q785357 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Virginia Military Institute
relation country
['Virginia Military Institute', 'country', 'United States of America']
ASK WHERE { resource:Virginia_Military_Institute property:country resource:United_States_of_America }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q187149
P35
Q502895 Q35798 Q1048835
USER
Which people are elected as the head of state of lesser number of executive branches and political territories than Umberto II of Italy ?
(c(Q35798)|c(Q1048835),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q187149
relation P35
type Q35798
type Q1048835
[[{'concept': 'Q35798'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:P35 ?p . ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q35798 } UNION { ?j property:P35 ?p . ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P35 resource:Q187149 . { { ?c rdf:type ontology:Q35798 } UNION { ?c rdf:type ontology:Q1048835 } } } } . FILTER ( ?r < ?k ) }
Umberto II of Italy
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Umberto II of Italy
relation head of state
type executive branch
type political territorial entity
[[{'concept': 'executive branch'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:head_of_state ?p . ?p rdf:type ontology:common_name . ?j rdf:type ontology:executive_branch } UNION { ?j property:head_of_state ?p . ?p rdf:type ontology:common_name . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:head_of_state resource:Umberto_II_of_Italy . { { ?c rdf:type ontology:executive_branch } UNION { ?c rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?r < ?k ) }
[]
common name executive branch political territorial entity
Q36233 Q352 Q320
SYSTEM
Václav Havel, Adolf Hitler, Michelle Bachelet
Q29574 Q298403 Q356990 Q6737124 Q6756617 Q19830768 Q19830761 Q57530 Q110330 Q709734 Q653611 Q153620 Q9151911 Q154952 Q19464383 Q157 Q13107337 Q463533 Q19830715 Q365209 Q3176299 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q151929 Q153986 Q43179 Q56226 Q16105901 Q171977 Q57491 Q57313 Q236503 Q57315 Q151667 Q55758 Q1359023 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q310775 Q57385 Q157651 Q6809265 Q128332 Q629702 Q13631996 Q367825 Q1059948 Q57405 Q57407 Q57402 Q310536 Q16105972 Q57543 Q296741 Q207728 Q19831439 Q78492 Q19831437 Q181154 Q19831432 Q14362 Q264210 Q151087 Q444 Q19810371 Q16765135 Q297825 Q400961 Q4413 Q57429 Q57537 Q38987 Q15382355 Q363392 Q57473 Q5901842 Q57348 Q361173 Q12967 Q57478 Q181832 Q19216 Q172388 Q15031 Q299100 Q16988 Q16849387 Q294969 Q561837 Q12762303 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q154444 Q284233 Q2610 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q19831452 Q2625711 Q1464 Q968038 Q128416 Q29032 Q310247 Q289285 Q2866 Q2042 Q155004 Q196070 Q208497 Q2416022 Q44819 Q23530 Q880065 Q379203 Q57667 Q57542 Q147989 Q122304 Q6762928 Q377935 Q36233 Q154936 Q555531 Q236853 Q17485808 Q57324 Q57327 Q6707612 Q16669148 Q290786 Q57480 Q57482 Q773874 Q192049 Q886786 Q7244117 Q12149 Q2960197 Q36788 Q502185 Q57390 Q57392 Q57394 Q57398 Q6127060 Q52878 Q57431 Q57434 Q57436 Q57438 Q344729 Q2646 Q14356 Q2105 Q76437 Q944643 Q2038 Q19581 Q52927 Q93427 Q483672 Q12366816 Q19830746 Q16597 Q15850 Q373532 Q3911 Q3910 Q57509 Q57506 Q284003 Q16908893 Q37181 Q52890 Q43330 Q128894 Q76127 Q191045 Q12950 Q157099 Q296950 Q57340 Q34464 Q2665070 Q128911 Q324108 Q15029 Q218435 Q4250160 Q334923 Q1079522 Q57298 Q150747 Q4414 Q2498541 Q2677 Q188409 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q5018756 Q15054736 Q9099 Q230578 Q9094 Q1112792 Q3518013 Q8467 Q2601 Q2602 Q2607 Q612803 Q3318231 Q295141 Q314791 Q39619 Q2091478 Q52925 Q52924 Q29213 Q52926 Q485946 Q1231345 Q42410 Q69569 Q1568274 Q10665 Q2444338 Q23034482 Q18117069 Q156806 Q336285 Q163945 Q602428 Q45785 Q15633683 Q30487 Q223183 Q172183 Q311413 Q213791 Q58077 Q12911 Q76167 Q242651 Q7176020 Q156502 Q17995110 Q42852 Q171684 Q57553 Q511888 Q257425 Q58600 Q468847 Q57311 Q379148 Q77233 Q504372 Q217442 Q160318 Q210329 Q313539 Q381027 Q22513 Q57331 Q165487 Q57336 Q57232 Q1455923 Q613051 Q471037 Q6127112 Q46809 Q19831185 Q19831184 Q19831183 Q157121 Q16004 Q5972763 Q57343 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q19831457 Q473247 Q156494 Q20022984 Q76156 Q1982245 Q152463 Q936831 Q153167 Q1855372 Q58132 Q156781 Q156780 Q2185 Q57519 Q57512 Q57517 Q57555 Q17488307 Q187697 Q151944 Q371854 Q154946 Q5816 Q57550 Q661663 Q19861344 Q311583 Q7726 Q128413 Q152265 Q357539 Q150620 Q563297 Q313350 Q559756 Q313355 Q6225811 Q17582456 Q206471 Q151729 Q541507 Q34453 Q57289 Q57360 Q57282 Q57284 Q57460 Q57467 Q310000 Q2667 Q57308 Q3246667 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q239717 Q2357762 Q159585 Q50678 Q450675 Q105480 Q128307 Q37731 Q312355 Q146496 Q188667 Q43915 Q298577 Q334111 Q2498455 Q3407316 Q57413 Q57410 Q19943 Q57418 Q20090884 Q21968142 Q317894 Q19628885 Q163813 Q57356 Q24692 Q456902 Q5220343 Q1707507 Q33168 Q2124 Q296054 Q360462 Q18352991 Q599988 Q297057 Q229493 Q373605 Q380187 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q352 Q233984 Q314464 Q1898405 Q130834 Q12976 Q12974 Q12973 Q12971 Q150652 Q1459658 Q128371 Q150712 Q319153 Q57634 Q314514 Q57306 Q19831445 Q299173 Q22368 Q206421 Q310136 Q39259 Q307871 Q2757 Q57458 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q65917 Q380985 Q15039600 Q2628 Q19831449
(c(Q35798)|c(Q1048835),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q187149
relation P35
type Q35798
type Q1048835
[ANSWERS] are elected as the head of state of lesser number of executive branches and political territories than Umberto II of Italy
[[{'concept': 'Q35798'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:P35 ?p . ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q35798 } UNION { ?j property:P35 ?p . ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P35 resource:Q187149 . { { ?c rdf:type ontology:Q35798 } UNION { ?c rdf:type ontology:Q1048835 } } } } . FILTER ( ?r < ?k ) }
Beatrix of the Netherlands Umar II Michal Kováč Maithripala Sirisena Marcelo Rebelo de Sousa Thomas Currie Jonathan Lambert Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Andrzej Duda Willem-Alexander of the Netherlands John Woolley François Hollande Giorgi Margvelashvili Michel Temer Robert Ben Madison Konstantinos Tsatsos Kolinda Grabar-Kitarović 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 José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Ferdinand I of Bulgaria 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 Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando Sprent Dabwido Enrique Peña Nieto Mohammad Najibullah Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Muawiyah I Giuseppe Bertoleoni Chun Doo-hwan Muawiya II Jérôme Bonaparte Lech Wałęsa Vít Jedlička Isabel Saint Malo Željko Komšić Ahmad bin Yahya Alpha Condé Danilo Medina Letsie III of Lesotho Tony Tan Keng Yam Hery Rajaonarimampianina Michel Aoun Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Nicolae Timofti Moshe Katsav Ma Ying-jeou Ashraf Ghani Ahmadzai Xi Jinping Zalman Shazar Liu Shaoqi Jam Nizamuddin II Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska 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 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 Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Philippe of Belgium Uhuru Kenyatta Tupou VI Raimonds Vējonis Suharto Dmitry Medvedev Héctor García Godoy Khieu Samphan Dési Bouterse Filip Vujanović Joaquín Balaguer Nitish Kumar Marie Louise Coleiro Preca Yang Shangkun Václav Havel Arnulf of Carinthia Paddy Roy Bates Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah 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 Gustaf VI Adolf of Sweden Tomislav Nikolić Václav Klaus Gjorge Ivanov Macky Sall Christos Sartzetakis Friedrich Ebert Park Chung-hee Jacques Chirac Karl Dönitz Mladen Ivanić François Mitterrand Ratael Correa Charles XIV John of Sweden Archduke John of Austria Ali Abdullah Saleh Kersti Kaljulaid King Louis I of Talossa Jiang Zemin Oleksandr Turchynov Michail Stasinopoulos Albert II Albert II Atifete Jahjaga Andris Bērziņš 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 Louis the Child Antanas Smetona Mswati III Philip III of Spain Jozo Križanović Ezer Weizman Ibrahim Boubacar Keïta Hu Jintao Zviad Gamsakhurdia Tion Otang Abu Bakr Erasme Louis Surlet de Chokier Abdullah of Saudi Arabia Wilhelmina of the Netherlands 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 Fernando Henrique Cardoso José Mujica 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 Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Tarja Halonen Oscar I of Sweden Itamar Franco Paul Kagame Evo Morales Sardar Muhammad Yaqoob Khan Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau 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 Roh Tae-woo Peter Mutharika 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 Frederick III, Elector of Saxony Ye Jianying Yazid I Norodom Sihanouk Yuan Shikai Beji Caid el Sebsi Pedro Pablo Kuczynski Zhu De Qaboos bin Said al Said Ahmet Necdet Sezer Ali Khamenei Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Inayatullah Khan Jam Unar Raúl Castro Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Conrad I of Germany Henri, Grand Duke of Luxembourg Jacobo Majluta Azar Pierre Nkurunziza Manuel Serifo Nhamadjo Donald Ramotar Tsakhiagiin Elbegdorj Roh Moo-hyun Lee Myung-bak Bidhya Bhandari Tonino Bertoleoni Habibullāh Kalakāni Antonín Novotný Ameenah Gurib-Fakim Bacharuddin Jusuf Habibie Ismail Shammout Louis the German Salvador Sánchez Cerén Valdas Adamkus Tamim bin Hamad Al Thani Nicolás Maduro Mário Soares Jorge Sampaio Georges Pompidou Taur Matan Ruak Michel Martelly Jorge Carlos Fonseca Sabah Al-Ahmad Al-Jaber Al-Sabah Aleksandr Zakharchenko François Duvalier Leonel Fernández el ladron Antonín Zápotocký Juliana of the Netherlands Mao Zedong Abdul Halim of Kedah Stephen Vladislav II of Syrmia Niels Vermeersch Yitzhak Navon Joseph Bonaparte Yazid III Mohammed Zahir Shah Gian Galeazzo Visconti Henry I the Fowler Baron Waqa Choi Kyu-ha Dragan Čović Alexander Ankvab John Charlton Rudge Ihor Plotnytskiy Borut Pahor Süleyman Demirel Arkadi Ghukasyan Boris Yeltsin Toomas Hendrik Ilves Hamad bin Khalifa Al Thani Jacob Zuma Ólafur Ragnar Grímsson Ernest Bai Koroma János Áder Ludvík Svoboda Paul von Hindenburg Abdelaziz Bouteflika Abdul Hamid Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Pearlette Louisy Izyaslav of Polotsk Boris III of Bulgaria John Mahama Francis Kenneth Kaunda Al-Walid II Uthman ibn Affan Bakir Izetbegović Stjepan Mesić Burhanuddin Rabbani Otto I the Great Marwan I 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 Eliud Williams Kalvakuntla Chandrashekar Valéry Giscard d'Estaing Klement Gottwald Bako Sahakyan Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Nino Burjanadze 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 Konijeti Rosaiah Francis I of Austria Baudouin of Belgium Albert I Leopold III Leopold I 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ć Recep Tayyip Erdoğan Abdel Fattah el-Sisi Lech Kaczyński Ikililou Dhoinine 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
Václav Havel, Adolf Hitler and Michelle Bachelet are elected as the head of state of lesser number of executive branches and political territories than Umberto II of Italy
Václav Havel Adolf Hitler Michelle Bachelet
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Umberto II of Italy
relation head of state
type executive branch
type political territorial entity
[[{'concept': 'executive branch'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:head_of_state ?p . ?p rdf:type ontology:common_name . ?j rdf:type ontology:executive_branch } UNION { ?j property:head_of_state ?p . ?p rdf:type ontology:common_name . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:head_of_state resource:Umberto_II_of_Italy . { { ?c rdf:type ontology:executive_branch } UNION { ?c rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?r < ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2563
P35
Q502895 Q35798 Q1048835
USER
And how about Roman Herzog?
(c(Q35798)|c(Q1048835),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q2563
relation P35
type Q35798
type Q1048835
[[{'concept': 'Q35798'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?i WHERE { { ?b property:P35 ?i . ?i rdf:type ontology:Q502895 . ?b rdf:type ontology:Q35798 } UNION { ?b property:P35 ?i . ?b rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } . FILTER ( ?a < ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { { ?j rdf:type ontology:Q35798 } UNION { ?j rdf:type ontology:Q1048835 } } . ?j property:P35 resource:Q2563 } } }
Roman Herzog
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Roman Herzog
relation head of state
type executive branch
type political territorial entity
[[{'concept': 'executive branch'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?i WHERE { { ?b property:head_of_state ?i . ?i rdf:type ontology:common_name . ?b rdf:type ontology:executive_branch } UNION { ?b property:head_of_state ?i . ?b rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:common_name } } GROUP BY ?i } . FILTER ( ?a < ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { { ?j rdf:type ontology:executive_branch } UNION { ?j rdf:type ontology:political_territorial_entity } } . ?j property:head_of_state resource:Roman_Herzog } } }
[]
common name executive branch political territorial entity
Q36233 Q352 Q320
SYSTEM
Václav Havel, Adolf Hitler, Michelle Bachelet
Q29574 Q298403 Q356990 Q6737124 Q6756617 Q19830768 Q19830761 Q57530 Q110330 Q709734 Q653611 Q153620 Q9151911 Q154952 Q19464383 Q157 Q13107337 Q463533 Q19830715 Q365209 Q3176299 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q151929 Q153986 Q43179 Q56226 Q16105901 Q171977 Q57491 Q57313 Q236503 Q57315 Q151667 Q55758 Q1359023 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q310775 Q57385 Q157651 Q6809265 Q128332 Q629702 Q13631996 Q367825 Q1059948 Q57405 Q57407 Q57402 Q310536 Q16105972 Q57543 Q296741 Q207728 Q19831439 Q78492 Q19831437 Q181154 Q19831432 Q14362 Q264210 Q151087 Q444 Q19810371 Q16765135 Q297825 Q400961 Q4413 Q57429 Q57537 Q38987 Q15382355 Q363392 Q57473 Q5901842 Q57348 Q361173 Q12967 Q57478 Q181832 Q19216 Q172388 Q15031 Q299100 Q16988 Q16849387 Q294969 Q561837 Q12762303 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q154444 Q284233 Q2610 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q19831452 Q2625711 Q1464 Q968038 Q128416 Q29032 Q310247 Q289285 Q2866 Q2042 Q155004 Q196070 Q208497 Q2416022 Q44819 Q23530 Q880065 Q379203 Q57667 Q57542 Q147989 Q122304 Q6762928 Q377935 Q36233 Q154936 Q555531 Q236853 Q17485808 Q57324 Q57327 Q6707612 Q16669148 Q290786 Q57480 Q57482 Q773874 Q192049 Q886786 Q7244117 Q12149 Q2960197 Q36788 Q502185 Q57390 Q57392 Q57394 Q57398 Q6127060 Q52878 Q57431 Q57434 Q57436 Q57438 Q344729 Q2646 Q14356 Q2105 Q76437 Q944643 Q2038 Q19581 Q52927 Q93427 Q483672 Q12366816 Q19830746 Q16597 Q15850 Q373532 Q3911 Q3910 Q57509 Q57506 Q284003 Q16908893 Q37181 Q52890 Q43330 Q128894 Q76127 Q191045 Q12950 Q157099 Q296950 Q57340 Q34464 Q2665070 Q128911 Q324108 Q15029 Q218435 Q4250160 Q334923 Q1079522 Q57298 Q150747 Q4414 Q2498541 Q2677 Q188409 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q5018756 Q15054736 Q9099 Q230578 Q9094 Q1112792 Q3518013 Q8467 Q2601 Q2602 Q2607 Q612803 Q3318231 Q295141 Q314791 Q39619 Q2091478 Q52925 Q52924 Q29213 Q52926 Q485946 Q1231345 Q42410 Q69569 Q1568274 Q10665 Q2444338 Q23034482 Q18117069 Q156806 Q336285 Q163945 Q602428 Q45785 Q15633683 Q30487 Q223183 Q172183 Q311413 Q213791 Q58077 Q12911 Q76167 Q242651 Q7176020 Q156502 Q17995110 Q42852 Q171684 Q57553 Q511888 Q257425 Q58600 Q468847 Q57311 Q379148 Q77233 Q504372 Q217442 Q160318 Q210329 Q313539 Q381027 Q22513 Q57331 Q165487 Q57336 Q57232 Q1455923 Q613051 Q471037 Q6127112 Q46809 Q19831185 Q19831184 Q19831183 Q157121 Q16004 Q5972763 Q57343 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q19831457 Q473247 Q156494 Q20022984 Q76156 Q1982245 Q152463 Q936831 Q153167 Q1855372 Q58132 Q156781 Q156780 Q2185 Q57519 Q57512 Q57517 Q57555 Q17488307 Q187697 Q151944 Q371854 Q154946 Q5816 Q57550 Q661663 Q19861344 Q311583 Q7726 Q128413 Q152265 Q357539 Q150620 Q563297 Q313350 Q559756 Q313355 Q6225811 Q17582456 Q206471 Q151729 Q541507 Q34453 Q57289 Q57360 Q57282 Q57284 Q57460 Q57467 Q310000 Q2667 Q57308 Q3246667 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q239717 Q2357762 Q159585 Q50678 Q450675 Q105480 Q128307 Q37731 Q312355 Q146496 Q188667 Q43915 Q298577 Q334111 Q2498455 Q3407316 Q57413 Q57410 Q19943 Q57418 Q20090884 Q21968142 Q317894 Q19628885 Q163813 Q57356 Q24692 Q456902 Q5220343 Q1707507 Q33168 Q2124 Q296054 Q360462 Q18352991 Q599988 Q297057 Q229493 Q373605 Q380187 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q352 Q233984 Q314464 Q1898405 Q130834 Q12976 Q12974 Q12973 Q12971 Q150652 Q1459658 Q128371 Q150712 Q319153 Q57634 Q314514 Q57306 Q19831445 Q299173 Q22368 Q206421 Q310136 Q39259 Q307871 Q2757 Q57458 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q65917 Q380985 Q15039600 Q2628 Q19831449
(c(Q35798)|c(Q1048835),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q2563
relation P35
type Q35798
type Q1048835
[ANSWERS]
[[{'concept': 'Q35798'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?i WHERE { { ?b property:P35 ?i . ?i rdf:type ontology:Q502895 . ?b rdf:type ontology:Q35798 } UNION { ?b property:P35 ?i . ?b rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } . FILTER ( ?a < ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { { ?j rdf:type ontology:Q35798 } UNION { ?j rdf:type ontology:Q1048835 } } . ?j property:P35 resource:Q2563 } } }
Beatrix of the Netherlands Umar II Michal Kováč Maithripala Sirisena Marcelo Rebelo de Sousa Thomas Currie Jonathan Lambert Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Andrzej Duda Willem-Alexander of the Netherlands John Woolley François Hollande Giorgi Margvelashvili Michel Temer Robert Ben Madison Konstantinos Tsatsos Kolinda Grabar-Kitarović 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 José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Ferdinand I of Bulgaria 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 Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando Sprent Dabwido Enrique Peña Nieto Mohammad Najibullah Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Muawiyah I Giuseppe Bertoleoni Chun Doo-hwan Muawiya II Jérôme Bonaparte Lech Wałęsa Vít Jedlička Isabel Saint Malo Željko Komšić Ahmad bin Yahya Alpha Condé Danilo Medina Letsie III of Lesotho Tony Tan Keng Yam Hery Rajaonarimampianina Michel Aoun Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Nicolae Timofti Moshe Katsav Ma Ying-jeou Ashraf Ghani Ahmadzai Xi Jinping Zalman Shazar Liu Shaoqi Jam Nizamuddin II Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska 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 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 Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Philippe of Belgium Uhuru Kenyatta Tupou VI Raimonds Vējonis Suharto Dmitry Medvedev Héctor García Godoy Khieu Samphan Dési Bouterse Filip Vujanović Joaquín Balaguer Nitish Kumar Marie Louise Coleiro Preca Yang Shangkun Václav Havel Arnulf of Carinthia Paddy Roy Bates Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah 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 Gustaf VI Adolf of Sweden Tomislav Nikolić Václav Klaus Gjorge Ivanov Macky Sall Christos Sartzetakis Friedrich Ebert Park Chung-hee Jacques Chirac Karl Dönitz Mladen Ivanić François Mitterrand Ratael Correa Charles XIV John of Sweden Archduke John of Austria Ali Abdullah Saleh Kersti Kaljulaid King Louis I of Talossa Jiang Zemin Oleksandr Turchynov Michail Stasinopoulos Albert II Albert II Atifete Jahjaga Andris Bērziņš 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 Louis the Child Antanas Smetona Mswati III Philip III of Spain Jozo Križanović Ezer Weizman Ibrahim Boubacar Keïta Hu Jintao Zviad Gamsakhurdia Tion Otang Abu Bakr Erasme Louis Surlet de Chokier Abdullah of Saudi Arabia Wilhelmina of the Netherlands 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 Fernando Henrique Cardoso José Mujica 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 Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Tarja Halonen Oscar I of Sweden Itamar Franco Paul Kagame Evo Morales Sardar Muhammad Yaqoob Khan Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau 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 Roh Tae-woo Peter Mutharika 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 Frederick III, Elector of Saxony Ye Jianying Yazid I Norodom Sihanouk Yuan Shikai Beji Caid el Sebsi Pedro Pablo Kuczynski Zhu De Qaboos bin Said al Said Ahmet Necdet Sezer Ali Khamenei Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Inayatullah Khan Jam Unar Raúl Castro Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Conrad I of Germany Henri, Grand Duke of Luxembourg Jacobo Majluta Azar Pierre Nkurunziza Manuel Serifo Nhamadjo Donald Ramotar Tsakhiagiin Elbegdorj Roh Moo-hyun Lee Myung-bak Bidhya Bhandari Tonino Bertoleoni Habibullāh Kalakāni Antonín Novotný Ameenah Gurib-Fakim Bacharuddin Jusuf Habibie Ismail Shammout Louis the German Salvador Sánchez Cerén Valdas Adamkus Tamim bin Hamad Al Thani Nicolás Maduro Mário Soares Jorge Sampaio Georges Pompidou Taur Matan Ruak Michel Martelly Jorge Carlos Fonseca Sabah Al-Ahmad Al-Jaber Al-Sabah Aleksandr Zakharchenko François Duvalier Leonel Fernández el ladron Antonín Zápotocký Juliana of the Netherlands Mao Zedong Abdul Halim of Kedah Stephen Vladislav II of Syrmia Niels Vermeersch Yitzhak Navon Joseph Bonaparte Yazid III Mohammed Zahir Shah Gian Galeazzo Visconti Henry I the Fowler Baron Waqa Choi Kyu-ha Dragan Čović Alexander Ankvab John Charlton Rudge Ihor Plotnytskiy Borut Pahor Süleyman Demirel Arkadi Ghukasyan Boris Yeltsin Toomas Hendrik Ilves Hamad bin Khalifa Al Thani Jacob Zuma Ólafur Ragnar Grímsson Ernest Bai Koroma János Áder Ludvík Svoboda Paul von Hindenburg Abdelaziz Bouteflika Abdul Hamid Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Pearlette Louisy Izyaslav of Polotsk Boris III of Bulgaria John Mahama Francis Kenneth Kaunda Al-Walid II Uthman ibn Affan Bakir Izetbegović Stjepan Mesić Burhanuddin Rabbani Otto I the Great Marwan I 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 Eliud Williams Kalvakuntla Chandrashekar Valéry Giscard d'Estaing Klement Gottwald Bako Sahakyan Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Nino Burjanadze 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 Konijeti Rosaiah Francis I of Austria Baudouin of Belgium Albert I Leopold III Leopold I 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ć Recep Tayyip Erdoğan Abdel Fattah el-Sisi Lech Kaczyński Ikililou Dhoinine 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
Václav Havel Adolf Hitler Michelle Bachelet
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Roman Herzog
relation head of state
type executive branch
type political territorial entity
[[{'concept': 'executive branch'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?i WHERE { { ?b property:head_of_state ?i . ?i rdf:type ontology:common_name . ?b rdf:type ontology:executive_branch } UNION { ?b property:head_of_state ?i . ?b rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:common_name } } GROUP BY ?i } . FILTER ( ?a < ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { { ?j rdf:type ontology:executive_branch } UNION { ?j rdf:type ontology:political_territorial_entity } } . ?j property:head_of_state resource:Roman_Herzog } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q36233 Q352 Q320
P1038
Q502895
USER
Who are kins of Václav Havel, Adolf Hitler and Michelle Bachelet ?
(c(Q502895),P1038,Q36233) (c(Q502895),P1038,Q352) (c(Q502895),P1038,Q320)
action union
action filter_type
action find_reverse
entity Q352
relation P1038
type Q502895
action filter_type
action find_reverse
entity Q320
relation P1038
type Q502895
action filter_type
action find_reverse
entity Q36233
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q36233'] [{'concept': 'Q502895'}, 'P1038', 'Q352'] [{'concept': 'Q502895'}, 'P1038', 'Q320']
SELECT DISTINCT ?n WHERE { ?n property:P1038 ?f . VALUES ( ?f ) { ( resource:Q352 ) ( resource:Q320 ) } }
Václav Havel Adolf Hitler Michelle Bachelet
action union
action filter_type
action find_reverse
entity Adolf Hitler
relation relative
type common name
action filter_type
action find_reverse
entity Michelle Bachelet
relation relative
type common name
action filter_type
action find_reverse
entity Václav Havel
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Václav Havel'] [{'concept': 'common name'}, 'relative', 'Adolf Hitler'] [{'concept': 'common name'}, 'relative', 'Michelle Bachelet']
SELECT DISTINCT ?n WHERE { ?n property:relative ?f . VALUES ( ?f ) { ( resource:Adolf_Hitler ) ( resource:Michelle_Bachelet ) } }
[]
common name
Q6216378 Q2779550 Q22132490
SYSTEM
Johanna Hiedler, Maria Schicklgruber, Johann Baptist Pölzl
Q5107449 Q22133397 Q22101705 Q64799 Q22132490 Q22085679 Q385804 Q22092225 Q454576 Q22086756 Q22677145 Q22085545 Q22117389 Q22114544 Q22117373 Q84642 Q22572343 Q22132157 Q22132150 Q4613831 Q22121831 Q6216378 Q22090133 Q22121817 Q22133423 Q2779550 Q698102 Q22087732 Q22087758 Q6001165 Q1903961 Q85046 Q22116733 Q22116705 Q1165052 Q22087804 Q6035647
(c(Q502895),P1038,Q36233) (c(Q502895),P1038,Q352) (c(Q502895),P1038,Q320)
action union
action filter_type
action find_reverse
entity Q352
relation P1038
type Q502895
action filter_type
action find_reverse
entity Q320
relation P1038
type Q502895
action filter_type
action find_reverse
entity Q36233
relation P1038
type Q502895
Kins of Václav Havel , Adolf Hitler and Michelle Bachelet are born [ANSWERS]
[{'concept': 'Q502895'}, 'P1038', 'Q36233'] [{'concept': 'Q502895'}, 'P1038', 'Q352'] [{'concept': 'Q502895'}, 'P1038', 'Q320']
SELECT DISTINCT ?n WHERE { ?n property:P1038 ?f . VALUES ( ?f ) { ( resource:Q352 ) ( resource:Q320 ) } }
Dagmar Havlová Peter Raubal Adolf Koppensteiner Heinz Hitler Johann Baptist Pölzl Anton Schmidt Johann Georg Hiedler Eduard Schmidt Bridget Dowling Elfriede Hochegger Friedrich Braun Therese Schmidt Josefa Veit Aloisia Veit Josef Veit Geli Raubal Hedwig Mickley Anna Maria Göschl Martin Hiedler Franziska Braun Theresia Pfeisinger Johanna Hiedler Johanna Pölzl Johann Schicklgruber Heiner Hochegger Maria Schicklgruber William Patrick Stuart-Houston Johann Schmidt junior Johann Schmidt Ilse Braun Martin Heinrich Hammitzsch Leo Rudolf Raubal Josepha Schicklgruber Viktoria Veit Gretl Braun Maria Koppensteiner Máximo Jeria
Kins of Václav Havel , Adolf Hitler and Michelle Bachelet are born Johanna Hiedler, Maria Schicklgruber and Johann Baptist Pölzl
Johanna Hiedler Maria Schicklgruber Johann Baptist Pölzl
action union
action filter_type
action find_reverse
entity Adolf Hitler
relation relative
type common name
action filter_type
action find_reverse
entity Michelle Bachelet
relation relative
type common name
action filter_type
action find_reverse
entity Václav Havel
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Václav Havel'] [{'concept': 'common name'}, 'relative', 'Adolf Hitler'] [{'concept': 'common name'}, 'relative', 'Michelle Bachelet']
SELECT DISTINCT ?n WHERE { ?n property:relative ?f . VALUES ( ?f ) { ( resource:Adolf_Hitler ) ( resource:Michelle_Bachelet ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6216378 Q2779550 Q22132490
P21
Q290
USER
What are the sex of Johanna Hiedler, Maria Schicklgruber and Johann Baptist Pölzl ?
(Q6216378,P21,c(Q290)) (Q2779550,P21,c(Q290)) (Q22132490,P21,c(Q290))
action union
action filter_type
action find
entity Q6216378
relation P21
type Q290
action filter_type
action find
entity Q2779550
relation P21
type Q290
action filter_type
action find
entity Q22132490
relation P21
type Q290
['Q6216378', 'P21', {'concept': 'Q290'}] ['Q2779550', 'P21', {'concept': 'Q290'}] ['Q22132490', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?j property:P21 ?g . VALUES ( ?j ) { ( resource:Q6216378 ) ( resource:Q2779550 ) } }
Johanna Hiedler Maria Schicklgruber Johann Baptist Pölzl
action union
action filter_type
action find
entity Johanna Hiedler
relation gender
type sex
action filter_type
action find
entity Maria Schicklgruber
relation gender
type sex
action filter_type
action find
entity Johann Baptist Pölzl
relation gender
type sex
['Johanna Hiedler', 'gender', {'concept': 'sex'}] ['Maria Schicklgruber', 'gender', {'concept': 'sex'}] ['Johann Baptist Pölzl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?j property:gender ?g . VALUES ( ?j ) { ( resource:Johanna_Hiedler ) ( resource:Maria_Schicklgruber ) } }
[]
sex
Q6581072 Q6581072 Q6581097
SYSTEM
male for 3rd, female for 1st, 2nd
Q6581072 Q6581072 Q6581097
(Q6216378,P21,c(Q290)) (Q2779550,P21,c(Q290)) (Q22132490,P21,c(Q290))
action union
action filter_type
action find
entity Q6216378
relation P21
type Q290
action filter_type
action find
entity Q2779550
relation P21
type Q290
action filter_type
action find
entity Q22132490
relation P21
type Q290
[ANSWERS]
['Q6216378', 'P21', {'concept': 'Q290'}] ['Q2779550', 'P21', {'concept': 'Q290'}] ['Q22132490', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?j property:P21 ?g . VALUES ( ?j ) { ( resource:Q6216378 ) ( resource:Q2779550 ) } }
female female male
The sex of Johanna Hiedler , Maria Schicklgruber and Johann Baptist Pölzl are the female, female and male
female female male
action union
action filter_type
action find
entity Johanna Hiedler
relation gender
type sex
action filter_type
action find
entity Maria Schicklgruber
relation gender
type sex
action filter_type
action find
entity Johann Baptist Pölzl
relation gender
type sex
['Johanna Hiedler', 'gender', {'concept': 'sex'}] ['Maria Schicklgruber', 'gender', {'concept': 'sex'}] ['Johann Baptist Pölzl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?j property:gender ?g . VALUES ( ?j ) { ( resource:Johanna_Hiedler ) ( resource:Maria_Schicklgruber ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6216378
P734
Q82799
USER
Who are associated with Johanna Hiedler ?
(Q6216378,P734,c(Q82799))
action filter_type
action find
entity Q6216378
relation P734
type Q82799
['Q6216378', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q6216378 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Johanna Hiedler
action filter_type
action find
entity Johanna Hiedler
relation family name
type name
['Johanna Hiedler', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Johanna_Hiedler property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q1301480 Q22084513
SYSTEM
Pölzl, Hiedler
Q1301480 Q22084513
(Q6216378,P734,c(Q82799))
action filter_type
action find
entity Q6216378
relation P734
type Q82799
[ANSWERS] are associated with Johanna Hiedler
['Q6216378', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q6216378 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Pölzl Hiedler
Pölzl and Hiedler are associated with Johanna Hiedler
Pölzl Hiedler
action filter_type
action find
entity Johanna Hiedler
relation family name
type name
['Johanna Hiedler', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Johanna_Hiedler property:family_name ?m . ?m rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6216378
P25
Q502895
USER
Which people have Johanna Hiedler as a parent ?
(c(Q502895),P25,Q6216378)
action filter_type
action find_reverse
entity Q6216378
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q6216378']
SELECT DISTINCT ?g WHERE { ?g property:P25 resource:Q6216378 . ?g rdf:type ontology:Q502895 }
Johanna Hiedler
action filter_type
action find_reverse
entity Johanna Hiedler
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Johanna Hiedler']
SELECT DISTINCT ?g WHERE { ?g property:mother resource:Johanna_Hiedler . ?g rdf:type ontology:common_name }
[]
common name
Q158314 Q22090133 Q22085545
SYSTEM
Klara Hitler, Johanna Pölzl, Therese Schmidt
Q158314 Q22090133 Q22085545
(c(Q502895),P25,Q6216378)
action filter_type
action find_reverse
entity Q6216378
relation P25
type Q502895
[ANSWERS] have Johanna Hiedler as a parent
[{'concept': 'Q502895'}, 'P25', 'Q6216378']
SELECT DISTINCT ?g WHERE { ?g property:P25 resource:Q6216378 . ?g rdf:type ontology:Q502895 }
Klara Hitler Johanna Pölzl Therese Schmidt
Klara Hitler, Johanna Pölzl and Therese Schmidt have Johanna Hiedler as a parent
Klara Hitler Johanna Pölzl Therese Schmidt
action filter_type
action find_reverse
entity Johanna Hiedler
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Johanna Hiedler']
SELECT DISTINCT ?g WHERE { ?g property:mother resource:Johanna_Hiedler . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q158314 Q22090133 Q22085545
P1038
Q502895
USER
Who are a relative of those ones ?
(c(Q502895),P1038,Q158314) (c(Q502895),P1038,Q22090133) (c(Q502895),P1038,Q22085545)
action filter_type
action find
entity prev_answer
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q158314'] [{'concept': 'Q502895'}, 'P1038', 'Q22090133'] [{'concept': 'Q502895'}, 'P1038', 'Q22085545']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q158314 ) ( resource:Q22090133 ) ( resource:Q22085545 ) } . ?w property:P1038 ?y }
Klara Hitler Johanna Pölzl Therese Schmidt
action filter_type
action find
entity prev_answer
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Klara Hitler'] [{'concept': 'common name'}, 'relative', 'Johanna Pölzl'] [{'concept': 'common name'}, 'relative', 'Therese Schmidt']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Klara_Hitler ) ( resource:Johanna_Pölzl ) ( resource:Therese_Schmidt ) } . ?w property:relative ?y }
[]
common name
Q352 Q352 Q84328
SYSTEM
Adolf Hitler for 1st, 2nd, Paula Hitler for 3rd
Q76433 Q22085679 Q385804 Q22092225 Q2779550 Q22087758 Q22087804 Q352 Q22085679 Q22092225 Q22084744 Q22084764 Q22084776 Q22084775 Q22087758 Q84328 Q22087804 Q352 Q22101705 Q22084744 Q22084764 Q22084776 Q22084775 Q22087732 Q84328
(c(Q502895),P1038,Q158314) (c(Q502895),P1038,Q22090133) (c(Q502895),P1038,Q22085545)
action filter_type
action find
entity prev_answer
relation P1038
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1038', 'Q158314'] [{'concept': 'Q502895'}, 'P1038', 'Q22090133'] [{'concept': 'Q502895'}, 'P1038', 'Q22085545']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q158314 ) ( resource:Q22090133 ) ( resource:Q22085545 ) } . ?w property:P1038 ?y }
Eva Braun Anton Schmidt Johann Georg Hiedler Eduard Schmidt Maria Schicklgruber Johann Schmidt Maria Koppensteiner Adolf Hitler Anton Schmidt Eduard Schmidt Gustav Hitler Ida Hitler Edmund Hitler Otto Hitler Johann Schmidt Paula Hitler Maria Koppensteiner Adolf Hitler Adolf Koppensteiner Gustav Hitler Ida Hitler Edmund Hitler Otto Hitler Johann Schmidt junior Paula Hitler
A relative of those ones are Adolf Hitler, Adolf Hitler and Paula Hitler
Adolf Hitler Adolf Hitler Paula Hitler
action filter_type
action find
entity prev_answer
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Klara Hitler'] [{'concept': 'common name'}, 'relative', 'Johanna Pölzl'] [{'concept': 'common name'}, 'relative', 'Therese Schmidt']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Klara_Hitler ) ( resource:Johanna_Pölzl ) ( resource:Therese_Schmidt ) } . ?w property:relative ?y }
[]