Simple Question (Direct)
Simple Question
Q5639851
P39
Q12737077
USER
What was the position for which Manuel Guillermo Pinto was appointed ?
(Q5639851,P39,c(Q12737077))
action filter_type
action find
entity Q5639851
relation P39
type Q12737077
['Q5639851', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5639851 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Manuel Guillermo Pinto
action filter_type
action find
entity Manuel Guillermo Pinto
relation position held
type occupation
['Manuel Guillermo Pinto', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Manuel_Guillermo_Pinto property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q1425955
SYSTEM
Governor of Buenos Aires Province
Q1425955
(Q5639851,P39,c(Q12737077))
action filter_type
action find
entity Q5639851
relation P39
type Q12737077
The [ANSWER]
['Q5639851', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5639851 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Governor of Buenos Aires Province
The Governor of Buenos Aires Province
Governor of Buenos Aires Province
action filter_type
action find
entity Manuel Guillermo Pinto
relation position held
type occupation
['Manuel Guillermo Pinto', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Manuel_Guillermo_Pinto property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5639851
P410
Q4189293
USER
Which is the title held by Manuel Guillermo Pinto ?
(Q5639851,P410,c(Q4189293))
action filter_type
action find
entity Q5639851
relation P410
type Q4189293
['Q5639851', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?a WHERE { resource:Q5639851 property:P410 ?a . ?a rdf:type ontology:Q4189293 }
Manuel Guillermo Pinto
action filter_type
action find
entity Manuel Guillermo Pinto
relation military rank
type title
['Manuel Guillermo Pinto', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?a WHERE { resource:Manuel_Guillermo_Pinto property:military_rank ?a . ?a rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q5639851,P410,c(Q4189293))
action filter_type
action find
entity Q5639851
relation P410
type Q4189293
[ANSWER] the title held by Manuel Guillermo Pinto
['Q5639851', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?a WHERE { resource:Q5639851 property:P410 ?a . ?a rdf:type ontology:Q4189293 }
general officer
General officer the title held by Manuel Guillermo Pinto
general officer
action filter_type
action find
entity Manuel Guillermo Pinto
relation military rank
type title
['Manuel Guillermo Pinto', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?a WHERE { resource:Manuel_Guillermo_Pinto property:military_rank ?a . ?a rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5639851
P20
Q515
USER
Where did the demise of that person occur ?
(Q83460,P20,c(Q515))
action filter_type
action find
entity Q5639851
relation P20
type Q515
['Q83460', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q5639851 property:P20 ?v . ?v rdf:type ontology:Q515 }
Manuel Guillermo Pinto
action filter_type
action find
entity Manuel Guillermo Pinto
relation place of death
type city
['general officer', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Manuel_Guillermo_Pinto property:place_of_death ?v . ?v rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q83460,P20,c(Q515))
action filter_type
action find
entity Q5639851
relation P20
type Q515
The demise of that person occurred in [ANSWER]
['Q83460', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q5639851 property:P20 ?v . ?v rdf:type ontology:Q515 }
Buenos Aires
The demise of that person occurred in Buenos Aires
Buenos Aires
action filter_type
action find
entity Manuel Guillermo Pinto
relation place of death
type city
['general officer', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Manuel_Guillermo_Pinto property:place_of_death ?v . ?v rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1486 Q1524
P190
Q56061
USER
Is Athens twin town of that city ?
(Q1486,P190,Q1524)
action is_in
entity Q1524
action find
entity Q1486
relation P190
['Q1486', 'P190', 'Q1524']
ASK WHERE { resource:Q1486 property:P190 resource:Q1524 }
Buenos Aires Athens
action is_in
entity Athens
action find
entity Buenos Aires
relation sister city
['Buenos Aires', 'sister city', 'Athens']
ASK WHERE { resource:Buenos_Aires property:sister_city resource:Athens }
[]
administrative territorial entity
SYSTEM
YES
(Q1486,P190,Q1524)
action is_in
entity Q1524
action find
entity Q1486
relation P190
[ANSWER]
['Q1486', 'P190', 'Q1524']
ASK WHERE { resource:Q1486 property:P190 resource:Q1524 }
Yes
action is_in
entity Athens
action find
entity Buenos Aires
relation sister city
['Buenos Aires', 'sister city', 'Athens']
ASK WHERE { resource:Buenos_Aires property:sister_city resource:Athens }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q440387 Q5639851
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Manuel Guillermo Pinto or Claudio Bunster ?
OR((Q5639851,P27,c(Q15617994)), (Q440387,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5639851
relation P27
action find
entity Q440387
relation P27
type Q15617994
{'OR': [['Q5639851', 'P27', {'concept': 'Q15617994'}], ['Q440387', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q5639851 property:P27 ?t } UNION { resource:Q440387 property:P27 ?t } } }
Claudio Bunster Manuel Guillermo Pinto
action filter_type
action union
action find
entity Manuel Guillermo Pinto
relation country of citizenship
action find
entity Claudio Bunster
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Manuel Guillermo Pinto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Claudio Bunster', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Manuel_Guillermo_Pinto property:country_of_citizenship ?t } UNION { resource:Claudio_Bunster property:country_of_citizenship ?t } } }
[]
designation for an administrative territorial entity
Q298 Q414
SYSTEM
Chile, Argentina
Q298 Q414
OR((Q5639851,P27,c(Q15617994)), (Q440387,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5639851
relation P27
action find
entity Q440387
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Manuel Guillermo Pinto or Claudio Bunster
{'OR': [['Q5639851', 'P27', {'concept': 'Q15617994'}], ['Q440387', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q5639851 property:P27 ?t } UNION { resource:Q440387 property:P27 ?t } } }
Chile Argentina
Chile and Argentina are the countries of citizenship of Manuel Guillermo Pinto or Claudio Bunster
Chile Argentina
action filter_type
action union
action find
entity Manuel Guillermo Pinto
relation country of citizenship
action find
entity Claudio Bunster
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Manuel Guillermo Pinto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Claudio Bunster', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Manuel_Guillermo_Pinto property:country_of_citizenship ?t } UNION { resource:Claudio_Bunster property:country_of_citizenship ?t } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q817965
P190
Q515 Q13220204 Q515
USER
How many cities are partner towns of greater number of administrative country subdivisions and cities than Ikeda ?
(c(Q13220204)|c(Q515),P190,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
action count
action filter_multi_types
action find_reverse
entity Q817965
relation P190
type Q13220204
type Q515
[[{'concept': 'Q13220204'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?x WHERE { { ?m property:P190 ?x . ?m rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q515 } UNION { ?m rdf:type ontology:Q515 . ?x rdf:type ontology:Q515 . ?m property:P190 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P190 resource:Q817965 . { VALUES ( ?i ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } . ?h rdf:type ?i } } } . FILTER ( ?p > ?z ) }
Ikeda
action count
action greater
action union
action find_reverse_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type city
type city
action count
action filter_multi_types
action find_reverse
entity Ikeda
relation sister city
type second-level administrative country subdivision
type city
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?x WHERE { { ?m property:sister_city ?x . ?m rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:city } UNION { ?m rdf:type ontology:city . ?x rdf:type ontology:city . ?m property:sister_city ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:sister_city resource:Ikeda . { VALUES ( ?i ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } . ?h rdf:type ?i } } } . FILTER ( ?p > ?z ) }
[]
city second-level administrative country subdivision city
SYSTEM
126
Q23430 Q3572 Q841296 Q7253 Q3870 Q11736 Q696694 Q60037 Q837968 Q240504 Q3624 Q43199 Q5779 Q20934 Q57958 Q329768 Q14424 Q2973 Q2887 Q3926 Q11462 Q384796 Q23482 Q16520 Q19689 Q2910 Q1899 Q26600 Q1794 Q3846983 Q72818 Q178878 Q1486 Q17042 Q1461 Q842984 Q198370 Q1008983 Q214956 Q288413 Q1519 Q8684 Q3838 Q837157 Q14819 Q137271 Q8652 Q329775 Q3861 Q587746 Q606212 Q3919 Q19660 Q2844 Q3915 Q178382 Q533078 Q58570 Q124375 Q3806 Q9005 Q252325 Q2773 Q837161 Q842976 Q14440 Q198266 Q1773 Q2079 Q426237 Q42007 Q252061 Q166829 Q214948 Q68481 Q549427 Q267708 Q680656 Q1508 Q157835 Q2749 Q185684 Q11194 Q485581 Q646850 Q390796 Q5972 Q1720 Q843014 Q11725 Q2207 Q851056 Q76010 Q42622 Q59095 Q187136 Q75379 Q839796 Q146317 Q203344 Q20921 Q71151 Q378225 Q1000056 Q456 Q755701 Q679224 Q168648 Q485176 Q3751 Q3616 Q3612 Q844852 Q25475 Q680743 Q169064 Q117676 Q613813 Q1533 Q1953 Q207309 Q209988 Q240489 Q170525 Q59132 Q16666
(c(Q13220204)|c(Q515),P190,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
action count
action filter_multi_types
action find_reverse
entity Q817965
relation P190
type Q13220204
type Q515
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?x WHERE { { ?m property:P190 ?x . ?m rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q515 } UNION { ?m rdf:type ontology:Q515 . ?x rdf:type ontology:Q515 . ?m property:P190 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P190 resource:Q817965 . { VALUES ( ?i ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } . ?h rdf:type ?i } } } . FILTER ( ?p > ?z ) }
Ulaanbaatar Tunis Příbram Padang Nairobi Tianjin Onomichi Zalaegerszeg Băile Tușnad Makó Addis Ababa Omaha Banda Aceh Incheon Zhenjiang Tata Nagykanizsa Darmstadt Santiago Pretoria Surabaya Ōda Marseille Busan Tirana Ludwigshafen Kyiv Fukuoka Frankfurt Șimleu Silvaniei Haiphong Békéscsaba Buenos Aires Oakland Manila Harkány Zibo Vodňany Znojmo Tapolca Abu Dhabi Seoul Kinshasa Covasna Freiberg Kota Kinabalu Miami Kiskunhalas Doha Siret Fremantle Gaborone Bucharest Brasília Antananarivo Jūrmala Baraolt Handan Hódmezővásárhely Tübingen Brussels Hajdúdorog Braunschweig Sânnicolau Mare Mátészalka Iquique Zhuzhou Riga Leipzig Guangyuan Szombathely Valea lui Mihai Miercurea Nirajului Cegléd Fuzhou Jánoshalma Sovata Sümeg Makati Zaporizhzhya Augsburg Hefei Sarajevo Aveiro Kiskőrös Orosháza Medan Mainz Szarvas Chongqing Naga Cristuru Secuiesc Santa Rosa Suzhou Zhuhai Luoyang Huludao Borsec Veszprém Baja Daejeon Sayda Hagi Sušice Lyon Ráckeve Hajdúböszörmény Sopron Pasadena Praia Tehran Antofagasta Ueda Batumi Balatonfüred Sângeorgiu de Pădure Viseu Kőszeg Caracas Yerevan Tokushima Gödöllő Higashimurayama Agadir Jiangmen Nanjing
126
action count
action greater
action union
action find_reverse_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type city
type city
action count
action filter_multi_types
action find_reverse
entity Ikeda
relation sister city
type second-level administrative country subdivision
type city
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?x WHERE { { ?m property:sister_city ?x . ?m rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:city } UNION { ?m rdf:type ontology:city . ?x rdf:type ontology:city . ?m property:sister_city ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:sister_city resource:Ikeda . { VALUES ( ?i ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } . ?h rdf:type ?i } } } . FILTER ( ?p > ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q655417
P190
Q515 Q13220204 Q515
USER
And also tell me about Kenderes?
(c(Q13220204)|c(Q515),P190,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
action count
action filter_multi_types
action find_reverse
entity Q655417
relation P190
type Q13220204
type Q515
[[{'concept': 'Q13220204'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?p WHERE { { ?b property:P190 ?p . ?b rdf:type ontology:Q13220204 . ?p rdf:type ontology:Q515 } UNION { ?b property:P190 ?p . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q515 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P190 resource:Q655417 . { ?q rdf:type ?y . VALUES ( ?y ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } } } } . FILTER ( ?t > ?l ) }
Kenderes
action count
action greater
action union
action find_reverse_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type city
type city
action count
action filter_multi_types
action find_reverse
entity Kenderes
relation sister city
type second-level administrative country subdivision
type city
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?p WHERE { { ?b property:sister_city ?p . ?b rdf:type ontology:second-level_administrative_country_subdivision . ?p rdf:type ontology:city } UNION { ?b property:sister_city ?p . ?p rdf:type ontology:city . ?b rdf:type ontology:city } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:sister_city resource:Kenderes . { ?q rdf:type ?y . VALUES ( ?y ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } } } } . FILTER ( ?t > ?l ) }
[]
city second-level administrative country subdivision city
SYSTEM
396
Q41283 Q23430 Q1021103 Q3572 Q10127 Q843001 Q1017045 Q830404 Q235746 Q841296 Q7253 Q3870 Q362865 Q34412 Q72877 Q11736 Q854913 Q696694 Q1000060 Q460835 Q60037 Q850969 Q4024 Q270814 Q25282 Q664895 Q837968 Q27860 Q240504 Q854996 Q3624 Q209785 Q360326 Q320950 Q43199 Q1015011 Q52607 Q837173 Q755686 Q823874 Q205607 Q320943 Q193050 Q985465 Q217646 Q71266 Q15720 Q602042 Q843039 Q5779 Q425996 Q20934 Q166255 Q57953 Q174091 Q916679 Q57958 Q501891 Q349983 Q653372 Q653478 Q911517 Q38968 Q59205 Q842961 Q329768 Q41278 Q843035 Q246723 Q75978 Q935846 Q14424 Q2973 Q147738 Q2135 Q43196 Q210493 Q2887 Q3926 Q11462 Q834567 Q384796 Q23482 Q605256 Q374477 Q5838 Q819664 Q16520 Q220445 Q847546 Q57719 Q1632616 Q3069 Q571033 Q19689 Q3104 Q2910 Q1899 Q461020 Q57996 Q958157 Q26600 Q507846 Q1794 Q602976 Q3846983 Q375097 Q59144 Q12062 Q72818 Q178878 Q203027 Q1486 Q2966 Q154540 Q17042 Q1461 Q842984 Q817965 Q843018 Q425492 Q1010144 Q737830 Q5540 Q645014 Q198370 Q10393 Q791458 Q423371 Q386635 Q10389 Q1013843 Q291745 Q583620 Q1008983 Q214945 Q515573 Q214956 Q1362 Q182378 Q117604 Q588606 Q855513 Q58401 Q404873 Q288413 Q167668 Q1519 Q8684 Q3838 Q459787 Q386026 Q837157 Q149097 Q393426 Q6602 Q898468 Q1025213 Q276132 Q58560 Q3866 Q14819 Q137271 Q7003 Q911667 Q7568 Q8652 Q180379 Q404429 Q329775 Q657642 Q2900 Q76001 Q3599 Q56759 Q1731 Q3861 Q1410 Q642006 Q587746 Q26837 Q7786 Q606212 Q3919 Q19660 Q2844 Q3915 Q178382 Q937688 Q75110 Q58324 Q42666 Q1676870 Q533078 Q58570 Q1711 Q1017806 Q857234 Q17182 Q124375 Q854940 Q3806 Q416544 Q633983 Q604516 Q320939 Q177149 Q42635 Q9005 Q208471 Q14960 Q3185 Q116417 Q368929 Q252325 Q2773 Q781435 Q740915 Q837161 Q645567 Q842976 Q14440 Q34261 Q198266 Q279642 Q71355 Q1773 Q679249 Q3958 Q875070 Q189633 Q2079 Q933480 Q6829 Q260522 Q844130 Q752838 Q426237 Q42007 Q1858 Q496499 Q252061 Q1854 Q166829 Q394108 Q855011 Q1013914 Q14169 Q214948 Q182852 Q111739 Q214942 Q68481 Q549427 Q335506 Q694370 Q4174 Q847565 Q267708 Q1822 Q389495 Q75336 Q680656 Q1508 Q385623 Q946769 Q846351 Q739304 Q1729076 Q157835 Q75230 Q3046 Q594275 Q463171 Q851048 Q857293 Q5753 Q2749 Q532560 Q911674 Q185684 Q656603 Q11194 Q485581 Q646850 Q376233 Q2119 Q206872 Q390796 Q719 Q5972 Q1720 Q1721 Q851029 Q1645 Q57906 Q215755 Q547479 Q509923 Q773203 Q843014 Q11725 Q789510 Q470369 Q1865 Q727143 Q146363 Q863739 Q2207 Q1756960 Q851056 Q76010 Q756273 Q42622 Q633996 Q188247 Q59095 Q72778 Q1355 Q3167 Q187136 Q1018857 Q75379 Q839796 Q3014 Q55740 Q146317 Q825166 Q57941 Q855082 Q203344 Q530634 Q20921 Q71151 Q71159 Q189761 Q390156 Q2795 Q750224 Q378225 Q57866 Q804395 Q207222 Q653364 Q5217 Q1000056 Q456 Q755701 Q161060 Q604385 Q679224 Q168648 Q843031 Q2833 Q485176 Q3935 Q146033 Q726993 Q3751 Q3616 Q59213 Q3612 Q844852 Q158272 Q166183 Q25475 Q680743 Q169064 Q117676 Q613813 Q1533 Q950352 Q1530 Q3042 Q1889017 Q1953 Q680963 Q207309 Q66485 Q209988 Q3994 Q432055 Q240891 Q240489 Q320964 Q23768 Q58584 Q170525 Q842925 Q302526 Q243293 Q59132 Q104125 Q247387 Q2999 Q16666
(c(Q13220204)|c(Q515),P190,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
action count
action filter_multi_types
action find_reverse
entity Q655417
relation P190
type Q13220204
type Q515
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?p WHERE { { ?b property:P190 ?p . ?b rdf:type ontology:Q13220204 . ?p rdf:type ontology:Q515 } UNION { ?b property:P190 ?p . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q515 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P190 resource:Q655417 . { ?q rdf:type ?y . VALUES ( ?y ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } } } } . FILTER ( ?t > ?l ) }
Gwangju Ulaanbaatar Meziboří Tunis Tangerang Csorna Protivín Hajdúszoboszló Kesennuma Příbram Padang Nairobi Pingxiang Foshan Datong Tianjin Szikszó Onomichi Humpolec Marugame Zalaegerszeg Victoria Frankfurt (Oder) Ishinomaki Danang Uherský Brod Băile Tușnad Jayapura Makó Szerencs Addis Ababa Ichikawa Tongling Trutnov Omaha Milevsko Mar del Plata Cisnădie Nyírbátor Toda Zirc Matsudo Érd Rakovník Mudanjiang Yichang Satsumasendai Baktalórántháza Veresegyház Banda Aceh Deyang Incheon Horšovský Týn Schwarzenberg Changsha Téglás Zhenjiang Tahara Heihe Higashihiroshima Mishima Létavértes Liuzhou Heyuan Mezőberény Tata Ulsan Celldömölk Záhony Calamba Vlăhița Nagykanizsa Darmstadt Saint Helier Winnipeg Cincinnati Yantai Santiago Pretoria Surabaya Bonyhád Ōda Marseille Shimada Ashikaga Kabul Sukagawa Busan Kuching Saiki Xuzhou Počátky Bottrop Hulunbuir Tirana Koblenz Ludwigshafen Kyiv Imabari Thum Sezimovo Ústí Fukuoka Sebiș Frankfurt Klatovy Șimleu Silvaniei Tiszaújváros Zhanjiang Torgau Haiphong Békéscsaba Tsu Buenos Aires Heidelberg Sásd Oakland Manila Harkány Ikeda Kunszentmiklós Luzhou Hluboká nad Vltavou Mizil Penza Túrkeve Zibo Bogor Battonya Ștei Hikone Bandung Dačice Ílhavo Dévaványa Vodňany Pápa Hanzhong Znojmo Islamabad Putrajaya Nago Fonyód Bük Shijiazhuang Xinyang Tapolca Liepāja Abu Dhabi Seoul Kinshasa Iloilo City Orlová Covasna Jirkov Žatec Strasbourg Brandýs nad Labem-Stará Boleslav Rosice Pecica Qinhuangdao Dodoma Freiberg Kota Kinabalu Dijon Elek Yogyakarta Miami Rēzekne Jiaozuo Kiskunhalas Villány Quito San Pablo Bicske Olongapo Dresden Doha Gibraltar Kurayoshi Siret Sorong Pekanbaru Fremantle Gaborone Bucharest Brasília Antananarivo Jūrmala Strmilov Dandong Zhoushan Shaoxing Jablonné nad Orlicí Baraolt Handan Potsdam Nové Sedlo Shōbara Parañaque Hódmezővásárhely Dabas Tübingen Changde Kashiwazaki Szentgotthárd Mělník Obihiro Wenzhou Brussels Kaifeng Brno Hildesheim Sátoraljaújhely Jindřichův Hradec Hajdúdorog Braunschweig Derecske Fulnek Sânnicolau Mare Törökbálint Mátészalka Iquique Port-au-Prince Zhuzhou Myōkō Huanggang Riga Kalocsa Neubrandenburg Dagupan Guilin Leipzig Luhačovice Speyer Bácsalmás Nagahama Aszód Guangyuan Szombathely Hanoi Kazuno Valea lui Mihai Ho Chi Minh City Miercurea Nirajului Žirovnice Heves Polička Singkawang Cegléd Kunming Puerto Princesa Kazincbarcika Fuzhou Jánoshalma Salto Ayabe Emden Hanyū City Sovata Baguio Toyokawa Chaoyang Sümeg Makati Ōmuta, Fukuoka Mórahalom Miyazu Hajdúnánás Kardašova Řečice Zaporizhzhya Panjin Pforzheim General Santos Handa Făget Kamo Samarkand Augsburg Jiayuguan City Simontornya Hefei Jičín Sarajevo Aveiro Kiskőrös Săcueni Mannheim Ajka Orosháza Saginaw Medan Mainz Wiesbaden Aleșd Cagayan de Oro Yangzhou Xiangtan Dunakeszi Mezőhegyes Százhalombatta Szarvas Chongqing Balmazújváros Kolín Kuala Lumpur Örkény Most Kasaoka Naga Poběžovice Cristuru Secuiesc Santa Rosa Karcag Suzhou Kameoka Sarkad Zhuhai Taiyuan Bangalore Siegen Luoyang Nový Bydžov Huludao Borsec Wolfsburg San Fernando Veszprém Izumo Schneeberg, Saxony Csenger Baja Pilisvörösvár Daejeon Sayda Brand-Erbisdorf Szekszárd Petrila Chemnitz Strakonice Hagi Yancheng Blatná Zlaté Hory Atami Bacolod Sušice Lyon Ráckeve Přibyslav Shizuishan Hajdúböszörmény Sopron Vasvár Freiburg im Breisgau Pasadena Windhoek Zamárdi Cotabato City Praia Tehran Qingyuan Antofagasta Ueda Žamberk Nabari Batumi Balatonfüred Sângeorgiu de Pădure Viseu Kőszeg Caracas Brtnice Baghdad Offenbach am Main Mandaue Yerevan Mór Tokushima Jaipur Gödöllő Kempten Hamada Higashiōmi Higashimurayama Yonago Las Vegas Baoding Agadir Edelény Tab Sekondi-Takoradi Jiangmen Lucena Kaba Würzburg Nanjing
396
action count
action greater
action union
action find_reverse_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type city
type city
action count
action filter_multi_types
action find_reverse
entity Kenderes
relation sister city
type second-level administrative country subdivision
type city
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?p WHERE { { ?b property:sister_city ?p . ?b rdf:type ontology:second-level_administrative_country_subdivision . ?p rdf:type ontology:city } UNION { ?b property:sister_city ?p . ?p rdf:type ontology:city . ?b rdf:type ontology:city } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:sister_city resource:Kenderes . { ?q rdf:type ?y . VALUES ( ?y ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } } } } . FILTER ( ?t > ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298
P17
Q15617994
USER
Which administrative territory does Chile belong to ?
(Q298,P17,c(Q15617994))
action filter_type
action find
entity Q298
relation P17
type Q15617994
['Q298', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q298 property:P17 ?i }
Chile
action filter_type
action find
entity Chile
relation country
type designation for an administrative territorial entity
['Chile', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chile property:country ?i }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
(Q298,P17,c(Q15617994))
action filter_type
action find
entity Q298
relation P17
type Q15617994
[ANSWER] belongs to [ANSWER]
['Q298', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q298 property:P17 ?i }
Chile
Chile belongs to Chile
Chile
action filter_type
action find
entity Chile
relation country
type designation for an administrative territorial entity
['Chile', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chile property:country ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4329950
Q15617994
USER
And also tell me about Kouba Observatory?
(Q4329950,P17,c(Q15617994))
action filter_type
action find
entity Q4329950
relation P17
type Q15617994
['Q4329950', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4329950 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Kouba Observatory
action filter_type
action find
entity Kouba Observatory
relation country
type designation for an administrative territorial entity
['Kouba Observatory', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Kouba_Observatory property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q262
SYSTEM
Algeria
Q262
(Q4329950,P17,c(Q15617994))
action filter_type
action find
entity Q4329950
relation P17
type Q15617994
[ANSWER]
['Q4329950', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4329950 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Algeria
Algeria
action filter_type
action find
entity Kouba Observatory
relation country
type designation for an administrative territorial entity
['Kouba Observatory', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Kouba_Observatory property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q262 Q4377343
P530
Q1048835
USER
Does Preobrazhenske have diplomatic relationships with Algeria ?
(Q262,P530,Q4377343)
action is_in
entity Q4377343
action find
entity Q262
relation P530
['Q262', 'P530', 'Q4377343']
ASK WHERE { resource:Q262 property:P530 resource:Q4377343 }
Algeria Preobrazhenske
action is_in
entity Preobrazhenske
action find
entity Algeria
relation diplomatic relation
['Algeria', 'diplomatic relation', 'Preobrazhenske']
ASK WHERE { resource:Algeria property:diplomatic_relation resource:Preobrazhenske }
[]
political territorial entity
SYSTEM
NO
(Q262,P530,Q4377343)
action is_in
entity Q4377343
action find
entity Q262
relation P530
[ANSWER]
['Q262', 'P530', 'Q4377343']
ASK WHERE { resource:Q262 property:P530 resource:Q4377343 }
No
action is_in
entity Preobrazhenske
action find
entity Algeria
relation diplomatic relation
['Algeria', 'diplomatic relation', 'Preobrazhenske']
ASK WHERE { resource:Algeria property:diplomatic_relation resource:Preobrazhenske }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q1048835 Q44539
USER
Which administrative territories are around 5838 political territories or temples a part of ?
(c(Q1048835)|c(Q44539),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q44539
value 5838
[[{'concept': 'Q1048835'}, {'concept': 'Q44539'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?u = 5838 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?f WHERE { VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q44539 ) } . ?l rdf:type ?a } GROUP BY ?f } }
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type temple
value 5838
[[{'concept': 'political territorial entity'}, {'concept': 'temple'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?u = 5838 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?f WHERE { VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:temple ) } . ?l rdf:type ?a } GROUP BY ?f } }
[]
designation for an administrative territorial entity political territorial entity temple
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
(c(Q1048835)|c(Q44539),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q44539
value 5838
[ANSWERS] are around 5838 political territories or temples a part of
[[{'concept': 'Q1048835'}, {'concept': 'Q44539'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?u = 5838 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?f WHERE { VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q44539 ) } . ?l rdf:type ?a } GROUP BY ?f } }
Brazil United States of America
Brazil and United States of America are around 5838 political territories or temples a part of
Brazil United States of America
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type temple
value 5838
[[{'concept': 'political territorial entity'}, {'concept': 'temple'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?u = 5838 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?f WHERE { VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:temple ) } . ?l rdf:type ?a } GROUP BY ?f } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q30
P17
Q15617994
USER
Which administrative territories are those ones a part of ?
(Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . ?g property:P17 ?x . VALUES ( ?g ) { ( resource:Q155 ) ( resource:Q30 ) } }
Brazil United States of America
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:country ?x . VALUES ( ?g ) { ( resource:Brazil ) ( resource:United_States_of_America ) } }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
(Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS] are those ones a part of
['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . ?g property:P17 ?x . VALUES ( ?g ) { ( resource:Q155 ) ( resource:Q30 ) } }
Brazil United States of America
Brazil and United States of America are those ones a part of
Brazil United States of America
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:country ?x . VALUES ( ?g ) { ( resource:Brazil ) ( resource:United_States_of_America ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q30
P530
Q1048835
USER
Which political territories have diplomatic relations with Brazil and United States of America ?
(Q155,P530,c(Q1048835)) (Q30,P530,c(Q1048835))
action union
action filter_type
action find
entity Q155
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q1048835
['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?v ) { ( resource:Q30 ) ( resource:Q155 ) } . ?v property:P530 ?h }
Brazil United States of America
action union
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?v ) { ( resource:United_States_of_America ) ( resource:Brazil ) } . ?v property:diplomatic_relation ?h }
[]
political territorial entity
Q183 Q183 Q408
SYSTEM
Australia for 3rd, Germany for 1st, 2nd
Q183 Q16 Q766 Q35 Q408 Q183 Q408 Q16
(Q155,P530,c(Q1048835)) (Q30,P530,c(Q1048835))
action union
action filter_type
action find
entity Q155
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q1048835
[ANSWERS]
['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?v ) { ( resource:Q30 ) ( resource:Q155 ) } . ?v property:P530 ?h }
Germany Canada Jamaica Denmark Australia Germany Australia Canada
Germany, Germany and Australia have diplomatic relations with Brazil and United States of America
Germany Germany Australia
action union
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?v ) { ( resource:United_States_of_America ) ( resource:Brazil ) } . ?v property:diplomatic_relation ?h }
[]