Simple Question (Direct)
Simple Question
Q363176
P19
Q56061
USER
Which administrative territory was Adolf Lindfors born in ?
(Q363176,P19,c(Q56061))
action filter_type
action find
entity Q363176
relation P19
type Q56061
['Q363176', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q363176 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Adolf Lindfors
action filter_type
action find
entity Adolf Lindfors
relation place of birth
type administrative territorial entity
['Adolf Lindfors', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Adolf_Lindfors property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q193367
SYSTEM
Porvoo
Q193367
(Q363176,P19,c(Q56061))
action filter_type
action find
entity Q363176
relation P19
type Q56061
Adolf Lindfors was born in [ANSWER]
['Q363176', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q363176 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Porvoo
Adolf Lindfors was born in Porvoo
Porvoo
action filter_type
action find
entity Adolf Lindfors
relation place of birth
type administrative territorial entity
['Adolf Lindfors', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Adolf_Lindfors property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q363176
P21
Q290
USER
Which sex does Adolf Lindfors belong to ?
(Q363176,P21,c(Q290))
action filter_type
action find
entity Q363176
relation P21
type Q290
['Q363176', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q363176 property:P21 ?i . ?i rdf:type ontology:Q290 }
Adolf Lindfors
action filter_type
action find
entity Adolf Lindfors
relation gender
type sex
['Adolf Lindfors', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Adolf_Lindfors property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q363176,P21,c(Q290))
action filter_type
action find
entity Q363176
relation P21
type Q290
Adolf Lindfors belongs to [ANSWER]
['Q363176', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q363176 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Adolf Lindfors belongs to male
male
action filter_type
action find
entity Adolf Lindfors
relation gender
type sex
['Adolf Lindfors', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Adolf_Lindfors property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q79529
USER
Which chemical substance is named after that sex ?
(c(Q79529),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q6581097 . ?t rdf:type ontology:Q79529 }
male
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:male . ?t rdf:type ontology:chemical_substance }
[]
chemical substance
Q19833612
SYSTEM
fabrièsite
Q19833612
(c(Q79529),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[ANSWER] is named after that sex
[{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q6581097 . ?t rdf:type ontology:Q79529 }
fabrièsite
Fabrièsite is named after that sex
fabrièsite
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:male . ?t rdf:type ontology:chemical_substance }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q290 Q502895
USER
How many sexes or people are namesakes of that chemical substance ?
(Q19833612,P138,c(Q290)) (Q19833612,P138,c(Q502895)) (Q19833612,P138,c(Q290)) (Q19833612,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q19833612
relation P138
type Q290
action filter_type
action find
entity Q19833612
relation P138
type Q502895
['Q19833612', 'P138', {'concept': 'Q290'}] ['Q19833612', 'P138', {'concept': 'Q502895'}] ['Q19833612', 'P138', {'concept': 'Q290'}] ['Q19833612', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { VALUES ( ?w ) { ( ontology:Q290 ) ( ontology:Q502895 ) } . ?e rdf:type ?w }
action count
action union
action filter_type
action find
entity fabrièsite
relation named after
type sex
action filter_type
action find
entity fabrièsite
relation named after
type common name
['fabrièsite', 'named after', {'concept': 'sex'}] ['fabrièsite', 'named after', {'concept': 'common name'}] ['fabrièsite', 'named after', {'concept': 'sex'}] ['fabrièsite', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { VALUES ( ?w ) { ( ontology:sex ) ( ontology:common_name ) } . ?e rdf:type ?w }
[]
sex common name
SYSTEM
2
Q6581097 Q16644347
(Q19833612,P138,c(Q290)) (Q19833612,P138,c(Q502895)) (Q19833612,P138,c(Q290)) (Q19833612,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q19833612
relation P138
type Q290
action filter_type
action find
entity Q19833612
relation P138
type Q502895
[ANSWER]
['Q19833612', 'P138', {'concept': 'Q290'}] ['Q19833612', 'P138', {'concept': 'Q502895'}] ['Q19833612', 'P138', {'concept': 'Q290'}] ['Q19833612', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { VALUES ( ?w ) { ( ontology:Q290 ) ( ontology:Q502895 ) } . ?e rdf:type ?w }
male Jacques Fabriès
2
action count
action union
action filter_type
action find
entity fabrièsite
relation named after
type sex
action filter_type
action find
entity fabrièsite
relation named after
type common name
['fabrièsite', 'named after', {'concept': 'sex'}] ['fabrièsite', 'named after', {'concept': 'common name'}] ['fabrièsite', 'named after', {'concept': 'sex'}] ['fabrièsite', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { VALUES ( ?w ) { ( ontology:sex ) ( ontology:common_name ) } . ?e rdf:type ?w }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q307871
P35
Q502895 Q7275 Q15617994
USER
How many people are the heads of state of around the same number of states and administrative territories as Abdel Fattah el-Sisi ?
(c(Q7275)|c(Q15617994),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q307871
relation P35
type Q7275
type Q15617994
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:P35 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q7275 } UNION { ?p property:P35 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { { ?g rdf:type ontology:Q7275 } UNION { ?g rdf:type ontology:Q15617994 } } . ?g property:P35 resource:Q307871 } } . FILTER ( ?z = ?v ) }
Abdel Fattah el-Sisi
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Abdel Fattah el-Sisi
relation head of state
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:head_of_state ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:state } UNION { ?p property:head_of_state ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { { ?g rdf:type ontology:state } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?g property:head_of_state resource:Abdel_Fattah_el-Sisi } } . FILTER ( ?z = ?v ) }
[]
common name state designation for an administrative territorial entity
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(Q7275)|c(Q15617994),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q307871
relation P35
type Q7275
type Q15617994
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:P35 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q7275 } UNION { ?p property:P35 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { { ?g rdf:type ontology:Q7275 } UNION { ?g rdf:type ontology:Q15617994 } } . ?g property:P35 resource:Q307871 } } . FILTER ( ?z = ?v ) }
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 state
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Abdel Fattah el-Sisi
relation head of state
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:head_of_state ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:state } UNION { ?p property:head_of_state ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { { ?g rdf:type ontology:state } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?g property:head_of_state resource:Abdel_Fattah_el-Sisi } } . FILTER ( ?z = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q46809
P35
Q502895 Q7275 Q15617994
USER
And how about Raúl Castro?
(c(Q7275)|c(Q15617994),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q46809
relation P35
type Q7275
type Q15617994
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?j WHERE { VALUES ( ?q ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } . ?m rdf:type ?q } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P35 resource:Q46809 . { { ?h rdf:type ontology:Q7275 } UNION { ?h rdf:type ontology:Q15617994 } } } } . FILTER ( ?g = ?c ) }
Raúl Castro
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Raúl Castro
relation head of state
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?j WHERE { VALUES ( ?q ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?m rdf:type ?q } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:head_of_state resource:Raúl_Castro . { { ?h rdf:type ontology:state } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?g = ?c ) }
[]
common name state designation for an administrative territorial entity
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(Q7275)|c(Q15617994),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q46809
relation P35
type Q7275
type Q15617994
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?j WHERE { VALUES ( ?q ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } . ?m rdf:type ?q } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P35 resource:Q46809 . { { ?h rdf:type ontology:Q7275 } UNION { ?h rdf:type ontology:Q15617994 } } } } . FILTER ( ?g = ?c ) }
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 state
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Raúl Castro
relation head of state
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?j WHERE { VALUES ( ?q ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?m rdf:type ?q } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:head_of_state resource:Raúl_Castro . { { ?h rdf:type ontology:state } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?g = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193367
P190
Q15617994
USER
Which administrative territory is twin town of Porvoo ?
(Q193367,P190,c(Q15617994))
action filter_type
action find
entity Q193367
relation P190
type Q15617994
['Q193367', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q193367 property:P190 ?l }
Porvoo
action filter_type
action find
entity Porvoo
relation sister city
type designation for an administrative territorial entity
['Porvoo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Porvoo property:sister_city ?l }
[]
designation for an administrative territorial entity
Q491743
SYSTEM
Dinkelsbühl
Q491743
(Q193367,P190,c(Q15617994))
action filter_type
action find
entity Q193367
relation P190
type Q15617994
[ANSWER] is twin town of Porvoo
['Q193367', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q193367 property:P190 ?l }
Dinkelsbühl
Dinkelsbühl is twin town of Porvoo
Dinkelsbühl
action filter_type
action find
entity Porvoo
relation sister city
type designation for an administrative territorial entity
['Porvoo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Porvoo property:sister_city ?l }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q193367
Q914262
USER
And which administrative territory of Sweden?
(Q193367,P190,c(Q914262))
action filter_type
action find
entity Q193367
relation P190
type Q914262
['Q193367', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q914262 . resource:Q193367 property:P190 ?q }
Porvoo
action filter_type
action find
entity Porvoo
relation sister city
type administrative territorial entity of Sweden
['Porvoo', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Porvoo property:sister_city ?q }
[]
administrative territorial entity of Sweden
Q505018 Q113730
SYSTEM
Lund Municipality, Tyresö Municipality
Q505018 Q113730
(Q193367,P190,c(Q914262))
action filter_type
action find
entity Q193367
relation P190
type Q914262
[ANSWERS]
['Q193367', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q914262 . resource:Q193367 property:P190 ?q }
Lund Municipality Tyresö Municipality
Lund Municipality Tyresö Municipality
action filter_type
action find
entity Porvoo
relation sister city
type administrative territorial entity of Sweden
['Porvoo', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Porvoo property:sister_city ?q }
[]