Simple Question (Direct)
Simple Question
Q1802072
P27
Q1048835
USER
Which political territory does Uwe Blaurock belong to ?
(Q1802072,P27,c(Q1048835))
action filter_type
action find
entity Q1802072
relation P27
type Q1048835
['Q1802072', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . resource:Q1802072 property:P27 ?z }
Uwe Blaurock
action filter_type
action find
entity Uwe Blaurock
relation country of citizenship
type political territorial entity
['Uwe Blaurock', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . resource:Uwe_Blaurock property:country_of_citizenship ?z }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1802072,P27,c(Q1048835))
action filter_type
action find
entity Q1802072
relation P27
type Q1048835
Uwe Blaurock belongs to [ANSWER]
['Q1802072', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . resource:Q1802072 property:P27 ?z }
Germany
Uwe Blaurock belongs to Germany
Germany
action filter_type
action find
entity Uwe Blaurock
relation country of citizenship
type political territorial entity
['Uwe Blaurock', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . resource:Uwe_Blaurock property:country_of_citizenship ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1802072
P108
Q811979
USER
Which architectural structure does Uwe Blaurock work for ?
(Q1802072,P108,c(Q811979))
action filter_type
action find
entity Q1802072
relation P108
type Q811979
['Q1802072', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q811979 . resource:Q1802072 property:P108 ?o }
Uwe Blaurock
action filter_type
action find
entity Uwe Blaurock
relation employer
type architectural structure
['Uwe Blaurock', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:architectural_structure . resource:Uwe_Blaurock property:employer ?o }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q1802072,P108,c(Q811979))
action filter_type
action find
entity Q1802072
relation P108
type Q811979
Uwe Blaurock works the [ANSWER]
['Q1802072', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q811979 . resource:Q1802072 property:P108 ?o }
University of Göttingen
Uwe Blaurock works the University of Göttingen
University of Göttingen
action filter_type
action find
entity Uwe Blaurock
relation employer
type architectural structure
['Uwe Blaurock', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:architectural_structure . resource:Uwe_Blaurock property:employer ?o }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q235454
P35
Q502895 Q35798 Q7275
USER
Which people are the chiefs of state of lesser number of executive branches or states than K. R. Narayanan ?
(c(Q35798)|c(Q7275),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 Q7275
action count
action filter_multi_types
action find_reverse
entity Q235454
relation P35
type Q35798
type Q7275
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P35 resource:Q235454 . { VALUES ( ?m ) { ( ontology:Q35798 ) ( ontology:Q7275 ) } . ?d rdf:type ?m } } } . FILTER ( ?s < ?i ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) ?p WHERE { { ?z property:P35 ?p . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q35798 } UNION { ?z property:P35 ?p . ?z rdf:type ontology:Q7275 . ?p rdf:type ontology:Q502895 } } GROUP BY ?p } }
K. R. Narayanan
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 state
action count
action filter_multi_types
action find_reverse
entity K. R. Narayanan
relation head of state
type executive branch
type state
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:head_of_state resource:K._R._Narayanan . { VALUES ( ?m ) { ( ontology:executive_branch ) ( ontology:state ) } . ?d rdf:type ?m } } } . FILTER ( ?s < ?i ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) ?p WHERE { { ?z property:head_of_state ?p . ?p rdf:type ontology:common_name . ?z rdf:type ontology:executive_branch } UNION { ?z property:head_of_state ?p . ?z rdf:type ontology:state . ?p rdf:type ontology:common_name } } GROUP BY ?p } }
[]
common name executive branch state
Q2567 Q320 Q2105
SYSTEM
Richard von Weizsäcker, Michelle Bachelet, Jacques Chirac
Q29574 Q298403 Q2573 Q356990 Q2571 Q6737124 Q6756617 Q57530 Q110330 Q709734 Q653611 Q153620 Q9151911 Q2494376 Q67345 Q157 Q13107337 Q463533 Q365209 Q3176299 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q151929 Q153986 Q43179 Q56226 Q171977 Q57491 Q57313 Q236503 Q57315 Q55758 Q1359023 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q310775 Q57385 Q6809265 Q128332 Q629702 Q13631996 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 Q38987 Q94941 Q15382355 Q363392 Q57473 Q5901842 Q57348 Q361173 Q12967 Q157812 Q57478 Q181832 Q444290 Q19216 Q172388 Q15031 Q299100 Q16988 Q294969 Q561837 Q12762303 Q20875 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q154444 Q284233 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q2625711 Q1464 Q968038 Q128416 Q29032 Q310247 Q289285 Q2866 Q2042 Q155002 Q155004 Q196070 Q208497 Q250087 Q2416022 Q9439 Q44819 Q23530 Q1354851 Q880065 Q335323 Q2542 Q2540 Q57667 Q57542 Q735387 Q147989 Q122304 Q6762928 Q377935 Q156617 Q157789 Q976974 Q236853 Q17485808 Q57324 Q57327 Q6707612 Q16669148 Q57480 Q57482 Q192049 Q12149 Q2960197 Q36788 Q502185 Q57390 Q57392 Q57394 Q57398 Q2594 Q52878 Q570155 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 Q3910 Q11753 Q57509 Q57506 Q284003 Q16908893 Q37181 Q52890 Q43330 Q128894 Q76127 Q191045 Q12950 Q296950 Q57340 Q2665070 Q362618 Q128911 Q324108 Q15029 Q218435 Q4250160 Q1079522 Q157776 Q57298 Q150747 Q590227 Q4414 Q2498541 Q2677 Q188409 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q5018756 Q15054736 Q9099 Q230578 Q9094 Q102139 Q1112792 Q3518013 Q612803 Q3318231 Q295141 Q314791 Q270645 Q2091478 Q52925 Q52924 Q29213 Q52926 Q485946 Q1231345 Q570195 Q42410 Q69569 Q156572 Q1568274 Q10665 Q2444338 Q23034482 Q335033 Q18117069 Q156806 Q336285 Q602428 Q45785 Q15633683 Q172183 Q311413 Q58077 Q12911 Q76167 Q2551 Q242651 Q7176020 Q84204 Q17995110 Q42852 Q171684 Q57553 Q511888 Q58600 Q57311 Q379148 Q77233 Q504372 Q217442 Q313539 Q84475 Q381027 Q22513 Q57331 Q165487 Q57336 Q153940 Q1455923 Q613051 Q471037 Q46809 Q154993 Q354705 Q154041 Q16004 Q5972763 Q57343 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q473247 Q2569 Q20022984 Q76156 Q2563 Q1982245 Q2567 Q157781 Q936831 Q153167 Q1855372 Q58132 Q156781 Q156780 Q2185 Q299629 Q11726 Q57519 Q57512 Q57517 Q57555 Q17488307 Q1354229 Q187697 Q151944 Q72856 Q154946 Q161059 Q5816 Q62483 Q57550 Q311583 Q128413 Q152265 Q357539 Q72898 Q1260 Q563297 Q313350 Q559756 Q313355 Q2582 Q17582456 Q206471 Q151729 Q541507 Q34453 Q57289 Q57360 Q172083 Q57282 Q153586 Q57284 Q704339 Q57460 Q57467 Q57308 Q3246667 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q239717 Q2357762 Q50678 Q450675 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 Q33168 Q2124 Q360462 Q18352991 Q599988 Q297057 Q229493 Q57521 Q373605 Q380187 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q233984 Q314464 Q1382174 Q1898405 Q12976 Q12974 Q12973 Q12971 Q1459658 Q128371 Q319153 Q57634 Q314514 Q57306 Q299173 Q22368 Q206421 Q310136 Q39259 Q307871 Q2757 Q51672 Q57458 Q333824 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q380985 Q15039600
(c(Q35798)|c(Q7275),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 Q7275
action count
action filter_multi_types
action find_reverse
entity Q235454
relation P35
type Q35798
type Q7275
[ANSWERS] are the chiefs of state of lesser number of executive branches or states than K. R. Narayanan
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P35 resource:Q235454 . { VALUES ( ?m ) { ( ontology:Q35798 ) ( ontology:Q7275 ) } . ?d rdf:type ?m } } } . FILTER ( ?s < ?i ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) ?p WHERE { { ?z property:P35 ?p . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q35798 } UNION { ?z property:P35 ?p . ?z rdf:type ontology:Q7275 . ?p rdf:type ontology:Q502895 } } GROUP BY ?p } }
Beatrix of the Netherlands Umar II Gustav Heinemann Michal Kováč Walter Scheel Maithripala Sirisena Marcelo Rebelo de Sousa 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 François Hollande Giorgi Margvelashvili Michel Temer 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 Tokugawa Ieyasu Ricardo Martinelli José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Aleksander Kwaśniewski Raul Khadjimba Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Jean-Claude Duvalier Teodoro Obiang Nguema Mbasogo Mehbooba Mufti Hisham ibn Abd al-Malik Leonid Kuchma Chennamaneni Vidyasagar Rao Franz Jonas Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando 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 Tony Tan Keng Yam 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 Nicolae Timofti Moshe Katsav Louis, King of Etruria Ma Ying-jeou Ashraf Ghani Ahmadzai Xi Jinping Zalman Shazar Liu Shaoqi Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska Edward VII Ian Khama Andry Rajoelina Emomali Rahmon Ram Baran Yadav Dilma Rousseff Choummaly Sayasone Pranab Mukherjee Grand Duke Michael Alexandrovich of Russia Sulayman ibn Abd al-Malik 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 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 Filip Vujanović William McKell Joaquín Balaguer Nitish Kumar Marie Louise Coleiro Preca Yang Shangkun Christian X of Denmark Frederick I of Denmark Peter Cosgrove Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah Lydia Emerencia Patrice Talon Abdrabbuh Mansour Hadi Mahamadou Issoufou Yun Posun Thein Sein Charles Savarin Abd al-Malik ibn Marwan Andrey Vorobyov Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Theodor Heuss Gustaf VI Adolf of Sweden John II, Duke of Cleves 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 Albert II Heinz Fischer 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 Antanas Smetona Mswati III Jozo Križanović Adolph I, Duke of Cleves Ezer Weizman Ibrahim Boubacar Keïta Hu Jintao Zviad Gamsakhurdia Tion Otang Erasme Louis Surlet de Chokier John, King of Denmark Abdullah of Saudi Arabia Wilhelmina of the Netherlands Edward VIII Faure Gnassingbé Rogvolod Wilhelm II Yevgeny Shevchuk Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev John Magufuli Mulatu Teshome Tabaré Vázquez Fernando Henrique Cardoso José Mujica Margrethe II of Denmark Anna Maria Muccioli N. Chandrababu Naidu Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Rose Francine Rogombé Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Tarja Halonen Oscar I of Sweden Itamar Franco Paul Kagame John I, Duke of Cleves Evo Morales Sardar Muhammad Yaqoob Khan Christian VII of Denmark Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau William Slim, 1st Viscount Slim Baldwin Lonsdale Konstantinos Karamanlis Tommy Remengesau 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 Leonard Petrosyan Friedrich III of Germany Juan Manuel Santos Jean-Pierre Bemba Frederick III, Elector of Saxony Ye Jianying Yazid I 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 Takakazu Ishii Robert Kocharyan 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 Ismail Shammout Richard von Weizsäcker Christian VIII of Denmark Salvador Sánchez Cerén Valdas Adamkus Tamim bin Hamad Al Thani 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 Aleksandr Zakharchenko Peter Hollingworth François Duvalier Leonel Fernández el ladron 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 Dragan Čović Alexander Ankvab Heinrich Lübke Ihor Plotnytskiy Borut Pahor Süleyman Demirel Arkadi Ghukasyan Boris Yeltsin Toomas Hendrik Ilves Hamad bin Khalifa Al Thani Omar Bongo Jacob Zuma Christian IV of Denmark Ólafur Ragnar Grímsson John III, Duke of Cleves Ernest Bai Koroma János Áder 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 Francis 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 Kalvakuntla Chandrashekar Valéry Giscard d'Estaing Bako Sahakyan Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Nino Burjanadze Ali Bongo Ondimba Epeli Nailatikau Ahmed Mahamoud Silanyo Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Baudouin of Belgium Albert I Leopold III Leopold I Viktor Yanukovych Marwan II Hassan Sheikh Mohamud Hashim Thaçi Gian Galeazzo Sforza Jalal Talabani Michael Sata Chen Shui-bian Konstantinos Stephanopoulos Nebojša Radmanović 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
Richard von Weizsäcker, Michelle Bachelet and Jacques Chirac are the chiefs of state of lesser number of executive branches or states than K. R. Narayanan
Richard von Weizsäcker Michelle Bachelet Jacques Chirac
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 state
action count
action filter_multi_types
action find_reverse
entity K. R. Narayanan
relation head of state
type executive branch
type state
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:head_of_state resource:K._R._Narayanan . { VALUES ( ?m ) { ( ontology:executive_branch ) ( ontology:state ) } . ?d rdf:type ?m } } } . FILTER ( ?s < ?i ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) ?p WHERE { { ?z property:head_of_state ?p . ?p rdf:type ontology:common_name . ?z rdf:type ontology:executive_branch } UNION { ?z property:head_of_state ?p . ?z rdf:type ontology:state . ?p rdf:type ontology:common_name } } GROUP BY ?p } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q400961
P35
Q502895 Q35798 Q7275
USER
And also tell me about Ahmad bin Yahya?
(c(Q35798)|c(Q7275),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 Q7275
action count
action filter_multi_types
action find_reverse
entity Q400961
relation P35
type Q35798
type Q7275
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?x WHERE { { ?q property:P35 ?x . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q35798 } UNION { ?q property:P35 ?x . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q7275 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P35 resource:Q400961 . { { ?v rdf:type ontology:Q35798 } UNION { ?v rdf:type ontology:Q7275 } } } } . FILTER ( ?y < ?o ) }
Ahmad bin Yahya
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 state
action count
action filter_multi_types
action find_reverse
entity Ahmad bin Yahya
relation head of state
type executive branch
type state
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?x WHERE { { ?q property:head_of_state ?x . ?x rdf:type ontology:common_name . ?q rdf:type ontology:executive_branch } UNION { ?q property:head_of_state ?x . ?x rdf:type ontology:common_name . ?q rdf:type ontology:state } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:head_of_state resource:Ahmad_bin_Yahya . { { ?v rdf:type ontology:executive_branch } UNION { ?v rdf:type ontology:state } } } } . FILTER ( ?y < ?o ) }
[]
common name executive branch state
Q2567 Q320 Q2105
SYSTEM
Richard von Weizsäcker, Michelle Bachelet, Jacques Chirac
Q29574 Q298403 Q2573 Q356990 Q2571 Q6737124 Q6756617 Q57530 Q110330 Q709734 Q653611 Q153620 Q9151911 Q2494376 Q67345 Q157 Q13107337 Q463533 Q365209 Q3176299 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q151929 Q153986 Q43179 Q56226 Q171977 Q57491 Q57313 Q236503 Q57315 Q55758 Q1359023 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q310775 Q57385 Q6809265 Q128332 Q629702 Q13631996 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 Q38987 Q94941 Q15382355 Q363392 Q57473 Q5901842 Q57348 Q361173 Q12967 Q157812 Q57478 Q181832 Q444290 Q19216 Q172388 Q15031 Q299100 Q16988 Q294969 Q561837 Q12762303 Q20875 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q154444 Q284233 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q2625711 Q1464 Q968038 Q128416 Q29032 Q310247 Q289285 Q2866 Q2042 Q155002 Q155004 Q196070 Q208497 Q250087 Q2416022 Q9439 Q44819 Q23530 Q1354851 Q880065 Q335323 Q2542 Q2540 Q57667 Q57542 Q735387 Q147989 Q122304 Q6762928 Q377935 Q156617 Q157789 Q976974 Q236853 Q17485808 Q57324 Q57327 Q6707612 Q16669148 Q57480 Q57482 Q192049 Q12149 Q2960197 Q36788 Q502185 Q57390 Q57392 Q57394 Q57398 Q2594 Q52878 Q570155 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 Q3910 Q11753 Q57509 Q57506 Q284003 Q16908893 Q37181 Q52890 Q43330 Q128894 Q76127 Q191045 Q12950 Q296950 Q57340 Q2665070 Q362618 Q128911 Q324108 Q15029 Q218435 Q4250160 Q1079522 Q157776 Q57298 Q150747 Q590227 Q4414 Q2498541 Q2677 Q188409 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q5018756 Q15054736 Q9099 Q230578 Q9094 Q102139 Q1112792 Q3518013 Q612803 Q3318231 Q295141 Q314791 Q270645 Q2091478 Q52925 Q52924 Q29213 Q52926 Q485946 Q1231345 Q570195 Q42410 Q69569 Q156572 Q1568274 Q10665 Q2444338 Q23034482 Q335033 Q18117069 Q156806 Q336285 Q602428 Q45785 Q15633683 Q172183 Q311413 Q58077 Q12911 Q76167 Q2551 Q242651 Q7176020 Q84204 Q17995110 Q42852 Q171684 Q57553 Q511888 Q58600 Q57311 Q379148 Q77233 Q504372 Q217442 Q313539 Q84475 Q381027 Q22513 Q57331 Q165487 Q57336 Q153940 Q1455923 Q613051 Q471037 Q46809 Q154993 Q354705 Q154041 Q16004 Q5972763 Q57343 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q473247 Q2569 Q20022984 Q76156 Q2563 Q1982245 Q2567 Q157781 Q936831 Q153167 Q1855372 Q58132 Q156781 Q156780 Q2185 Q299629 Q11726 Q57519 Q57512 Q57517 Q57555 Q17488307 Q1354229 Q187697 Q151944 Q72856 Q154946 Q161059 Q5816 Q62483 Q57550 Q311583 Q128413 Q152265 Q357539 Q72898 Q1260 Q563297 Q313350 Q559756 Q313355 Q2582 Q17582456 Q206471 Q151729 Q541507 Q34453 Q57289 Q57360 Q172083 Q57282 Q153586 Q57284 Q704339 Q57460 Q57467 Q57308 Q3246667 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q239717 Q2357762 Q50678 Q450675 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 Q33168 Q2124 Q360462 Q18352991 Q599988 Q297057 Q229493 Q57521 Q373605 Q380187 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q233984 Q314464 Q1382174 Q1898405 Q12976 Q12974 Q12973 Q12971 Q1459658 Q128371 Q319153 Q57634 Q314514 Q57306 Q299173 Q22368 Q206421 Q310136 Q39259 Q307871 Q2757 Q51672 Q57458 Q333824 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q380985 Q15039600
(c(Q35798)|c(Q7275),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 Q7275
action count
action filter_multi_types
action find_reverse
entity Q400961
relation P35
type Q35798
type Q7275
[ANSWERS]
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?x WHERE { { ?q property:P35 ?x . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q35798 } UNION { ?q property:P35 ?x . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q7275 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P35 resource:Q400961 . { { ?v rdf:type ontology:Q35798 } UNION { ?v rdf:type ontology:Q7275 } } } } . FILTER ( ?y < ?o ) }
Beatrix of the Netherlands Umar II Gustav Heinemann Michal Kováč Walter Scheel Maithripala Sirisena Marcelo Rebelo de Sousa 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 François Hollande Giorgi Margvelashvili Michel Temer 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 Tokugawa Ieyasu Ricardo Martinelli José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Aleksander Kwaśniewski Raul Khadjimba Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Jean-Claude Duvalier Teodoro Obiang Nguema Mbasogo Mehbooba Mufti Hisham ibn Abd al-Malik Leonid Kuchma Chennamaneni Vidyasagar Rao Franz Jonas Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando 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 Tony Tan Keng Yam 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 Nicolae Timofti Moshe Katsav Louis, King of Etruria Ma Ying-jeou Ashraf Ghani Ahmadzai Xi Jinping Zalman Shazar Liu Shaoqi Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska Edward VII Ian Khama Andry Rajoelina Emomali Rahmon Ram Baran Yadav Dilma Rousseff Choummaly Sayasone Pranab Mukherjee Grand Duke Michael Alexandrovich of Russia Sulayman ibn Abd al-Malik 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 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 Filip Vujanović William McKell Joaquín Balaguer Nitish Kumar Marie Louise Coleiro Preca Yang Shangkun Christian X of Denmark Frederick I of Denmark Peter Cosgrove Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah Lydia Emerencia Patrice Talon Abdrabbuh Mansour Hadi Mahamadou Issoufou Yun Posun Thein Sein Charles Savarin Abd al-Malik ibn Marwan Andrey Vorobyov Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Theodor Heuss Gustaf VI Adolf of Sweden John II, Duke of Cleves 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 Albert II Heinz Fischer 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 Antanas Smetona Mswati III Jozo Križanović Adolph I, Duke of Cleves Ezer Weizman Ibrahim Boubacar Keïta Hu Jintao Zviad Gamsakhurdia Tion Otang Erasme Louis Surlet de Chokier John, King of Denmark Abdullah of Saudi Arabia Wilhelmina of the Netherlands Edward VIII Faure Gnassingbé Rogvolod Wilhelm II Yevgeny Shevchuk Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev John Magufuli Mulatu Teshome Tabaré Vázquez Fernando Henrique Cardoso José Mujica Margrethe II of Denmark Anna Maria Muccioli N. Chandrababu Naidu Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Rose Francine Rogombé Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Tarja Halonen Oscar I of Sweden Itamar Franco Paul Kagame John I, Duke of Cleves Evo Morales Sardar Muhammad Yaqoob Khan Christian VII of Denmark Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau William Slim, 1st Viscount Slim Baldwin Lonsdale Konstantinos Karamanlis Tommy Remengesau 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 Leonard Petrosyan Friedrich III of Germany Juan Manuel Santos Jean-Pierre Bemba Frederick III, Elector of Saxony Ye Jianying Yazid I 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 Takakazu Ishii Robert Kocharyan 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 Ismail Shammout Richard von Weizsäcker Christian VIII of Denmark Salvador Sánchez Cerén Valdas Adamkus Tamim bin Hamad Al Thani 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 Aleksandr Zakharchenko Peter Hollingworth François Duvalier Leonel Fernández el ladron 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 Dragan Čović Alexander Ankvab Heinrich Lübke Ihor Plotnytskiy Borut Pahor Süleyman Demirel Arkadi Ghukasyan Boris Yeltsin Toomas Hendrik Ilves Hamad bin Khalifa Al Thani Omar Bongo Jacob Zuma Christian IV of Denmark Ólafur Ragnar Grímsson John III, Duke of Cleves Ernest Bai Koroma János Áder 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 Francis 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 Kalvakuntla Chandrashekar Valéry Giscard d'Estaing Bako Sahakyan Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Nino Burjanadze Ali Bongo Ondimba Epeli Nailatikau Ahmed Mahamoud Silanyo Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Baudouin of Belgium Albert I Leopold III Leopold I Viktor Yanukovych Marwan II Hassan Sheikh Mohamud Hashim Thaçi Gian Galeazzo Sforza Jalal Talabani Michael Sata Chen Shui-bian Konstantinos Stephanopoulos Nebojša Radmanović 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
Richard von Weizsäcker Michelle Bachelet Jacques Chirac
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 state
action count
action filter_multi_types
action find_reverse
entity Ahmad bin Yahya
relation head of state
type executive branch
type state
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?x WHERE { { ?q property:head_of_state ?x . ?x rdf:type ontology:common_name . ?q rdf:type ontology:executive_branch } UNION { ?q property:head_of_state ?x . ?x rdf:type ontology:common_name . ?q rdf:type ontology:state } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:head_of_state resource:Ahmad_bin_Yahya . { { ?v rdf:type ontology:executive_branch } UNION { ?v rdf:type ontology:state } } } } . FILTER ( ?y < ?o ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2567
P22
Q502895
USER
Who have that one as a father ?
(c(Q502895),P22,Q2567)
action filter_type
action find_reverse
entity Q2567
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2567']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q2567 . ?r rdf:type ontology:Q502895 }
Richard von Weizsäcker
action filter_type
action find_reverse
entity Richard von Weizsäcker
relation father
type common name
[{'concept': 'common name'}, 'father', 'Richard von Weizsäcker']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Richard_von_Weizsäcker . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2105
SYSTEM
Did you mean Jacques Chirac ?
Q2567 Q320 Q2105
(c(Q502895),P22,Q2567) (c(Q502895),P22,Q320) (c(Q502895),P22,Q2105)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q2567'] [{'concept': 'Q502895'}, 'P22', 'Q320'] [{'concept': 'Q502895'}, 'P22', 'Q2105']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q2567 . ?r rdf:type ontology:Q502895 }
Richard von Weizsäcker Michelle Bachelet Jacques Chirac
Did you mean Jacques Chirac ?
Jacques Chirac
[{'concept': 'common name'}, 'father', 'Richard von Weizsäcker'] [{'concept': 'common name'}, 'father', 'Michelle Bachelet'] [{'concept': 'common name'}, 'father', 'Jacques Chirac']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Richard_von_Weizsäcker . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Richard von Weizsäcker. Could you tell me the answer for that?
(c(Q502895),P22,Q2567)
Q2567
[{'concept': 'Q502895'}, 'P22', 'Q2567']
[{'concept': 'common name'}, 'father', 'Richard von Weizsäcker']
[]
Q501493 Q1503424 Q813272
SYSTEM
Andreas von Weizsäcker, Robert K. von Weizsäcker, Beatrice von Weizsäcker
Q501493 Q1469164 Q1503424 Q813272
(c(Q502895),P22,Q2567)
action filter_type
action find_reverse
entity Q2567
relation P22
type Q502895
[ANSWERS] have that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q2567']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q2567 . ?r rdf:type ontology:Q502895 }
Andreas von Weizsäcker Fritz von Weizsäcker Robert K. von Weizsäcker Beatrice von Weizsäcker
Andreas von Weizsäcker, Robert K. von Weizsäcker and Beatrice von Weizsäcker have that one as a father
Andreas von Weizsäcker Robert K. von Weizsäcker Beatrice von Weizsäcker
action filter_type
action find_reverse
entity Richard von Weizsäcker
relation father
type common name
[{'concept': 'common name'}, 'father', 'Richard von Weizsäcker']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Richard_von_Weizsäcker . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 3098 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3098
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?p = 3098 ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 . ?c property:P1303 ?k } GROUP BY ?k } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3098
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?p = 3098 ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument . ?c property:instrument ?k } GROUP BY ?k } }
[]
musical instrument common name
Q8355 Q1444 Q128309
SYSTEM
violin, organ, drum kit
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3098
The [ANSWERS] can approximately 3098 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?p = 3098 ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 . ?c property:P1303 ?k } GROUP BY ?k } }
violin organ drum kit
The violin, organ and drum kit can approximately 3098 people perform with
violin organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3098
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?p = 3098 ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument . ?c property:instrument ?k } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3398098
P825
Q502895 Q44539 Q811979
USER
Which people are lesser number of temples or architectural structures dedicated to than Sadwrn ?
(c(Q44539)|c(Q811979),P825,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q3398098
relation P825
type Q44539
type Q811979
[[{'concept': 'Q44539'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?a WHERE { { ?e property:P825 ?a . ?a rdf:type ontology:Q502895 . ?e rdf:type ontology:Q44539 } UNION { ?e property:P825 ?a . ?e rdf:type ontology:Q811979 . ?a rdf:type ontology:Q502895 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P825 resource:Q3398098 . { { ?w rdf:type ontology:Q44539 } UNION { ?w rdf:type ontology:Q811979 } } } } . FILTER ( ?l < ?i ) }
Sadwrn
action less
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Sadwrn
relation dedicated to
type temple
type architectural structure
[[{'concept': 'temple'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?a WHERE { { ?e property:dedicated_to ?a . ?a rdf:type ontology:common_name . ?e rdf:type ontology:temple } UNION { ?e property:dedicated_to ?a . ?e rdf:type ontology:architectural_structure . ?a rdf:type ontology:common_name } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:dedicated_to resource:Sadwrn . { { ?w rdf:type ontology:temple } UNION { ?w rdf:type ontology:architectural_structure } } } } . FILTER ( ?l < ?i ) }
[]
common name temple architectural structure
Q8016 Q937 Q8023
SYSTEM
Winston Churchill, Albert Einstein, Nelson Mandela
Q101698 Q7402197 Q282498 Q4304989 Q4452364 Q7859824 Q181707 Q360420 Q1357149 Q318636 Q4218975 Q249719 Q18684004 Q16846308 Q983142 Q314700 Q676555 Q392 Q11403872 Q85210 Q312747 Q12688 Q336692 Q611078 Q207113 Q20748855 Q44344 Q184935 Q65318 Q658756 Q1774929 Q183126 Q382053 Q88927 Q572684 Q17812378 Q3190301 Q93373 Q457863 Q457903 Q150767 Q2575112 Q989 Q3109901 Q157176 Q2288858 Q44047 Q352978 Q1442 Q2959487 Q972905 Q448890 Q937 Q935 Q48438 Q849 Q283447 Q313737 Q2974965 Q7593283 Q1948037 Q747 Q5858974 Q173061 Q607495 Q235863 Q8605 Q19629510 Q5147053 Q295090 Q18412922 Q351670 Q683792 Q3348840 Q685156 Q888326 Q62068 Q297 Q2959955 Q171411 Q558261 Q87621 Q94316 Q1236699 Q458014 Q11074321 Q7683954 Q7401372 Q93341 Q4218947 Q313548 Q935496 Q461258 Q151967 Q132684 Q45380 Q192236 Q4130411 Q4127503 Q14345 Q38337 Q7446899 Q1398314 Q732526 Q200895 Q65290 Q55398 Q1394 Q22985873 Q43945 Q1064 Q4275175 Q1284971 Q5561411 Q44039 Q44032 Q20643690 Q9025343 Q37693 Q704817 Q1666 Q120180 Q41117 Q174231 Q23900430 Q200188 Q417686 Q276404 Q541634 Q244383 Q244380 Q460876 Q181715 Q212850 Q5249703 Q8023 Q155540 Q381815 Q878671 Q6699463 Q443559 Q535 Q115550 Q9439 Q539 Q42887 Q272899 Q170726 Q187550 Q2594000 Q313942 Q464192 Q379753 Q461104 Q298185 Q966298 Q1196817 Q433995 Q271651 Q244852 Q5593 Q183085 Q57240 Q737198 Q466428 Q1246313 Q2376505 Q85760 Q160257 Q284560 Q314846 Q41568 Q20173462 Q1429 Q697765 Q25089 Q20683560 Q724153 Q1425 Q1427 Q160614 Q369691 Q313093 Q43982 Q44248 Q1078192 Q32613 Q269867 Q66005 Q191039 Q454840 Q20644286 Q236326 Q42511 Q3719466 Q44258 Q18363 Q3401960 Q163900 Q4340905 Q7179512 Q11633375 Q499022 Q719428 Q237149 Q311080 Q6695484 Q37064 Q160445 Q5623897 Q7732 Q1288566 Q541694 Q152727 Q29179 Q313970 Q6918007 Q3262373 Q426814 Q7327 Q35548 Q570845 Q231690 Q6527 Q8195163 Q18535501 Q378656 Q174044 Q502943 Q2361972 Q44024 Q77187 Q6955878 Q5837054 Q9455 Q2573616 Q313196 Q691402 Q369668 Q1714244 Q297483 Q1380238 Q1496 Q1036864 Q102527 Q51056 Q3392202 Q15432686 Q539427 Q462255 Q1088014 Q20757530 Q314802 Q2454699 Q8016 Q8018 Q645141 Q215333 Q272280 Q2853967 Q165274 Q700317 Q171977 Q316599 Q1398704 Q11403852 Q5318618 Q13132095 Q311791 Q4161262 Q501 Q2093405 Q12872638 Q19595674 Q269520 Q2722964 Q204503 Q78657 Q234908 Q71231 Q4893207 Q27036912 Q346 Q727717 Q17308940 Q1132756 Q35149 Q23892327 Q636533 Q11619989 Q154353 Q2360522 Q13131020 Q119957 Q2025679 Q160149 Q382005 Q3770666 Q154232 Q551735 Q3618054 Q354519 Q349287 Q537553 Q154045 Q457433 Q1430 Q767 Q552220 Q215572 Q44015 Q318974 Q3099236 Q128267 Q157100 Q160435 Q3398315 Q472635 Q92467 Q316658 Q23894387 Q23991012 Q711836 Q3069570 Q6258837 Q1016482 Q709118 Q328341 Q1293541 Q581537 Q93362 Q538335 Q179971 Q11368835 Q773580 Q164522 Q117710 Q11403867 Q461600 Q712653 Q23559 Q7401328 Q130777 Q130805 Q1268 Q504529 Q603655 Q352748 Q163366 Q6108547 Q20643663 Q6804706 Q1153323 Q17509259 Q11107790 Q43669 Q18126070 Q558148 Q289215 Q351715 Q33477 Q149727 Q7349 Q468122 Q16859956 Q1834624 Q503886 Q444380 Q360798 Q3372785 Q1769 Q1446 Q310462 Q10881970 Q170842 Q12718 Q132232 Q47120 Q87567 Q216873 Q232803 Q238090 Q374467 Q965463 Q3781346 Q174367 Q6203829 Q179858 Q894757 Q5992912 Q3395811 Q7110271 Q45682 Q472851 Q982696 Q317997 Q284323 Q221263 Q51885 Q123062 Q181689 Q964608 Q218690 Q80513 Q469572 Q5984068 Q151803 Q16766274 Q743830 Q3405091 Q16636868 Q82122 Q299179 Q1407 Q1405 Q836214 Q51673 Q1337419 Q234689 Q13132105 Q3305109 Q5623522 Q41309 Q354786
(c(Q44539)|c(Q811979),P825,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q3398098
relation P825
type Q44539
type Q811979
[ANSWERS] are lesser number of temples or architectural structures dedicated to than Sadwrn
[[{'concept': 'Q44539'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?a WHERE { { ?e property:P825 ?a . ?a rdf:type ontology:Q502895 . ?e rdf:type ontology:Q44539 } UNION { ?e property:P825 ?a . ?e rdf:type ontology:Q811979 . ?a rdf:type ontology:Q502895 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P825 resource:Q3398098 . { { ?w rdf:type ontology:Q44539 } UNION { ?w rdf:type ontology:Q811979 } } } } . FILTER ( ?l < ?i ) }
Gaetano Donizetti Saint Sulien Gaspar Melchor de Jovellanos Mawgan Tathan Tyfrydog Charles Fourier Serge Lifar Giacomo Bassi Neville Marriner Saint Keyne Yui Caroline Weber Saint Rhian Julian the Hospitaller Joachim Francis of Assisi Bob Dylan Kitabatake Akiyoshi Karl Ritter von Stremayr Leopoldo Alas Jean Jaurès Rodolphe Kreutzer António José de Ávila, 1st Duke of Ávila and Bolama Hippolytus Llawddog Hilary of Poitiers Mihai Eminescu Kibitsuhiko-no-mikoto Alof de Wignacourt Ferreolus Ramakrishna Antonio Sant'Elia Louis de Montfort Thomas-Alexandre Dumas Francisco Pintado Fe Just of Lyon Archduke Rudolf of Austria Ingeborg Bronsart von Schellendorf Saint Bavo Benjamin Britten Winefride John Paul II Gohard Władysław Szpilman Moriyoshi-shinnō James, son of Alphaeus Antoine Wiertz Septimius Severus Charles Joseph Lenoir Léon Goossens Charlotte Saunders Cushman Albert Einstein Isaac Newton Saint George François Villon Lambert of Maastricht Drusus Julius Caesar Clair of Nantes St Govan Moritz Reichsgraf von Fries Pierre Corneille Fermín Canella Secades Syd Barrett Giuseppe De Nittis Genevieve Simón Bolívar Saint Goustan Collet Barker Léon Gambetta Johann Georg von Browne-Camus Komitas Vardapet Kitabatake Chikafusa Octave Gréard Karl Alois, Prince Lichnowsky Bob Wills Princess Augusta of Hesse-Kassel Diego Velázquez Charles Panzéra Oda Nobunaga Saint Servatius Antonie Brentano Kikuchi Taketoki Giuseppe Sinigaglia Ottaviano Petrucci Kaneyoshi-shinnō Tanwg Iestyn Miles Davis Ceidio ap Einion Absalon Abundius Yamato Takeru Saint Blaise Saint-John Perse John Lewis Thomas Becket Anastasia Vyaltseva Ferrutio Roh Moo-hyun Alexandre Dumas Seiriol Paul Ladmirault José Guadalupe Posada Agatha of Sicily Constantine, Prince of Hohenzollern-Hechingen Bernadette Soubirous Vladimir Lenin Elizabeth Jean Scott Jude the Apostle Alessandro Manzoni Maethlu Victor Maurus José Tartiere y Lenegre Ludwig II of Bavaria Egon Schiele Claude-Emma Debussy Luis Riera Posada Paul Gauguin Gorgonius Jacques Brel Alexander III of Russia Kim Il-sung Meiji Gwenog Jimmu Nazarius Takeda Shingen Bobby Bland Rose of Lima Saint Denis Lenny Bruce Thérèse of Lisieux Vitus Decuman Nelson Mandela Hans von Bülow Edmund the Martyr Untash-Napirisha Ludwika Jędrzejewicz Elizabeth Sprague Coolidge Victor Hugo Nicholas of Flüe Queen Victoria Giuseppe Diego Garibaldi Pacheco Clement I Sebastian of Portugal Enrico Caruso Toyotomi Hideyoshi Diego Brosset Go-Daigo Vladimir Stasov Benito Jerónimo Feijóo y Montenegro Jaroslav Vrchlický Samuel Sánchez Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Michel Eugène Chevreul Gediminas Pablo Picasso Isabella II of Spain Ernst Bloch Kevin of Glendalough Philomena Dorothea von Ertmann Edith Cowan Giulietta Guicciardi Wanda Landowska Manuel Puig Emperor Kammu Michel de Montaigne Natalia Vladimirovna Trouhanowa Antoninus Pius Rudolf Maister Woody Allen Saeran Jesse Lauriston Livermore Trajan Hadrian Skanderbeg Saint Ursula Herman Boerhaave Bartholomew the Apostle Jerome Dubricius Minamoto no Yoshiie Odile of Alsace Margrave Christian Ludwig of Brandenburg-Schwedt Germanicus William Cullen Bryant Mathilde Zemlinsky Columba H. G. Wells Edmund Clarence Stedman Basil of Caesarea Alfonso XIII of Spain Fagan Saint Francis Xavier Bridget O'Connor Peulan Prince Toyokiirihiko Emmanuel Fremiet William Michael Rossetti Ida Rubinstein Uesugi Kenshin Trillo Alexander Fleming Saint Boniface Gwynno Louis XVI of France Len Lye Joseph Merk Frederick William, Elector of Brandenburg Francisco Franco Anton Arensky Motoharu Sano Louis Jou Emmanuel de Rohan-Polduc Yuri Gagarin Paul Cézanne Joseph Franz von Lobkowitz B. R. Ambedkar Jean-Jacques Rousseau Alfonso Iglesias Celynnin Saint Pantaleon Alexander Nevsky Andrey Razumovsky Winwaloe Athanasius of Alexandria Ferdinand von Hompesch zu Bolheim Defendens Ernesto Winter Blanco Vallabhbhai Patel Eric Fletcher Waters Louis Desaix Philip IV of Spain William Osler Justin the Confessor Ferdinando I de' Medici, Grand Duke of Tuscany Hugh d'Avranches, 1st Earl of Chester Ferdinand Magellan Kitabatake Akiie Robert Falcon Scott Franz Joseph I of Austria Plechelm Georges Vallet Johann Jacob Bach Marino Lejarreta Tewdrig Madame Autard de Bragard Tenji Cadwaladr Winston Churchill Augustine of Hippo Armando Palacio Valdés Carl Czerny Æthelwold Antoine Gailleton Jacques Prévert Yasuhito Chichibu Tokugawa Ieyasu Saint Maurice Alexander Wilhelm Gottschalg Kitabatake Morichika Dyfodwg Tybïe Nikolai Rubinstein Dyfnan Charles Baudelaire Digain David of Euboea Tyfei Shōken Albinus of Angers Pablo Martín Melitón de Sarasate y Navascués Alfred Grünfeld Nezami| Charles the Bald Sabino Fernández Campo, 1st Count of Latores Cwyfan Louis IX of France Ramón Pérez de Ayala James William Davison Sakai Tadatsugu Wilhelm Röntgen Morhaiarn Pedro Rodríguez, Conde de Campomanes Prince Uji no Wakiiratsuko François Arago Anna Petrovna Kern Rhidian Alexis Roland-Manuel Albert Thomas Mark Rothko Sugawara no Michizane Giuseppe Ghislanzoni Alexander Suvorov Edgar Quinet Annibale Cressoni Charley Patton Sutoku Ludwig Schuncke Alexei Nikolaevich Sara Dylan Marcus Aurelius Antoninus Stéphane Mallarmé Giuseppe Zanardelli Felix Nussbaum John the Apostle Vincent of Saragossa Minamoto no Tsunemoto Joseph Margaret of Austria, Duchess of Savoy Gerrit Rietveld Tudno Gustav, Prince of Vasa Theodor Avé-Lallemant Go-Toba Rhwydrus Senwyr Philippe Pot Fernando de Valdés y Salas John Thomas Stanley, 1st Baron Stanley of Alderley Burkhard Nadolny Tim Birkin Robert Smithson Saint Quentin Saint Cadfan Archduke Maximilian Francis of Austria Marianne Kirchgessner Chūai Shizuko Nogi Gianni Brera Hieda no Are Lorin Maazel Kitabatake Akinobu Teréz Brunszvik Henri Vernes Benito Mussolini Gredifael Kazimir Malevich George I of Great Britain Frédéric Chopin Theodore of Tarsus Fidelis of Como John Spencer Ezra Pound Ricardo Vázquez-Prada Blanco Hélène Bardac Mechell Danguolė Rasalaitė Saint Elli Kristjan Cavazza Thomas the Apostle Isan Leonard of Noblac Alejandro Boliviano Fruela I of Asturias Eugène Delacroix Saint Giles Joseph Haydn Nogi Maresuke Cawrdaf Gummarus Sterling Morrison Imogen Holst Saint Eligius Paulino Vicente (padre) Alexander Severus Caracalla Saigō Takamori Itsuse no Mikoto Sergei Koroliov Auguste Comte Clara Schumann David Oistrakh Anton Rubinstein Pierre Puvis de Chavannes Empress Jingu Sholem Aleichem Gabriel of Our Lady of Sorrows Rumbold of Mechelen Aida Lafuente Penaos Djoser Jiří Tancibudek Urho Kekkonen Botwulf of Thorney Manuel Fernández Avello Dolores Medio Oudoceus Jean Sibelius Count Ferdinand Ernst Gabriel von Waldstein Bassel Khartabil Ōjin Eulalia of Mérida Philibert II, Duke of Savoy Thecla Jacques Necker Blind Willie McTell Lucien Pissarro Raymond Queneau Saint Cecilia John Nicholson Luis Noval Ferrao Piet Mondrian Michelle Vian Wulfram of Sens Dyfan Crallo Jean-Baptiste de Lamarck Kōmei Tiberius Augustus Princess Tōchi Mark Antony Emilio Alarcos Llorach Monica of Hippo Tysul Donatus of Evorea Gwenllwyfo Franz Liszt Jean-Louis-Ernest Meissonier
Winston Churchill, Albert Einstein and Nelson Mandela are lesser number of temples or architectural structures dedicated to than Sadwrn
Winston Churchill Albert Einstein Nelson Mandela
action less
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Sadwrn
relation dedicated to
type temple
type architectural structure
[[{'concept': 'temple'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?a WHERE { { ?e property:dedicated_to ?a . ?a rdf:type ontology:common_name . ?e rdf:type ontology:temple } UNION { ?e property:dedicated_to ?a . ?e rdf:type ontology:architectural_structure . ?a rdf:type ontology:common_name } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:dedicated_to resource:Sadwrn . { { ?w rdf:type ontology:temple } UNION { ?w rdf:type ontology:architectural_structure } } } } . FILTER ( ?l < ?i ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q811979 Q3516658 Q838948
USER
Which architectural structures are depicted in approximately 1 heraldic symbols and works of art ?
(c(Q3516658)|c(Q838948),P180,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q811979
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q811979
type Q838948
value 1
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q811979'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?r WHERE { { ?b property:P180 ?r . ?b rdf:type ontology:Q3516658 . ?r rdf:type ontology:Q811979 } UNION { ?b property:P180 ?r . ?b rdf:type ontology:Q838948 . ?r rdf:type ontology:Q811979 } } GROUP BY ?r } . FILTER ( ?z = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type architectural structure
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type architectural structure
type work of art
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'architectural structure'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?r WHERE { { ?b property:depicts ?r . ?b rdf:type ontology:heraldic_symbol . ?r rdf:type ontology:architectural_structure } UNION { ?b property:depicts ?r . ?b rdf:type ontology:work_of_art . ?r rdf:type ontology:architectural_structure } } GROUP BY ?r } . FILTER ( ?z = 1 ) }
[]
architectural structure heraldic symbol work of art
Q17641707 Q2465852 Q108325
SYSTEM
Olney Bridge, glory, chapel
Q2465852 Q108325 Q697295 Q44539 Q17641707
(c(Q3516658)|c(Q838948),P180,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q811979
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q811979
type Q838948
value 1
[ANSWERS] are depicted in approximately 1 heraldic symbols and works of art
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q811979'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?r WHERE { { ?b property:P180 ?r . ?b rdf:type ontology:Q3516658 . ?r rdf:type ontology:Q811979 } UNION { ?b property:P180 ?r . ?b rdf:type ontology:Q838948 . ?r rdf:type ontology:Q811979 } } GROUP BY ?r } . FILTER ( ?z = 1 ) }
glory chapel shrine temple Olney Bridge
Olney Bridge, glory and chapel are depicted in approximately 1 heraldic symbols and works of art
Olney Bridge glory chapel
action approx
action union
action find_reverse_tuple_counts
relation depicts
type architectural structure
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type architectural structure
type work of art
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'architectural structure'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?r WHERE { { ?b property:depicts ?r . ?b rdf:type ontology:heraldic_symbol . ?r rdf:type ontology:architectural_structure } UNION { ?b property:depicts ?r . ?b rdf:type ontology:work_of_art . ?r rdf:type ontology:architectural_structure } } GROUP BY ?r } . FILTER ( ?z = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P366
Q811979 Q18142 Q12280
USER
How many architectural structures are considered to be the main utilization of around the same number of tower blocks and bridges as that architectural structure ?
(c(Q18142)|c(Q12280),P366,c(Q811979))
[[{'concept': 'Q18142'}, {'concept': 'Q12280'}], 'P366', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q21263333 ?y } UNION { ?x property:Q21263333 ?y } } . ?z rdf:type ontology:Q18142 . ?y rdf:type ontology:Q811979 . ?x rdf:type ontology:Q996044 }
[[{'concept': 'tower block'}, {'concept': 'bridge'}], 'use', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:use ?y } UNION { ?x property:use ?y } } . ?z rdf:type ontology:tower_block . ?y rdf:type ontology:architectural_structure . ?x rdf:type ontology:bridge }
[]
architectural structure tower block bridge
Comparative|Count over More/Less|Mult. entity type|Clarification
Q17641707
SYSTEM
Did you mean Olney Bridge ?
(c(Q18142)|c(Q12280),P366,c(Q811979))
[ANSWER]
[[{'concept': 'Q18142'}, {'concept': 'Q12280'}], 'P366', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q21263333 ?y } UNION { ?x property:Q21263333 ?y } } . ?z rdf:type ontology:Q18142 . ?y rdf:type ontology:Q811979 . ?x rdf:type ontology:Q996044 }
Did you mean Olney Bridge ?
Olney Bridge
[[{'concept': 'tower block'}, {'concept': 'bridge'}], 'use', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:use ?y } UNION { ?x property:use ?y } } . ?z rdf:type ontology:tower_block . ?y rdf:type ontology:architectural_structure . ?x rdf:type ontology:bridge }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant chapel. Could you tell me the answer for that?
(c(Q18142)|c(Q12280),P366,c(Q811979))
Q108325
[[{'concept': 'Q18142'}, {'concept': 'Q12280'}], 'P366', {'concept': 'Q811979'}]
[[{'concept': 'tower block'}, {'concept': 'bridge'}], 'use', {'concept': 'architectural structure'}]
[]
SYSTEM
14
Q2185387 Q24354 Q35054 Q1500615 Q7493941 Q2137251 Q671224 Q16560 Q1440300 Q947103 Q18615527 Q44539 Q1068623 Q108325
(c(Q18142)|c(Q12280),P366,c(Q811979))
[ANSWER]
[[{'concept': 'Q18142'}, {'concept': 'Q12280'}], 'P366', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q21263333 ?y } UNION { ?x property:Q21263333 ?y } } . ?z rdf:type ontology:Q18142 . ?y rdf:type ontology:Q811979 . ?x rdf:type ontology:Q996044 }
boezemgemaal theater post office Community center (religion) shelter rowing and canoeing venue data center palace observation tower watchtower tram bridge temple transmitter mast chapel
14
[[{'concept': 'tower block'}, {'concept': 'bridge'}], 'use', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:use ?y } UNION { ?x property:use ?y } } . ?z rdf:type ontology:tower_block . ?y rdf:type ontology:architectural_structure . ?x rdf:type ontology:bridge }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2105
P39
Q12737077
USER
How many occupations were a position held by Jacques Chirac ?
(Q2105,P39,c(Q12737077))
action count
action filter_type
action find
entity Q2105
relation P39
type Q12737077
['Q2105', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q2105 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Jacques Chirac
action count
action filter_type
action find
entity Jacques Chirac
relation position held
type occupation
['Jacques Chirac', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Jacques_Chirac property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
SYSTEM
8
Q1587677 Q19822699 Q27169 Q683337 Q191954 Q3044918 Q3780304 Q382617
(Q2105,P39,c(Q12737077))
action count
action filter_type
action find
entity Q2105
relation P39
type Q12737077
[ANSWER]
['Q2105', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q2105 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Prime Minister of France mayor of Paris member of the European Parliament Co-Prince of Andorra President of the French Republic member of the French National Assembly Member of the General Council maire
8
action count
action filter_type
action find
entity Jacques Chirac
relation position held
type occupation
['Jacques Chirac', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Jacques_Chirac property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2105
P40
Q502895
USER
Who are an offsprings of that one ?
action filter_type
action find
entity Q2105
relation P40
type Q502895
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q2105 property:P40 ?i }
Jacques Chirac
action filter_type
action find
entity Jacques Chirac
relation child
type common name
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Jacques_Chirac property:child ?i }
[]
common name
Q447613 Q15529521 Q2977194
SYSTEM
Anh Dao Traxel, Laurence Chirac, Claude Chirac
Q447613 Q15529521 Q2977194
action filter_type
action find
entity Q2105
relation P40
type Q502895
Are an offsprings of that one [ANSWERS]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q2105 property:P40 ?i }
Anh Dao Traxel Laurence Chirac Claude Chirac
Are an offsprings of that one Anh Dao Traxel, Laurence Chirac and Claude Chirac
Anh Dao Traxel Laurence Chirac Claude Chirac
action filter_type
action find
entity Jacques Chirac
relation child
type common name
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Jacques_Chirac property:child ?i }
[]