Simple Question (Direct)
Simple Question
Q271343
P641
Q31629
USER
Which type of sport was Nelli Cooman a part of ?
(Q271343,P641,c(Q31629))
action filter_type
action find
entity Q271343
relation P641
type Q31629
['Q271343', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { resource:Q271343 property:P641 ?z . ?z rdf:type ontology:Q31629 }
Nelli Cooman
action filter_type
action find
entity Nelli Cooman
relation sport
type type of sport
['Nelli Cooman', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { resource:Nelli_Cooman property:sport ?z . ?z rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q271343,P641,c(Q31629))
action filter_type
action find
entity Q271343
relation P641
type Q31629
The [ANSWER] was Nelli Cooman a part of
['Q271343', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { resource:Q271343 property:P641 ?z . ?z rdf:type ontology:Q31629 }
athletics
The athletics was Nelli Cooman a part of
athletics
action filter_type
action find
entity Nelli Cooman
relation sport
type type of sport
['Nelli Cooman', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { resource:Nelli_Cooman property:sport ?z . ?z rdf:type ontology:type_of_sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q976974
P35
Q502895 Q15617994 Q1048835
USER
Which people are the heads of state of approximately the same number of administrative territories and political territories as Peter Cosgrove ?
(c(Q15617994)|c(Q1048835),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 Q1048835
action count
action filter_multi_types
action find_reverse
entity Q976974
relation P35
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:P35 ?i . ?i rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P35 ?i . ?i rdf:type ontology:Q502895 . ?h rdf:type ontology:Q1048835 } } GROUP BY ?i } . FILTER ( ?c = ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P35 resource:Q976974 . { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } }
Peter Cosgrove
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 political territorial entity
action count
action filter_multi_types
action find_reverse
entity Peter Cosgrove
relation head of state
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:head_of_state ?i . ?i rdf:type ontology:common_name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:head_of_state ?i . ?i rdf:type ontology:common_name . ?h rdf:type ontology:political_territorial_entity } } GROUP BY ?i } . FILTER ( ?c = ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:head_of_state resource:Peter_Cosgrove . { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } }
[]
common name designation for an administrative territorial entity political territorial entity
Q36233 Q2567 Q320
SYSTEM
Václav Havel, Richard von Weizsäcker, Michelle Bachelet
Q29574 Q298403 Q2573 Q356990 Q2571 Q6737124 Q6756617 Q189732 Q57530 Q110330 Q709734 Q653611 Q153620 Q9151911 Q2494376 Q67345 Q13107337 Q463533 Q365209 Q3176299 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q45068 Q151929 Q153986 Q43179 Q56226 Q57491 Q57319 Q57258 Q57313 Q236503 Q57315 Q55758 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q57385 Q128332 Q629702 Q13014 Q367825 Q1059948 Q57405 Q57407 Q57402 Q310536 Q16105972 Q57543 Q296741 Q207728 Q78490 Q152756 Q352200 Q181154 Q14362 Q151312 Q264210 Q444 Q267745 Q58056 Q16765135 Q297825 Q4413 Q57429 Q57537 Q94941 Q15382355 Q363392 Q57473 Q5901842 Q57348 Q361173 Q12967 Q157812 Q3956186 Q1245 Q57478 Q1241 Q1240 Q1242 Q181832 Q444290 Q172388 Q15031 Q1238 Q299100 Q16988 Q1230 Q1233 Q1235 Q294969 Q561837 Q12762303 Q20875 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q284233 Q295212 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q2625711 Q1464 Q968038 Q128416 Q29032 Q29207 Q310247 Q289285 Q2866 Q2042 Q155002 Q155004 Q196070 Q208497 Q250087 Q2416022 Q9439 Q44819 Q23530 Q1354851 Q880065 Q335323 Q2542 Q2540 Q57667 Q299152 Q57542 Q735387 Q6762928 Q377935 Q36233 Q156617 Q157789 Q976974 Q236853 Q17485808 Q57324 Q57327 Q16669148 Q57480 Q57482 Q192049 Q12149 Q2960197 Q36788 Q57390 Q57392 Q57394 Q57398 Q2594 Q52878 Q570155 Q2112764 Q57431 Q57434 Q161958 Q57436 Q57438 Q344729 Q154998 Q182266 Q156187 Q14356 Q151305 Q2105 Q189186 Q335310 Q944643 Q2038 Q19581 Q52927 Q157793 Q483672 Q12366816 Q16597 Q15850 Q373532 Q3911 Q11753 Q57506 Q284003 Q16908893 Q37181 Q52890 Q128894 Q76127 Q191045 Q44329 Q296950 Q57340 Q2665070 Q362618 Q128911 Q15029 Q218435 Q4250160 Q1079522 Q157776 Q57298 Q57295 Q150747 Q4414 Q2498541 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q57279 Q5018756 Q15054736 Q9099 Q230578 Q9094 Q102139 Q1112792 Q612803 Q3318231 Q295141 Q314791 Q153832 Q270645 Q2091478 Q52925 Q52924 Q52926 Q485946 Q1231345 Q570195 Q42410 Q156572 Q1568274 Q10665 Q2444338 Q23034482 Q335033 Q18117069 Q336285 Q602428 Q45785 Q15633683 Q172183 Q311413 Q58077 Q12911 Q76167 Q2551 Q242651 Q7176020 Q84204 Q17995110 Q42852 Q171684 Q57553 Q57311 Q379148 Q504372 Q217442 Q355053 Q313539 Q84475 Q381027 Q22513 Q57331 Q165487 Q57336 Q153940 Q471037 Q46809 Q154993 Q354705 Q154041 Q16004 Q5972763 Q57343 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q473247 Q2569 Q20022984 Q76156 Q2563 Q2567 Q455854 Q157781 Q936831 Q153167 Q58132 Q156781 Q156780 Q2185 Q299629 Q11726 Q57519 Q57512 Q57517 Q57555 Q1354229 Q72856 Q154946 Q161059 Q5816 Q62483 Q57550 Q311583 Q128413 Q152265 Q357539 Q72898 Q1260 Q563297 Q313350 Q2582 Q206471 Q151729 Q34453 Q57289 Q172083 Q57282 Q153586 Q57287 Q57284 Q704339 Q57460 Q57467 Q57464 Q57308 Q3246667 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q239717 Q2357762 Q50678 Q4715 Q105480 Q128307 Q154460 Q312355 Q146496 Q188667 Q298577 Q1356927 Q2498455 Q3407316 Q57413 Q57410 Q19943 Q57418 Q20090884 Q21968142 Q317894 Q163813 Q57356 Q24692 Q456902 Q5220343 Q84263 Q1707507 Q2538 Q2124 Q18352991 Q599988 Q297057 Q57521 Q57526 Q373605 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q1382174 Q12976 Q12974 Q12973 Q12971 Q14257286 Q1459658 Q128371 Q319153 Q314514 Q57306 Q229300 Q299173 Q1228 Q1224 Q206421 Q1220 Q310136 Q57338 Q39259 Q307871 Q2757 Q51672 Q57458 Q333824 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q380985 Q15039600
(c(Q15617994)|c(Q1048835),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 Q1048835
action count
action filter_multi_types
action find_reverse
entity Q976974
relation P35
type Q15617994
type Q1048835
[ANSWERS] are the heads of state of approximately the same number of administrative territories and political territories as Peter Cosgrove
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:P35 ?i . ?i rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P35 ?i . ?i rdf:type ontology:Q502895 . ?h rdf:type ontology:Q1048835 } } GROUP BY ?i } . FILTER ( ?c = ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P35 resource:Q976974 . { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } }
Beatrix of the Netherlands Umar II Gustav Heinemann Michal Kováč Walter Scheel Maithripala Sirisena Marcelo Rebelo de Sousa Leonid Kravchuk Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Andrzej Duda Edmund Lawrence John William, Duke of Jülich-Cleves-Berg Giorgi Margvelashvili Michel Temer Konstantinos Tsatsos Kolinda Grabar-Kitarović Phaedon Gizikis Rupiah Banda Michelle Bachelet Arnold Rüütel Muhammadu Buhari Mohammed Magariaf Nicolas Sarkozy Carl XVI Gustaf of Sweden Eduard Shevardnadze Guy Scott Ellen Johnson Sirleaf Kim Jong-un Ricardo Martinelli Norodom Sihamoni Ivo Josipović José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Aleksander Kwaśniewski Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Teodoro Obiang Nguema Mbasogo Hisham ibn Abd al-Malik Leonid Kuchma 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 Sprent Dabwido Enrique Peña Nieto Mohammad Najibullah Thomas Klestil Frederick VIII of Denmark Charles II, Duke of Parma Muawiyah I Chun Doo-hwan Frederick IX of Denmark Muawiya II Lech Wałęsa William Deane Christopher of Bavaria Isabel Saint Malo Željko Komšić Alpha Condé Danilo Medina Letsie III of Lesotho Frederick VII of Denmark Hery Rajaonarimampianina Michel Aoun Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Frederick III of Denmark Sergio Mattarella Enrico De Nicola Nicolae Timofti Giovanni Gronchi Antonio Segni Luigi Einaudi Moshe Katsav Louis, King of Etruria Ashraf Ghani Ahmadzai Xi Jinping Giuseppe Saragat Zalman Shazar Liu Shaoqi Francesco Cossiga Sandro Pertini Giovanni Leone 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 Sulayman ibn Abd al-Malik Rosen Plevneliev Megawati Sukarnoputri Filipe Nyusi Kim Il-sung Prince Charles, Count of Flanders Kim Young-sam Mohammed Nadir Shah 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 Bill Hayden Raimonds Vējonis Queen Victoria Suharto Dmitry Medvedev John Kerr Héctor García Godoy William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Dési Bouterse Emil Constantinescu Filip Vujanović William McKell Marie Louise Coleiro Preca Yang Shangkun Václav Havel Christian X of Denmark Frederick I of Denmark Peter Cosgrove Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah Patrice Talon Abdrabbuh Mansour Hadi Mahamadou Issoufou Yun Posun Thein Sein Charles Savarin Abd al-Malik ibn Marwan Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva 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 Frederick V of Denmark Park Chung-hee Christian IX of Denmark Jacques Chirac Zelman Cowen Richard Casey, Baron Casey Mladen Ivanić François Mitterrand Ratael Correa Charles XIV John of Sweden Christian V of Denmark Ali Abdullah Saleh Kersti Kaljulaid Jiang Zemin Oleksandr Turchynov Michail Stasinopoulos Albert II Heinz Fischer Andris Bērziņš Al-Walid I José Mário Vaz Luiz Inácio Lula da Silva Gustaf V of Sweden Yitzhak Ben-Zvi Sukarno Felipe VI Bashar al-Assad Antanas Smetona Mswati III Jozo Križanović Adolph I, Duke of Cleves Ezer Weizman Hu Jintao Zviad Gamsakhurdia Tion Otang Erasme Louis Surlet de Chokier John, King of Denmark Abdullah of Saudi Arabia Ivan Gašparovič Wilhelmina of the Netherlands Faure Gnassingbé Rogvolod Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev Traian Băsescu John Magufuli Mulatu Teshome Tabaré Vázquez Fernando Henrique Cardoso José Mujica Margrethe II of Denmark Anna Maria Muccioli Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Alcide De Gasperi Rose Francine Rogombé Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Oscar I of Sweden Itamar Franco Paul Kagame John I, Duke of Cleves Evo Morales Christian VII of Denmark Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau William Slim, 1st Viscount Slim Baldwin Lonsdale Tommy Remengesau Antonio Guzmán Fernández Kim Dae-jung Catherine Samba-Panza Chaim Weizmann Li Xiannian Petro Poroshenko Christopher Loeak Abdurrahman Wahid Johannes Rau Roh Tae-woo Peter Mutharika Theodor Körner Jimmy Morales Abdullah Gül Rhee Syng-man Mohammed VI of Morocco Juan Manuel Santos Jean-Pierre Bemba Ye Jianying Yazid I Michael Jeffery Beji Caid el Sebsi Michael Hainisch Pedro Pablo Kuczynski Zhu De Qaboos bin Said al Said Ahmet Necdet Sezer Ali Khamenei Christian I of Denmark Inayatullah Khan Raúl Castro Christian VI of Denmark Frederick Ballantyne Frederick II of Denmark 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 Habibullāh Kalakāni Karl Carstens Ameenah Gurib-Fakim Bacharuddin Jusuf Habibie Roman Herzog Richard von Weizsäcker Reuven Rivlin Christian VIII of Denmark Salvador Sánchez Cerén Valdas Adamkus Nicolás Maduro 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 Peter Hollingworth Rudolf Kirchschläger Juliana of the Netherlands Frederick IV of Denmark Mao Zedong William, Duke of Jülich-Cleves-Berg Abdul Halim of Kedah Yitzhak Navon Yazid III Mohammed Zahir Shah Gian Galeazzo Visconti Adolf Schärf Kurt Waldheim Baron Waqa Choi Kyu-ha Heinrich Lübke Borut Pahor Süleyman Demirel Boris Yeltsin Toomas Hendrik Ilves Omar Bongo Jacob Zuma Christian IV of Denmark Harald V of Norway Ólafur Ragnar Grímsson John III, Duke of Cleves Ernest Bai Koroma János Áder Abdullah II of Jordan Abdelaziz Bouteflika Abdul Hamid Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Pearlette Louisy Izyaslav of Polotsk John Mahama Moncef Marzouki Kenneth Kaunda Al-Walid II Christian II of Denmark Bakir Izetbegović Stjepan Mesić Burhanuddin Rabbani Marwan I Ninian Stephen Bryachislav of Polotsk Prokopis Pavlopoulos Alassane Ouattara Shimon Peres Juan Carlos I Denis Sassou Nguesso Hilda C. Heine Casten Nemra Galeazzo Maria Sforza Rudolf Schuster Yahya Jammeh Almazbek Atambayev Gian Maria Visconti Danny Faure Wilhelm Miklas Eliud Williams Joachim Gauck Valéry Giscard d'Estaing Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Ali Bongo Ondimba Bujar Nishani Epeli Nailatikau Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Paul Hasluck Baudouin of Belgium Albert I Leopold III Leopold I Mamnoon Hussain Viktor Yanukovych Marwan II Hassan Sheikh Mohamud Gian Galeazzo Sforza Jalal Talabani Quentin Bryce Michael Sata Oscar Luigi Scalfaro Carlo Azeglio Ciampi Konstantinos Stephanopoulos Giorgio Napolitano Nebojša Radmanović Mahinda Rajapaksa Recep Tayyip Erdoğan Abdel Fattah el-Sisi 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ć Aleksandras Stulginskis Gian Carlo Capicchioni
Václav Havel, Richard von Weizsäcker and Michelle Bachelet are the heads of state of approximately the same number of administrative territories and political territories as Peter Cosgrove
Václav Havel Richard von Weizsäcker Michelle Bachelet
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 political territorial entity
action count
action filter_multi_types
action find_reverse
entity Peter Cosgrove
relation head of state
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:head_of_state ?i . ?i rdf:type ontology:common_name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:head_of_state ?i . ?i rdf:type ontology:common_name . ?h rdf:type ontology:political_territorial_entity } } GROUP BY ?i } . FILTER ( ?c = ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:head_of_state resource:Peter_Cosgrove . { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36233
P1196
Q1931388
USER
What situation did that person die in ?
(Q36233,P1196,c(Q1931388))
action filter_type
action find
entity Q36233
relation P1196
type Q1931388
['Q36233', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q36233 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Václav Havel
action filter_type
action find
entity Václav Havel
relation manner of death
type cause of death
['Václav Havel', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Václav_Havel property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Clarification for simple ques.
Q2567
SYSTEM
Did you mean Richard von Weizsäcker ?
Q36233 Q2567 Q320
(Q36233,P1196,c(Q1931388)) (Q2567,P1196,c(Q1931388)) (Q320,P1196,c(Q1931388))
[ANSWER]
['Q36233', 'P1196', {'concept': 'Q1931388'}] ['Q2567', 'P1196', {'concept': 'Q1931388'}] ['Q320', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q36233 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Václav Havel Richard von Weizsäcker Michelle Bachelet
Did you mean Richard von Weizsäcker ?
Richard von Weizsäcker
['Václav Havel', 'manner of death', {'concept': 'cause of death'}] ['Richard von Weizsäcker', 'manner of death', {'concept': 'cause of death'}] ['Michelle Bachelet', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Václav_Havel property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
USER
No, I meant Václav Havel. Could you tell me the answer for that?
(Q36233,P1196,c(Q1931388))
Q36233
['Q36233', 'P1196', {'concept': 'Q1931388'}]
['Václav Havel', 'manner of death', {'concept': 'cause of death'}]
[]
Q3739104
SYSTEM
natural causes
Q3739104
(Q36233,P1196,c(Q1931388))
action filter_type
action find
entity Q36233
relation P1196
type Q1931388
That person died in [ANSWER]
['Q36233', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q36233 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Václav Havel
relation manner of death
type cause of death
['Václav Havel', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Václav_Havel property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q15176855
P725
Q502895 Q15416
USER
Which television programs did more number of people dub for than Wizard Barristers: Benmashi Cecil ?
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q15176855
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?s ) WHERE { ?x property:P725 ?y . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15416 } GROUP BY ?x } . FILTER ( ?s > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q15176855 property:P725 ?t . ?t rdf:type ontology:Q15416 } } }
Wizard Barristers: Benmashi Cecil
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Wizard Barristers: Benmashi Cecil
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?s ) WHERE { ?x property:voice_actor ?y . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_program } GROUP BY ?x } . FILTER ( ?s > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Wizard_Barristers:_Benmashi_Cecil property:voice_actor ?t . ?t rdf:type ontology:television_program } } }
[]
common name television program
Q23558 Q15863567 Q15863577
SYSTEM
House, K-On!, K-On!!
Q689114 Q467722 Q2042834 Q23558 Q15863567 Q951078 Q18571935 Q165515 Q10358973 Q3596105 Q757148 Q543203 Q2275664 Q962132 Q18579178 Q20669175 Q25000347 Q1050091 Q18553975 Q18577675 Q1002254 Q550555 Q20899576 Q18558839 Q428130 Q18559016 Q17183708 Q18575654 Q3492143 Q1143800 Q15863577 Q331031
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q15176855
relation P725
type Q15416
[ANSWERS] more number of people dubbed for than Wizard Barristers: Benmashi Cecil
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?s ) WHERE { ?x property:P725 ?y . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15416 } GROUP BY ?x } . FILTER ( ?s > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q15176855 property:P725 ?t . ?t rdf:type ontology:Q15416 } } }
Digimon Adventure The Puppy's Further Adventures The Proud Family Movie House K-On! Hellsing The Big O 101 Dalmatians: The Series Reynard the Fox Popeye the Sailor Rocko's Modern Life Chip 'n Dale Rescue Rangers Kim Possible: A Sitch in Time Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Pirate Express Dastardly and Muttley in Their Flying Machines Soul Eater Darker than Black Wacky Races Gravity Falls Shimmer and Shine Soul Eater Not! Sonic X Berserk The 7D Trigun Puss in Boots: The Three Diablos Postman Pat K-On!! Dora the Explorer
House, K-On! and K-On!! more number of people dubbed for than Wizard Barristers: Benmashi Cecil
House K-On! K-On!!
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Wizard Barristers: Benmashi Cecil
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?s ) WHERE { ?x property:voice_actor ?y . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_program } GROUP BY ?x } . FILTER ( ?s > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Wizard_Barristers:_Benmashi_Cecil property:voice_actor ?t . ?t rdf:type ontology:television_program } } }
[]