Simple Question (Direct)
Simple Question
Q3114093
P1346
Q502895
USER
Which people emerged victorious in 2007 Grand Prix de Fourmies ?
(Q3114093,P1346,c(Q502895))
action filter_type
action find
entity Q3114093
relation P1346
type Q502895
['Q3114093', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3114093 property:P1346 ?y . ?y rdf:type ontology:Q502895 }
2007 Grand Prix de Fourmies
action filter_type
action find
entity 2007 Grand Prix de Fourmies
relation winner
type common name
['2007 Grand Prix de Fourmies', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:2007_Grand_Prix_de_Fourmies property:winner ?y . ?y rdf:type ontology:common_name }
[]
common name
Q362136 Q711439 Q548583
SYSTEM
Peter Velits, Daniele Nardello, Baden Cooke
Q362136 Q711439 Q548583
(Q3114093,P1346,c(Q502895))
action filter_type
action find
entity Q3114093
relation P1346
type Q502895
[ANSWERS] emerged victorious in 2007 Grand Prix de Fourmies
['Q3114093', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3114093 property:P1346 ?y . ?y rdf:type ontology:Q502895 }
Peter Velits Daniele Nardello Baden Cooke
Peter Velits, Daniele Nardello and Baden Cooke emerged victorious in 2007 Grand Prix de Fourmies
Peter Velits Daniele Nardello Baden Cooke
action filter_type
action find
entity 2007 Grand Prix de Fourmies
relation winner
type common name
['2007 Grand Prix de Fourmies', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:2007_Grand_Prix_de_Fourmies property:winner ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3114093
P1444
Q20667921
USER
Where does the journey end for that cycling race class ?
(Q362136,P1444,c(Q20667921)) (Q711439,P1444,c(Q20667921)) (Q548583,P1444,c(Q20667921))
action filter_type
action find
entity Q3114093
relation P1444
type Q20667921
['Q362136', 'P1444', {'concept': 'Q20667921'}] ['Q711439', 'P1444', {'concept': 'Q20667921'}] ['Q548583', 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q3114093 property:P1444 ?b }
2007 Grand Prix de Fourmies
action filter_type
action find
entity 2007 Grand Prix de Fourmies
relation destination point
type type of french administrative division
['Peter Velits', 'destination point', {'concept': 'type of french administrative division'}] ['Daniele Nardello', 'destination point', {'concept': 'type of french administrative division'}] ['Baden Cooke', 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:2007_Grand_Prix_de_Fourmies property:destination_point ?b }
[]
type of french administrative division
Q305007
SYSTEM
Fourmies
Q305007
(Q362136,P1444,c(Q20667921)) (Q711439,P1444,c(Q20667921)) (Q548583,P1444,c(Q20667921))
action filter_type
action find
entity Q3114093
relation P1444
type Q20667921
[ANSWER] the journey ends for that cycling race class
['Q362136', 'P1444', {'concept': 'Q20667921'}] ['Q711439', 'P1444', {'concept': 'Q20667921'}] ['Q548583', 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q3114093 property:P1444 ?b }
Fourmies
Fourmies the journey ends for that cycling race class
Fourmies
action filter_type
action find
entity 2007 Grand Prix de Fourmies
relation destination point
type type of french administrative division
['Peter Velits', 'destination point', {'concept': 'type of french administrative division'}] ['Daniele Nardello', 'destination point', {'concept': 'type of french administrative division'}] ['Baden Cooke', 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:2007_Grand_Prix_de_Fourmies property:destination_point ?b }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q295141
P35
Q502895 Q15617994 Q7275
USER
How many people have the highest formal authority in around the same number of administrative territories or states as Chaim Herzog ?
(c(Q15617994)|c(Q7275),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q295141
relation P35
type Q15617994
type Q7275
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?w WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P35 resource:Q295141 . { { ?f rdf:type ontology:Q15617994 } UNION { ?f rdf:type ontology:Q7275 } } } } . FILTER ( ?a = ?k ) }
Chaim Herzog
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type state
action count
action filter_multi_types
action find_reverse
entity Chaim Herzog
relation head of state
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?w WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:head_of_state resource:Chaim_Herzog . { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f rdf:type ontology:state } } } } . FILTER ( ?a = ?k ) }
[]
common name designation for an administrative territorial entity state
SYSTEM
439
Q29574 Q298403 Q356990 Q6737124 Q6756617 Q19830768 Q19830761 Q189732 Q57530 Q110330 Q709734 Q653611 Q153620 Q9151911 Q19464383 Q13107337 Q463533 Q19830715 Q365209 Q3176299 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q45068 Q151929 Q153986 Q43179 Q56226 Q16105901 Q57491 Q57319 Q57258 Q57313 Q236503 Q57315 Q151667 Q55758 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q57385 Q157651 Q128332 Q629702 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 Q15382355 Q187149 Q363392 Q57473 Q5901842 Q57348 Q361173 Q12967 Q3956186 Q1245 Q57478 Q1241 Q1240 Q1242 Q181832 Q153688 Q172388 Q15031 Q1238 Q299100 Q16988 Q1230 Q1233 Q1235 Q16849387 Q294969 Q561837 Q12762303 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q284233 Q295212 Q2610 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q19831452 Q2625711 Q1464 Q968038 Q128416 Q29032 Q29207 Q310247 Q289285 Q2866 Q2042 Q155004 Q196070 Q208497 Q2416022 Q44819 Q23530 Q880065 Q379203 Q57667 Q150642 Q299152 Q57542 Q6762928 Q377935 Q154936 Q555531 Q236853 Q17485808 Q57324 Q57327 Q16669148 Q290786 Q57480 Q57482 Q773874 Q192049 Q886786 Q7244117 Q12149 Q2960197 Q36788 Q57390 Q57392 Q57394 Q57398 Q6127060 Q52878 Q2112764 Q57431 Q57434 Q57436 Q57438 Q344729 Q2646 Q14356 Q2105 Q76437 Q944643 Q2038 Q19581 Q52927 Q93427 Q483672 Q12366816 Q19830746 Q16597 Q15850 Q373532 Q3911 Q280856 Q57506 Q284003 Q16908893 Q37181 Q52890 Q128894 Q76127 Q191045 Q44329 Q157099 Q296950 Q57340 Q34464 Q2665070 Q128911 Q15029 Q218435 Q4250160 Q334923 Q1079522 Q57298 Q57295 Q150747 Q590227 Q4414 Q2498541 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q57279 Q5018756 Q15054736 Q9099 Q230578 Q9094 Q1112792 Q8467 Q2601 Q2602 Q2607 Q612803 Q3318231 Q295141 Q314791 Q39619 Q153832 Q2091478 Q52925 Q52924 Q52926 Q485946 Q1231345 Q42410 Q1568274 Q10665 Q2444338 Q23034482 Q18117069 Q336285 Q163945 Q602428 Q45785 Q15633683 Q30487 Q223183 Q172183 Q311413 Q213791 Q58077 Q12911 Q76167 Q242651 Q7176020 Q156502 Q17995110 Q42852 Q171684 Q57553 Q257425 Q468847 Q57311 Q379148 Q504372 Q217442 Q160318 Q210329 Q313539 Q381027 Q22513 Q57331 Q165487 Q57336 Q57232 Q269412 Q471037 Q6127112 Q46809 Q19831185 Q19831184 Q19831183 Q157121 Q16004 Q5972763 Q57343 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q19831457 Q473247 Q156494 Q20022984 Q76156 Q152463 Q455854 Q936831 Q153167 Q58132 Q156781 Q156780 Q2185 Q57519 Q57512 Q57517 Q57555 Q168691 Q371854 Q154946 Q5816 Q57550 Q661663 Q19861344 Q311583 Q7726 Q128413 Q152265 Q357539 Q150620 Q563297 Q313350 Q6225811 Q206471 Q151729 Q34453 Q57289 Q57282 Q57287 Q57284 Q57460 Q57467 Q310000 Q57464 Q57308 Q3246667 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q239717 Q2357762 Q159585 Q50678 Q4715 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 Q2124 Q296054 Q18352991 Q599988 Q297057 Q57526 Q373605 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q352 Q130834 Q12976 Q12974 Q12973 Q12971 Q14257286 Q150652 Q1459658 Q128371 Q150712 Q319153 Q314514 Q57306 Q19831445 Q299173 Q1228 Q1224 Q206421 Q1220 Q310136 Q57338 Q39259 Q307871 Q2757 Q57458 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q65917 Q380985 Q15039600 Q2628 Q19831449
(c(Q15617994)|c(Q7275),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q295141
relation P35
type Q15617994
type Q7275
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?w WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P35 resource:Q295141 . { { ?f rdf:type ontology:Q15617994 } UNION { ?f rdf:type ontology:Q7275 } } } } . FILTER ( ?a = ?k ) }
Beatrix of the Netherlands Umar II Michal Kováč Maithripala Sirisena Marcelo Rebelo de Sousa Thomas Currie Jonathan Lambert Leonid Kravchuk Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Andrzej Duda John Woolley 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 Carl XVI Gustaf of Sweden Eduard Shevardnadze Guy Scott Ellen Johnson Sirleaf Kim Jong-un Paul Delprat Ricardo Martinelli Norodom Sihamoni Ivo Josipović José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Ferdinand I of Bulgaria Aleksander Kwaśniewski Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Teodoro Obiang Nguema Mbasogo Gustáv Husák Hisham ibn Abd al-Malik Leonid Kuchma 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 Hery Rajaonarimampianina Umberto II of Italy Michel Aoun Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Sergio Mattarella Enrico De Nicola Nicolae Timofti Giovanni Gronchi Antonio Segni Luigi Einaudi Moshe Katsav Umberto I of Italy Ashraf Ghani Ahmadzai Xi Jinping Giuseppe Saragat Zalman Shazar Liu Shaoqi Francesco Cossiga Sandro Pertini Giovanni Leone 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 Sulayman ibn Abd al-Malik Rosen Plevneliev Willi Stoph Megawati Sukarnoputri Filipe Nyusi Kim Il-sung Prince Charles, Count of Flanders Kim Young-sam Mohammed Nadir Shah Carlo II Bertoleoni Vseslav Izyaslavich Benigno Simeon Cojuangco Aquino III Dong Biwu Ibrahim ibn al-Walid Miloš Zeman Sauli Niinistö Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Philippe of Belgium Uhuru Kenyatta Tupou VI Raimonds Vējonis Suharto Dmitry Medvedev Héctor García Godoy Khieu Samphan Dési Bouterse Vittorio Emanuele III Emil Constantinescu Filip Vujanović Marie Louise Coleiro Preca Yang Shangkun Arnulf of Carinthia Paddy Roy Bates Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah 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 Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Jam Feruzudin Gustaf VI Adolf of Sweden Nicos Anastasiades 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 George VI Andris Bērziņš Al-Walid I José Mário Vaz Luiz Inácio Lula da Silva Gustaf V of Sweden Yitzhak Ben-Zvi Sukarno Felipe VI Bashar al-Assad Louis the Child Antanas Smetona Mswati III Philip III of Spain Jozo Križanović Ezer Weizman Hu Jintao Zviad Gamsakhurdia Tion Otang Abu Bakr Erasme Louis Surlet de Chokier Abdullah of Saudi Arabia Ivan Gašparovič Wilhelmina of the Netherlands Edward VIII Faure Gnassingbé Rogvolod Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev Traian Băsescu John Magufuli Mulatu Teshome Tabaré Vázquez Fernando Henrique Cardoso José Mujica Anna Maria Muccioli Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Alī ibn Abī Ṭālib Alcide De Gasperi Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Oscar I of Sweden Itamar Franco Paul Kagame Evo Morales Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau Baldwin Lonsdale 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 Gojong of the Korean Empire Oswiu of Northumbria Juan Manuel Santos Jean-Pierre Bemba 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 George V 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 Louis the German Reuven Rivlin Salvador Sánchez Cerén Valdas Adamkus 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 Victor Emmanuel II of Savoy 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 John Charlton Rudge Borut Pahor Süleyman Demirel Boris Yeltsin Toomas Hendrik Ilves Jacob Zuma Harald V of Norway Ólafur Ragnar Grímsson Ernest Bai Koroma János Áder Ludvík Svoboda Abdullah II of Jordan Abdelaziz Bouteflika Abdul Hamid Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Pearlette Louisy Izyaslav of Polotsk Boris III of Bulgaria John Mahama Moncef Marzouki 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 Valéry Giscard d'Estaing Klement Gottwald Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Bujar Nishani Epeli Nailatikau Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Adolf Hitler Francis I of Austria Baudouin of Belgium Albert I Leopold III Leopold I Mamnoon Hussain Wilhelm I of Germany Viktor Yanukovych Marwan II Charles the Fat Hassan Sheikh Mohamud Gian Galeazzo Sforza Jalal Talabani Mariangela Bertoleoni Michael Sata Oscar Luigi Scalfaro Carlo Azeglio Ciampi Konstantinos Stephanopoulos Giorgio Napolitano Nebojša Radmanović Mahinda Rajapaksa Recep Tayyip Erdoğan Abdel Fattah el-Sisi Lech Kaczyński 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
439
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type state
action count
action filter_multi_types
action find_reverse
entity Chaim Herzog
relation head of state
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?w WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:head_of_state resource:Chaim_Herzog . { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f rdf:type ontology:state } } } } . FILTER ( ?a = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q57424
P35
Q502895 Q15617994 Q7275
USER
And how about Manuel Serifo Nhamadjo?
(c(Q15617994)|c(Q7275),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q57424
relation P35
type Q15617994
type Q7275
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?g ) WHERE { VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?l rdf:type ?z } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:P35 resource:Q57424 . { ?h rdf:type ?x . VALUES ( ?x ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?g = ?e ) }
Manuel Serifo Nhamadjo
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type state
action count
action filter_multi_types
action find_reverse
entity Manuel Serifo Nhamadjo
relation head of state
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?g ) WHERE { VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?l rdf:type ?z } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:head_of_state resource:Manuel_Serifo_Nhamadjo . { ?h rdf:type ?x . VALUES ( ?x ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?g = ?e ) }
[]
common name designation for an administrative territorial entity state
SYSTEM
439
Q29574 Q298403 Q356990 Q6737124 Q6756617 Q19830768 Q19830761 Q189732 Q57530 Q110330 Q709734 Q653611 Q153620 Q9151911 Q19464383 Q13107337 Q463533 Q19830715 Q365209 Q3176299 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q45068 Q151929 Q153986 Q43179 Q56226 Q16105901 Q57491 Q57319 Q57258 Q57313 Q236503 Q57315 Q151667 Q55758 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q57385 Q157651 Q128332 Q629702 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 Q15382355 Q187149 Q363392 Q57473 Q5901842 Q57348 Q361173 Q12967 Q3956186 Q1245 Q57478 Q1241 Q1240 Q1242 Q181832 Q153688 Q172388 Q15031 Q1238 Q299100 Q16988 Q1230 Q1233 Q1235 Q16849387 Q294969 Q561837 Q12762303 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q284233 Q295212 Q2610 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q19831452 Q2625711 Q1464 Q968038 Q128416 Q29032 Q29207 Q310247 Q289285 Q2866 Q2042 Q155004 Q196070 Q208497 Q2416022 Q44819 Q23530 Q880065 Q379203 Q57667 Q150642 Q299152 Q57542 Q6762928 Q377935 Q154936 Q555531 Q236853 Q17485808 Q57324 Q57327 Q16669148 Q290786 Q57480 Q57482 Q773874 Q192049 Q886786 Q7244117 Q12149 Q2960197 Q36788 Q57390 Q57392 Q57394 Q57398 Q6127060 Q52878 Q2112764 Q57431 Q57434 Q57436 Q57438 Q344729 Q2646 Q14356 Q2105 Q76437 Q944643 Q2038 Q19581 Q52927 Q93427 Q483672 Q12366816 Q19830746 Q16597 Q15850 Q373532 Q3911 Q280856 Q57506 Q284003 Q16908893 Q37181 Q52890 Q128894 Q76127 Q191045 Q44329 Q157099 Q296950 Q57340 Q34464 Q2665070 Q128911 Q15029 Q218435 Q4250160 Q334923 Q1079522 Q57298 Q57295 Q150747 Q590227 Q4414 Q2498541 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q57279 Q5018756 Q15054736 Q9099 Q230578 Q9094 Q1112792 Q8467 Q2601 Q2602 Q2607 Q612803 Q3318231 Q295141 Q314791 Q39619 Q153832 Q2091478 Q52925 Q52924 Q52926 Q485946 Q1231345 Q42410 Q1568274 Q10665 Q2444338 Q23034482 Q18117069 Q336285 Q163945 Q602428 Q45785 Q15633683 Q30487 Q223183 Q172183 Q311413 Q213791 Q58077 Q12911 Q76167 Q242651 Q7176020 Q156502 Q17995110 Q42852 Q171684 Q57553 Q257425 Q468847 Q57311 Q379148 Q504372 Q217442 Q160318 Q210329 Q313539 Q381027 Q22513 Q57331 Q165487 Q57336 Q57232 Q269412 Q471037 Q6127112 Q46809 Q19831185 Q19831184 Q19831183 Q157121 Q16004 Q5972763 Q57343 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q19831457 Q473247 Q156494 Q20022984 Q76156 Q152463 Q455854 Q936831 Q153167 Q58132 Q156781 Q156780 Q2185 Q57519 Q57512 Q57517 Q57555 Q168691 Q371854 Q154946 Q5816 Q57550 Q661663 Q19861344 Q311583 Q7726 Q128413 Q152265 Q357539 Q150620 Q563297 Q313350 Q6225811 Q206471 Q151729 Q34453 Q57289 Q57282 Q57287 Q57284 Q57460 Q57467 Q310000 Q57464 Q57308 Q3246667 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q239717 Q2357762 Q159585 Q50678 Q4715 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 Q2124 Q296054 Q18352991 Q599988 Q297057 Q57526 Q373605 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q352 Q130834 Q12976 Q12974 Q12973 Q12971 Q14257286 Q150652 Q1459658 Q128371 Q150712 Q319153 Q314514 Q57306 Q19831445 Q299173 Q1228 Q1224 Q206421 Q1220 Q310136 Q57338 Q39259 Q307871 Q2757 Q57458 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q65917 Q380985 Q15039600 Q2628 Q19831449
(c(Q15617994)|c(Q7275),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q57424
relation P35
type Q15617994
type Q7275
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?g ) WHERE { VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?l rdf:type ?z } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:P35 resource:Q57424 . { ?h rdf:type ?x . VALUES ( ?x ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?g = ?e ) }
Beatrix of the Netherlands Umar II Michal Kováč Maithripala Sirisena Marcelo Rebelo de Sousa Thomas Currie Jonathan Lambert Leonid Kravchuk Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Andrzej Duda John Woolley 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 Carl XVI Gustaf of Sweden Eduard Shevardnadze Guy Scott Ellen Johnson Sirleaf Kim Jong-un Paul Delprat Ricardo Martinelli Norodom Sihamoni Ivo Josipović José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Ferdinand I of Bulgaria Aleksander Kwaśniewski Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Teodoro Obiang Nguema Mbasogo Gustáv Husák Hisham ibn Abd al-Malik Leonid Kuchma 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 Hery Rajaonarimampianina Umberto II of Italy Michel Aoun Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Sergio Mattarella Enrico De Nicola Nicolae Timofti Giovanni Gronchi Antonio Segni Luigi Einaudi Moshe Katsav Umberto I of Italy Ashraf Ghani Ahmadzai Xi Jinping Giuseppe Saragat Zalman Shazar Liu Shaoqi Francesco Cossiga Sandro Pertini Giovanni Leone 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 Sulayman ibn Abd al-Malik Rosen Plevneliev Willi Stoph Megawati Sukarnoputri Filipe Nyusi Kim Il-sung Prince Charles, Count of Flanders Kim Young-sam Mohammed Nadir Shah Carlo II Bertoleoni Vseslav Izyaslavich Benigno Simeon Cojuangco Aquino III Dong Biwu Ibrahim ibn al-Walid Miloš Zeman Sauli Niinistö Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Philippe of Belgium Uhuru Kenyatta Tupou VI Raimonds Vējonis Suharto Dmitry Medvedev Héctor García Godoy Khieu Samphan Dési Bouterse Vittorio Emanuele III Emil Constantinescu Filip Vujanović Marie Louise Coleiro Preca Yang Shangkun Arnulf of Carinthia Paddy Roy Bates Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah 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 Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Jam Feruzudin Gustaf VI Adolf of Sweden Nicos Anastasiades 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 George VI Andris Bērziņš Al-Walid I José Mário Vaz Luiz Inácio Lula da Silva Gustaf V of Sweden Yitzhak Ben-Zvi Sukarno Felipe VI Bashar al-Assad Louis the Child Antanas Smetona Mswati III Philip III of Spain Jozo Križanović Ezer Weizman Hu Jintao Zviad Gamsakhurdia Tion Otang Abu Bakr Erasme Louis Surlet de Chokier Abdullah of Saudi Arabia Ivan Gašparovič Wilhelmina of the Netherlands Edward VIII Faure Gnassingbé Rogvolod Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev Traian Băsescu John Magufuli Mulatu Teshome Tabaré Vázquez Fernando Henrique Cardoso José Mujica Anna Maria Muccioli Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Alī ibn Abī Ṭālib Alcide De Gasperi Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Oscar I of Sweden Itamar Franco Paul Kagame Evo Morales Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau Baldwin Lonsdale 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 Gojong of the Korean Empire Oswiu of Northumbria Juan Manuel Santos Jean-Pierre Bemba 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 George V 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 Louis the German Reuven Rivlin Salvador Sánchez Cerén Valdas Adamkus 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 Victor Emmanuel II of Savoy 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 John Charlton Rudge Borut Pahor Süleyman Demirel Boris Yeltsin Toomas Hendrik Ilves Jacob Zuma Harald V of Norway Ólafur Ragnar Grímsson Ernest Bai Koroma János Áder Ludvík Svoboda Abdullah II of Jordan Abdelaziz Bouteflika Abdul Hamid Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Pearlette Louisy Izyaslav of Polotsk Boris III of Bulgaria John Mahama Moncef Marzouki 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 Valéry Giscard d'Estaing Klement Gottwald Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Bujar Nishani Epeli Nailatikau Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Adolf Hitler Francis I of Austria Baudouin of Belgium Albert I Leopold III Leopold I Mamnoon Hussain Wilhelm I of Germany Viktor Yanukovych Marwan II Charles the Fat Hassan Sheikh Mohamud Gian Galeazzo Sforza Jalal Talabani Mariangela Bertoleoni Michael Sata Oscar Luigi Scalfaro Carlo Azeglio Ciampi Konstantinos Stephanopoulos Giorgio Napolitano Nebojša Radmanović Mahinda Rajapaksa Recep Tayyip Erdoğan Abdel Fattah el-Sisi Lech Kaczyński 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
439
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type state
action count
action filter_multi_types
action find_reverse
entity Manuel Serifo Nhamadjo
relation head of state
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?g ) WHERE { VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?l rdf:type ?z } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:head_of_state resource:Manuel_Serifo_Nhamadjo . { ?h rdf:type ?x . VALUES ( ?x ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?g = ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362136
P7
Q502895
USER
Who has Peter Velits as their sibling ?
(Q362136,P7,c(Q502895))
action filter_type
action find
entity Q362136
relation P7
type Q502895
['Q362136', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q362136 property:P7 ?u }
Peter Velits
action filter_type
action find
entity Peter Velits
relation brother
type common name
['Peter Velits', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Peter_Velits property:brother ?u }
[]
common name
Q523571
SYSTEM
Martin Velits
Q523571
(Q362136,P7,c(Q502895))
action filter_type
action find
entity Q362136
relation P7
type Q502895
[ANSWER] has Peter Velits as their sibling
['Q362136', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q362136 property:P7 ?u }
Martin Velits
Martin Velits has Peter Velits as their sibling
Martin Velits
action filter_type
action find
entity Peter Velits
relation brother
type common name
['Peter Velits', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Peter_Velits property:brother ?u }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q21000393 Q305007
P1923 P1427
Q22348500
USER
Which cycling race classes have Fourmies as the start location and did FDJ 2016 participate in ?
AND((c(Q22348500),P1427,Q305007), (c(Q22348500),P1923,Q21000393))
action filter_type
action intersection
action find_reverse
entity Q305007
relation P1427
action find_reverse
entity Q21000393
relation P1923
type Q22348500
{'AND': [[{'concept': 'Q22348500'}, 'P1427', 'Q305007'], [{'concept': 'Q22348500'}, 'P1923', 'Q21000393']]}
SELECT DISTINCT ?v WHERE { ?v property:P1427 resource:Q305007 . ?v property:P1923 resource:Q21000393 . ?v rdf:type ontology:Q22348500 }
FDJ 2016 Fourmies
action filter_type
action intersection
action find_reverse
entity Fourmies
relation start point
action find_reverse
entity FDJ 2016
relation participating teams
type cycling race class defined by the International Cycling Union
{'AND': [[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Fourmies'], [{'concept': 'cycling race class defined by the International Cycling Union'}, 'participating teams', 'FDJ 2016']]}
SELECT DISTINCT ?v WHERE { ?v property:start_point resource:Fourmies . ?v property:participating_teams resource:FDJ_2016 . ?v rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q20872500
SYSTEM
2016 Grand Prix de Fourmies
Q20872500
AND((c(Q22348500),P1427,Q305007), (c(Q22348500),P1923,Q21000393))
action filter_type
action intersection
action find_reverse
entity Q305007
relation P1427
action find_reverse
entity Q21000393
relation P1923
type Q22348500
[ANSWER] have Fourmies as the start location and did FDJ 2016 participate in
{'AND': [[{'concept': 'Q22348500'}, 'P1427', 'Q305007'], [{'concept': 'Q22348500'}, 'P1923', 'Q21000393']]}
SELECT DISTINCT ?v WHERE { ?v property:P1427 resource:Q305007 . ?v property:P1923 resource:Q21000393 . ?v rdf:type ontology:Q22348500 }
2016 Grand Prix de Fourmies
2016 Grand Prix de Fourmies have Fourmies as the start location and did FDJ 2016 participate in
2016 Grand Prix de Fourmies
action filter_type
action intersection
action find_reverse
entity Fourmies
relation start point
action find_reverse
entity FDJ 2016
relation participating teams
type cycling race class defined by the International Cycling Union
{'AND': [[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Fourmies'], [{'concept': 'cycling race class defined by the International Cycling Union'}, 'participating teams', 'FDJ 2016']]}
SELECT DISTINCT ?v WHERE { ?v property:start_point resource:Fourmies . ?v property:participating_teams resource:FDJ_2016 . ?v rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q20872500 Q630716 Q111829
P17
Q15617994
USER
Is that cycling race class present in Weyhausen and Monte Colombo ?
(Q20872500,P17,Q630716) (Q20872500,P17,Q111829)
action is_in
entity Q20872500
action intersection
action find_reverse
entity Q630716
relation P17
action find_reverse
entity Q111829
relation P17
['Q20872500', 'P17', 'Q630716'] ['Q20872500', 'P17', 'Q111829']
ASK WHERE { resource:Q20872500 property:P17 resource:Q630716 . resource:Q20872500 property:P17 resource:Q111829 }
2016 Grand Prix de Fourmies Weyhausen Monte Colombo
action is_in
entity 2016 Grand Prix de Fourmies
action intersection
action find_reverse
entity Weyhausen
relation country
action find_reverse
entity Monte Colombo
relation country
['2016 Grand Prix de Fourmies', 'country', 'Weyhausen'] ['2016 Grand Prix de Fourmies', 'country', 'Monte Colombo']
ASK WHERE { resource:2016_Grand_Prix_de_Fourmies property:country resource:Weyhausen . resource:2016_Grand_Prix_de_Fourmies property:country resource:Monte_Colombo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q20872500,P17,Q630716) (Q20872500,P17,Q111829)
action is_in
entity Q20872500
action intersection
action find_reverse
entity Q630716
relation P17
action find_reverse
entity Q111829
relation P17
[ANSWER]
['Q20872500', 'P17', 'Q630716'] ['Q20872500', 'P17', 'Q111829']
ASK WHERE { resource:Q20872500 property:P17 resource:Q630716 . resource:Q20872500 property:P17 resource:Q111829 }
No
action is_in
entity 2016 Grand Prix de Fourmies
action intersection
action find_reverse
entity Weyhausen
relation country
action find_reverse
entity Monte Colombo
relation country
['2016 Grand Prix de Fourmies', 'country', 'Weyhausen'] ['2016 Grand Prix de Fourmies', 'country', 'Monte Colombo']
ASK WHERE { resource:2016_Grand_Prix_de_Fourmies property:country resource:Weyhausen . resource:2016_Grand_Prix_de_Fourmies property:country resource:Monte_Colombo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q711439 Q642689
P27
Q15617994
USER
Is Lohme the country of citizenship of Daniele Nardello ?
(Q711439,P27,Q642689)
action is_in
entity Q642689
action find
entity Q711439
relation P27
['Q711439', 'P27', 'Q642689']
ASK WHERE { resource:Q711439 property:P27 resource:Q642689 }
Daniele Nardello Lohme
action is_in
entity Lohme
action find
entity Daniele Nardello
relation country of citizenship
['Daniele Nardello', 'country of citizenship', 'Lohme']
ASK WHERE { resource:Daniele_Nardello property:country_of_citizenship resource:Lohme }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q711439,P27,Q642689)
action is_in
entity Q642689
action find
entity Q711439
relation P27
[ANSWER]
['Q711439', 'P27', 'Q642689']
ASK WHERE { resource:Q711439 property:P27 resource:Q642689 }
No
action is_in
entity Lohme
action find
entity Daniele Nardello
relation country of citizenship
['Daniele Nardello', 'country of citizenship', 'Lohme']
ASK WHERE { resource:Daniele_Nardello property:country_of_citizenship resource:Lohme }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q21079234
P1444
Q13220204 Q22348500
USER
How many administrative country subdivisions are the destination points for less number of cycling race classes than Gippingen ?
(c(Q22348500),P1444,c(Q13220204))
action count
action less
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q22348500
action count
action filter_type
action find_reverse
entity Q21079234
relation P1444
type Q22348500
[{'concept': 'Q22348500'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?i ) WHERE { ?z rdf:type ontology:Q13220204 . ?a rdf:type ontology:Q22348500 . ?a property:P1444 ?z } GROUP BY ?z } . FILTER ( ?i < ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P1444 resource:Q21079234 . ?m rdf:type ontology:Q22348500 } } }
Gippingen
action count
action less
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type cycling race class defined by the International Cycling Union
action count
action filter_type
action find_reverse
entity Gippingen
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?i ) WHERE { ?z rdf:type ontology:second-level_administrative_country_subdivision . ?a rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?a property:destination_point ?z } GROUP BY ?z } . FILTER ( ?i < ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:destination_point resource:Gippingen . ?m rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } }
[]
second-level administrative country subdivision cycling race class defined by the International Cycling Union
SYSTEM
33
Q64087 Q70108 Q82119 Q48278 Q66604 Q101341 Q9772 Q690142 Q488955 Q10081 Q10082 Q68256 Q109494 Q101918 Q52685 Q27587 Q3549 Q156125 Q65679 Q1663 Q586722 Q14641 Q68877 Q70202 Q269667 Q69126 Q65816 Q9802 Q5420 Q2841 Q9781 Q372840 Q3370
(c(Q22348500),P1444,c(Q13220204))
action count
action less
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q22348500
action count
action filter_type
action find_reverse
entity Q21079234
relation P1444
type Q22348500
[ANSWER]
[{'concept': 'Q22348500'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?i ) WHERE { ?z rdf:type ontology:Q13220204 . ?a rdf:type ontology:Q22348500 . ?a property:P1444 ?z } GROUP BY ?z } . FILTER ( ?i < ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P1444 resource:Q21079234 . ?m rdf:type ontology:Q22348500 } } }
Baar Düdingen A Coruña Province Antioquia - Medellín Risch-Rotkreuz Lillehammer Meerssen Olivone Målselv Terneuzen Tholen Porrentruy Odda Apeldoorn Champagne Sandnes Šibenik Larvik Amden Split Loulé Municipality Emmen Finhaut Moudon Rheinfelden Möhlin Jonschwil Echt-Susteren Varaždin Bogotá Sittard-Geleen Tavira Municipality Zadar
33
action count
action less
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type cycling race class defined by the International Cycling Union
action count
action filter_type
action find_reverse
entity Gippingen
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?i ) WHERE { ?z rdf:type ontology:second-level_administrative_country_subdivision . ?a rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?a property:destination_point ?z } GROUP BY ?z } . FILTER ( ?i < ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:destination_point resource:Gippingen . ?m rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q73065
P1444
Q13220204 Q22348500
USER
And also tell me about Veendam?
(c(Q22348500),P1444,c(Q13220204))
action count
action less
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q22348500
action count
action filter_type
action find_reverse
entity Q73065
relation P1444
type Q22348500
[{'concept': 'Q22348500'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P1444 ?l . ?l rdf:type ontology:Q13220204 . ?o rdf:type ontology:Q22348500 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:P1444 resource:Q73065 . ?g rdf:type ontology:Q22348500 } } . FILTER ( ?q < ?y ) }
Veendam
action count
action less
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type cycling race class defined by the International Cycling Union
action count
action filter_type
action find_reverse
entity Veendam
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:destination_point ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision . ?o rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:destination_point resource:Veendam . ?g rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } . FILTER ( ?q < ?y ) }
[]
second-level administrative country subdivision cycling race class defined by the International Cycling Union
SYSTEM
33
Q64087 Q70108 Q82119 Q48278 Q66604 Q101341 Q9772 Q690142 Q488955 Q10081 Q10082 Q68256 Q109494 Q101918 Q52685 Q27587 Q3549 Q156125 Q65679 Q1663 Q586722 Q14641 Q68877 Q70202 Q269667 Q69126 Q65816 Q9802 Q5420 Q2841 Q9781 Q372840 Q3370
(c(Q22348500),P1444,c(Q13220204))
action count
action less
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q22348500
action count
action filter_type
action find_reverse
entity Q73065
relation P1444
type Q22348500
[ANSWER]
[{'concept': 'Q22348500'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P1444 ?l . ?l rdf:type ontology:Q13220204 . ?o rdf:type ontology:Q22348500 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:P1444 resource:Q73065 . ?g rdf:type ontology:Q22348500 } } . FILTER ( ?q < ?y ) }
Baar Düdingen A Coruña Province Antioquia - Medellín Risch-Rotkreuz Lillehammer Meerssen Olivone Målselv Terneuzen Tholen Porrentruy Odda Apeldoorn Champagne Sandnes Šibenik Larvik Amden Split Loulé Municipality Emmen Finhaut Moudon Rheinfelden Möhlin Jonschwil Echt-Susteren Varaždin Bogotá Sittard-Geleen Tavira Municipality Zadar
33
action count
action less
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type cycling race class defined by the International Cycling Union
action count
action filter_type
action find_reverse
entity Veendam
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:destination_point ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision . ?o rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:destination_point resource:Veendam . ?g rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } . FILTER ( ?q < ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4284266
P184
Q502895
USER
How many people have Vadim Masson as doctoral advisor ?
(c(Q502895),P184,Q4284266)
action count
action filter_type
action find_reverse
entity Q4284266
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q4284266']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P184 resource:Q4284266 . ?x rdf:type ontology:Q502895 }
Vadim Masson
action count
action filter_type
action find_reverse
entity Vadim Masson
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Vadim Masson']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:doctoral_advisor resource:Vadim_Masson . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q4392395
(c(Q502895),P184,Q4284266)
action count
action filter_type
action find_reverse
entity Q4284266
relation P184
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q4284266']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P184 resource:Q4284266 . ?x rdf:type ontology:Q502895 }
Alexei Rezepkin
1
action count
action filter_type
action find_reverse
entity Vadim Masson
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Vadim Masson']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:doctoral_advisor resource:Vadim_Masson . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q62379
P184
Q502895
USER
And also tell me about Ferdinand Zirkel?
(c(Q502895),P184,Q62379)
action count
action filter_type
action find_reverse
entity Q62379
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q62379']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P184 resource:Q62379 . ?y rdf:type ontology:Q502895 }
Ferdinand Zirkel
action count
action filter_type
action find_reverse
entity Ferdinand Zirkel
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Ferdinand Zirkel']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:doctoral_advisor resource:Ferdinand_Zirkel . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q17308920
(c(Q502895),P184,Q62379)
action count
action filter_type
action find_reverse
entity Q62379
relation P184
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q62379']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P184 resource:Q62379 . ?y rdf:type ontology:Q502895 }
Charles Whitman Cross
1
action count
action filter_type
action find_reverse
entity Ferdinand Zirkel
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Ferdinand Zirkel']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:doctoral_advisor resource:Ferdinand_Zirkel . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62379
P20
Q56061
USER
Where did that person die ?
action filter_type
action find
entity Q62379
relation P20
type Q56061
SELECT DISTINCT ?p WHERE { resource:Q62379 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Ferdinand Zirkel
action filter_type
action find
entity Ferdinand Zirkel
relation place of death
type administrative territorial entity
SELECT DISTINCT ?p WHERE { resource:Ferdinand_Zirkel property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
action filter_type
action find
entity Q62379
relation P20
type Q56061
That person died in [ANSWER]
SELECT DISTINCT ?p WHERE { resource:Q62379 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Bonn
That person died in Bonn
Bonn
action filter_type
action find
entity Ferdinand Zirkel
relation place of death
type administrative territorial entity
SELECT DISTINCT ?p WHERE { resource:Ferdinand_Zirkel property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62379
P166
Q618779
USER
What was received by that person ?
(Q586,P166,c(Q618779))
action filter_type
action find
entity Q62379
relation P166
type Q618779
['Q586', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618779 . resource:Q62379 property:P166 ?j }
Ferdinand Zirkel
action filter_type
action find
entity Ferdinand Zirkel
relation award received
type award
['Bonn', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:award . resource:Ferdinand_Zirkel property:award_received ?j }
[]
award
Q1136626
SYSTEM
Cothenius Medal
Q1136626
(Q586,P166,c(Q618779))
action filter_type
action find
entity Q62379
relation P166
type Q618779
[ANSWER] was received by that person
['Q586', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618779 . resource:Q62379 property:P166 ?j }
Cothenius Medal
Cothenius Medal was received by that person
Cothenius Medal
action filter_type
action find
entity Ferdinand Zirkel
relation award received
type award
['Bonn', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:award . resource:Ferdinand_Zirkel property:award_received ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q523571
P1344
Q15275719
USER
How many recurring events did Martin Velits compete in ?
(Q523571,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q523571
relation P1344
type Q15275719
['Q523571', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q523571 property:P1344 ?w . ?w rdf:type ontology:Q15275719 }
Martin Velits
action count
action filter_type
action find
entity Martin Velits
relation participant of
type recurring event
['Martin Velits', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Martin_Velits property:participant_of ?w . ?w rdf:type ontology:recurring_event }
[]
recurring event
SYSTEM
1
Q33881
(Q523571,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q523571
relation P1344
type Q15275719
[ANSWER]
['Q523571', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q523571 property:P1344 ?w . ?w rdf:type ontology:Q15275719 }
Tour de France
1
action count
action filter_type
action find
entity Martin Velits
relation participant of
type recurring event
['Martin Velits', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Martin_Velits property:participant_of ?w . ?w rdf:type ontology:recurring_event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2423331
P1344
Q15275719
USER
And also tell me about Lauris Reiniks?
(Q2423331,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q2423331
relation P1344
type Q15275719
['Q2423331', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q2423331 property:P1344 ?b . ?b rdf:type ontology:Q15275719 }
Lauris Reiniks
action count
action filter_type
action find
entity Lauris Reiniks
relation participant of
type recurring event
['Lauris Reiniks', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Lauris_Reiniks property:participant_of ?b . ?b rdf:type ontology:recurring_event }
[]
recurring event
SYSTEM
1
Q10148
(Q2423331,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q2423331
relation P1344
type Q15275719
[ANSWER]
['Q2423331', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q2423331 property:P1344 ?b . ?b rdf:type ontology:Q15275719 }
Eurovision Song Contest 2003
1
action count
action filter_type
action find
entity Lauris Reiniks
relation participant of
type recurring event
['Lauris Reiniks', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Lauris_Reiniks property:participant_of ?b . ?b rdf:type ontology:recurring_event }
[]