Simple Question (Direct)
Simple Question
Q708043
P27
Q15617994
USER
Which administrative territory is Jean Casimir Félix Guyon an inhabitant of ?
(Q708043,P27,c(Q15617994))
action filter_type
action find
entity Q708043
relation P27
type Q15617994
['Q708043', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q708043 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Jean Casimir Félix Guyon
action filter_type
action find
entity Jean Casimir Félix Guyon
relation country of citizenship
type designation for an administrative territorial entity
['Jean Casimir Félix Guyon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Jean_Casimir_Félix_Guyon property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q708043,P27,c(Q15617994))
action filter_type
action find
entity Q708043
relation P27
type Q15617994
[ANSWER] is Jean Casimir Félix Guyon an inhabitant of
['Q708043', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q708043 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
France
France is Jean Casimir Félix Guyon an inhabitant of
France
action filter_type
action find
entity Jean Casimir Félix Guyon
relation country of citizenship
type designation for an administrative territorial entity
['Jean Casimir Félix Guyon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Jean_Casimir_Félix_Guyon property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P35
Q502895
USER
Which people are the heads of state of that administrative territory ?
(Q142,P35,c(Q502895))
action filter_type
action find
entity Q142
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q142 property:P35 ?a . ?a rdf:type ontology:Q502895 }
France
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:France property:head_of_state ?a . ?a rdf:type ontology:common_name }
[]
common name
Q2105 Q2042 Q2038
SYSTEM
Jacques Chirac, Charles de Gaulle, François Mitterrand
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124
(Q142,P35,c(Q502895))
action filter_type
action find
entity Q142
relation P35
type Q502895
[ANSWERS] are the heads of state of that administrative territory
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q142 property:P35 ?a . ?a rdf:type ontology:Q502895 }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
Jacques Chirac, Charles de Gaulle and François Mitterrand are the heads of state of that administrative territory
Jacques Chirac Charles de Gaulle François Mitterrand
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:France property:head_of_state ?a . ?a rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P102
Q7210356
USER
How many political organizations do that person belong to ?
(Q2042,P102,c(Q7210356))
['Q2042', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1066565 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
['Charles de Gaulle', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Charles_de_Gaulle property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
political organization
Quantitative|Count|Single entity type|Clarification
Q2042
SYSTEM
Did you mean Charles de Gaulle ?
(Q2105,P102,c(Q7210356)) (Q2042,P102,c(Q7210356)) (Q2038,P102,c(Q7210356))
[ANSWER]
['Q2105', 'P102', {'concept': 'Q7210356'}] ['Q2042', 'P102', {'concept': 'Q7210356'}] ['Q2038', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1066565 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Did you mean Charles de Gaulle ?
Charles de Gaulle
['Jacques Chirac', 'member of political party', {'concept': 'political organization'}] ['Charles de Gaulle', 'member of political party', {'concept': 'political organization'}] ['François Mitterrand', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Charles_de_Gaulle property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q2042,P102,c(Q7210356))
['Q2042', 'P102', {'concept': 'Q7210356'}]
['Charles de Gaulle', 'member of political party', {'concept': 'political organization'}]
[]
SYSTEM
2
Q2132031 Q1904825
(Q2042,P102,c(Q7210356))
[ANSWER]
['Q2042', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1066565 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Rally of the French People Union of Democrats for the Republic
2
['Charles de Gaulle', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Charles_de_Gaulle property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q57319
P35
Q502895 Q1048835 Q35798
USER
Which people are the chiefs of state of lesser number of political territories or executive branches than Norodom Sihamoni ?
(c(Q1048835)|c(Q35798),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q57319
relation P35
type Q1048835
type Q35798
[[{'concept': 'Q1048835'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?p WHERE { VALUES ( ?g ) { ( ontology:Q35798 ) ( ontology:Q1048835 ) } . ?r rdf:type ?g } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P35 resource:Q57319 . { { ?l rdf:type ontology:Q35798 } UNION { ?l rdf:type ontology:Q1048835 } } } } . FILTER ( ?x < ?t ) }
Norodom Sihamoni
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type political 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 Norodom Sihamoni
relation head of state
type political territorial entity
type executive branch
[[{'concept': 'political territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?p WHERE { VALUES ( ?g ) { ( ontology:executive_branch ) ( ontology:political_territorial_entity ) } . ?r rdf:type ?g } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:head_of_state resource:Norodom_Sihamoni . { { ?l rdf:type ontology:executive_branch } UNION { ?l rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?x < ?t ) }
[]
common name political territorial entity executive branch
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(Q1048835)|c(Q35798),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q57319
relation P35
type Q1048835
type Q35798
[ANSWERS] are the chiefs of state of lesser number of political territories or executive branches than Norodom Sihamoni
[[{'concept': 'Q1048835'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?p WHERE { VALUES ( ?g ) { ( ontology:Q35798 ) ( ontology:Q1048835 ) } . ?r rdf:type ?g } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P35 resource:Q57319 . { { ?l rdf:type ontology:Q35798 } UNION { ?l rdf:type ontology:Q1048835 } } } } . FILTER ( ?x < ?t ) }
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 the chiefs of state of lesser number of political territories or executive branches than Norodom Sihamoni
Václav Havel Adolf Hitler Michelle Bachelet
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type political 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 Norodom Sihamoni
relation head of state
type political territorial entity
type executive branch
[[{'concept': 'political territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?p WHERE { VALUES ( ?g ) { ( ontology:executive_branch ) ( ontology:political_territorial_entity ) } . ?r rdf:type ?g } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:head_of_state resource:Norodom_Sihamoni . { { ?l rdf:type ontology:executive_branch } UNION { ?l rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?x < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q873588
P1303
Q34379 Q502895
USER
Which musical instruments can more number of people perform with than Jinghu ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q873588
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?s ) WHERE { ?b rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q873588 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?s > ?r ) }
Jinghu
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Jinghu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?s ) WHERE { ?b rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Jinghu property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?s > ?r ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q873588
relation P1303
type Q34379
[ANSWERS] can more number of people perform with than Jinghu
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?s ) WHERE { ?b rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q873588 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?s > ?r ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot can more number of people perform with than Jinghu
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Jinghu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?s ) WHERE { ?b rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Jinghu property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?s > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q537750
P1303
Q34379 Q502895
USER
And what about Djembe?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q537750
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P1303 ?d . ?y rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q537750 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?g > ?a ) }
Djembe
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Djembe
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:instrument ?d . ?y rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Djembe property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?g > ?a ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q537750
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P1303 ?d . ?y rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q537750 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?g > ?a ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Djembe
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:instrument ?d . ?y rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Djembe property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?g > ?a ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6840740 Q57319
P27
Q15617994
USER
Which administrative territories are Norodom Sihamoni or R. P. Keigwin a civilian of ?
OR((Q57319,P27,c(Q15617994)), (Q6840740,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q57319
relation P27
action find
entity Q6840740
relation P27
type Q15617994
{'OR': [['Q57319', 'P27', {'concept': 'Q15617994'}], ['Q6840740', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q57319 property:P27 ?a } UNION { resource:Q6840740 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
R. P. Keigwin Norodom Sihamoni
action filter_type
action union
action find
entity Norodom Sihamoni
relation country of citizenship
action find
entity R. P. Keigwin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Norodom Sihamoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['R. P. Keigwin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Norodom_Sihamoni property:country_of_citizenship ?a } UNION { resource:R._P._Keigwin property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q424 Q145
SYSTEM
Cambodia, United Kingdom
Q424 Q145
OR((Q57319,P27,c(Q15617994)), (Q6840740,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q57319
relation P27
action find
entity Q6840740
relation P27
type Q15617994
[ANSWERS] are Norodom Sihamoni or R. P. Keigwin a civilian of
{'OR': [['Q57319', 'P27', {'concept': 'Q15617994'}], ['Q6840740', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q57319 property:P27 ?a } UNION { resource:Q6840740 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Cambodia United Kingdom
Cambodia and United Kingdom are Norodom Sihamoni or R. P. Keigwin a civilian of
Cambodia United Kingdom
action filter_type
action union
action find
entity Norodom Sihamoni
relation country of citizenship
action find
entity R. P. Keigwin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Norodom Sihamoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['R. P. Keigwin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Norodom_Sihamoni property:country_of_citizenship ?a } UNION { resource:R._P._Keigwin property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q781
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with around the same number of administrative territories as Antigua and Barbuda ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { FILTER ( ?p = ?s ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Q781 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?p ) WHERE { ?m property:P530 ?o . ?m rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?m } }
Antigua and Barbuda
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { FILTER ( ?p = ?s ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?p ) WHERE { ?m property:diplomatic_relation ?o . ?m rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { FILTER ( ?p = ?s ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Q781 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?p ) WHERE { ?m property:P530 ?o . ?m rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?m } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { FILTER ( ?p = ?s ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?p ) WHERE { ?m property:diplomatic_relation ?o . ?m rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16
P530
Q15617994 Q1048835
USER
And also tell me about Canada?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?x ) WHERE { ?u property:P530 ?y . ?u rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?x = ?m ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q16 property:P530 ?p . ?p rdf:type ontology:Q1048835 } } }
Canada
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?x ) WHERE { ?u property:diplomatic_relation ?y . ?u rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?x = ?m ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Canada property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?x ) WHERE { ?u property:P530 ?y . ?u rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?x = ?m ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q16 property:P530 ?p . ?p rdf:type ontology:Q1048835 } } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?x ) WHERE { ?u property:diplomatic_relation ?y . ?u rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?x = ?m ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Canada property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P710
Q180684
USER
Which conflicts did United Kingdom participate in ?
(c(Q180684),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q145']
SELECT DISTINCT ?x WHERE { ?x property:P710 resource:Q145 . ?x rdf:type ontology:Q180684 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x property:participant resource:United_Kingdom . ?x rdf:type ontology:conflict }
[]
conflict
Q911972 Q15264166 Q3354882
SYSTEM
Dunkirk evacuation, Operation Mascot, Operation Tungsten
Q4065201 Q10432014 Q2225555 Q15264166 Q3354882 Q911972
(c(Q180684),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q180684
United Kingdom participated in [ANSWERS]
[{'concept': 'Q180684'}, 'P710', 'Q145']
SELECT DISTINCT ?x WHERE { ?x property:P710 resource:Q145 . ?x rdf:type ontology:Q180684 }
Tientsin incident Bodø affair Operation Basalt Operation Mascot Operation Tungsten Dunkirk evacuation
United Kingdom participated in Dunkirk evacuation, Operation Mascot and Operation Tungsten
Dunkirk evacuation Operation Mascot Operation Tungsten
action filter_type
action find_reverse
entity United Kingdom
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x property:participant resource:United_Kingdom . ?x rdf:type ontology:conflict }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3354882
P361
Q198
USER
Which war is that conflict a part of ?
(Q3354882,P361,c(Q198))
action filter_type
action find
entity Q3354882
relation P361
type Q198
['Q3354882', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q198 . resource:Q3354882 property:P361 ?m }
Operation Tungsten
action filter_type
action find
entity Operation Tungsten
relation part of
type war
['Operation Tungsten', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:war . resource:Operation_Tungsten property:part_of ?m }
[]
war
Clarification for simple ques.
Q911972
SYSTEM
Did you mean Dunkirk evacuation ?
Q911972 Q15264166 Q3354882
(Q911972,P361,c(Q198)) (Q15264166,P361,c(Q198)) (Q3354882,P361,c(Q198))
[ANSWER]
['Q911972', 'P361', {'concept': 'Q198'}] ['Q15264166', 'P361', {'concept': 'Q198'}] ['Q3354882', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q198 . resource:Q3354882 property:P361 ?m }
Dunkirk evacuation Operation Mascot Operation Tungsten
Did you mean Dunkirk evacuation ?
Dunkirk evacuation
['Dunkirk evacuation', 'part of', {'concept': 'war'}] ['Operation Mascot', 'part of', {'concept': 'war'}] ['Operation Tungsten', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:war . resource:Operation_Tungsten property:part_of ?m }
[]
Simple Question (Coreferenced)
USER
No, I meant Operation Tungsten. Could you tell me the answer for that?
(Q3354882,P361,c(Q198))
Q3354882
['Q3354882', 'P361', {'concept': 'Q198'}]
['Operation Tungsten', 'part of', {'concept': 'war'}]
[]
Q362
SYSTEM
World War II
Q362
(Q3354882,P361,c(Q198))
action filter_type
action find
entity Q3354882
relation P361
type Q198
The [ANSWER] is that conflict a part of
['Q3354882', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q198 . resource:Q3354882 property:P361 ?m }
World War II
The World War II is that conflict a part of
World War II
action filter_type
action find
entity Operation Tungsten
relation part of
type war
['Operation Tungsten', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:war . resource:Operation_Tungsten property:part_of ?m }
[]