Simple Question (Direct)
Simple Question
Q1170257
P607
Q198
USER
Which battle did Egon Dreger take part in ?
(Q1170257,P607,c(Q198))
action filter_type
action find
entity Q1170257
relation P607
type Q198
['Q1170257', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { resource:Q1170257 property:P607 ?b . ?b rdf:type ontology:Q198 }
Egon Dreger
action filter_type
action find
entity Egon Dreger
relation conflict
type war
['Egon Dreger', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { resource:Egon_Dreger property:conflict ?b . ?b rdf:type ontology:war }
[]
war
Q10859
SYSTEM
Spanish Civil War
Q10859
(Q1170257,P607,c(Q198))
action filter_type
action find
entity Q1170257
relation P607
type Q198
Egon Dreger took in the [ANSWER] part
['Q1170257', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { resource:Q1170257 property:P607 ?b . ?b rdf:type ontology:Q198 }
Spanish Civil War
Egon Dreger took in the Spanish Civil War part
Spanish Civil War
action filter_type
action find
entity Egon Dreger
relation conflict
type war
['Egon Dreger', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { resource:Egon_Dreger property:conflict ?b . ?b rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1170257
P20
Q515
USER
Which city is the place of death of Egon Dreger ?
(Q1170257,P20,c(Q515))
action filter_type
action find
entity Q1170257
relation P20
type Q515
['Q1170257', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . resource:Q1170257 property:P20 ?m }
Egon Dreger
action filter_type
action find
entity Egon Dreger
relation place of death
type city
['Egon Dreger', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . resource:Egon_Dreger property:place_of_death ?m }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q1170257,P20,c(Q515))
action filter_type
action find
entity Q1170257
relation P20
type Q515
[ANSWER] is the place of death of Egon Dreger
['Q1170257', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . resource:Q1170257 property:P20 ?m }
Dresden
Dresden is the place of death of Egon Dreger
Dresden
action filter_type
action find
entity Egon Dreger
relation place of death
type city
['Egon Dreger', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . resource:Egon_Dreger property:place_of_death ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5557408
Q515
USER
And how about Ismael Huerta?
(Q5557408,P20,c(Q515))
action filter_type
action find
entity Q5557408
relation P20
type Q515
['Q5557408', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q515 . resource:Q5557408 property:P20 ?s }
Ismael Huerta
action filter_type
action find
entity Ismael Huerta
relation place of death
type city
['Ismael Huerta', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:city . resource:Ismael_Huerta property:place_of_death ?s }
[]
city
Q2887
SYSTEM
Santiago
Q2887
(Q5557408,P20,c(Q515))
action filter_type
action find
entity Q5557408
relation P20
type Q515
[ANSWER]
['Q5557408', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q515 . resource:Q5557408 property:P20 ?s }
Santiago
Santiago
action filter_type
action find
entity Ismael Huerta
relation place of death
type city
['Ismael Huerta', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:city . resource:Ismael_Huerta property:place_of_death ?s }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1854
P159
Q515 Q1269299 Q4830453
USER
Which cities are the HQ of less number of business organizations and business enterprises than Ho Chi Minh City ?
(c(Q1269299)|c(Q4830453),P159,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
action find_reverse_tuple_counts
relation P159
type Q515
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q1854
relation P159
type Q1269299
type Q4830453
[[{'concept': 'Q1269299'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?s WHERE { VALUES ( ?n ) { ( ontology:Q4830453 ) ( ontology:Q1269299 ) } . ?m rdf:type ?n } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P159 resource:Q1854 . { ?r rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1269299 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?a < ?f ) }
Ho Chi Minh City
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
action find_reverse_tuple_counts
relation headquarters location
type city
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Ho Chi Minh City
relation headquarters location
type type of business entity
type business enterprise
[[{'concept': 'type of business entity'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?s WHERE { VALUES ( ?n ) { ( ontology:business_enterprise ) ( ontology:type_of_business_entity ) } . ?m rdf:type ?n } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:headquarters_location resource:Ho_Chi_Minh_City . { ?r rdf:type ?w . VALUES ( ?w ) { ( ontology:type_of_business_entity ) ( ontology:business_enterprise ) } } } } . FILTER ( ?a < ?f ) }
[]
city type of business entity business enterprise
Q1486 Q14960 Q42622
SYSTEM
Buenos Aires, Brno, Suzhou
Q386691 Q944051 Q496702 Q3572 Q10127 Q643878 Q1711 Q10124 Q213278 Q841296 Q873835 Q3974 Q34412 Q703158 Q835227 Q849439 Q1000069 Q852018 Q318047 Q1000060 Q460835 Q60037 Q278877 Q857256 Q569907 Q217432 Q827041 Q86536 Q860647 Q686775 Q17042 Q4024 Q732851 Q499493 Q840888 Q10393 Q25282 Q609350 Q664895 Q41283 Q27860 Q3806 Q58401 Q3624 Q42651 Q209785 Q360326 Q58273 Q838652 Q68862 Q695895 Q43199 Q646818 Q335444 Q212494 Q385982 Q52607 Q766168 Q774952 Q2427117 Q392692 Q59173 Q273880 Q320943 Q734416 Q861246 Q985465 Q14932 Q71266 Q846338 Q816728 Q696777 Q58570 Q1009095 Q653389 Q1019083 Q20934 Q41474 Q853821 Q57951 Q174091 Q59100 Q637913 Q734520 Q653372 Q38968 Q169127 Q622620 Q696388 Q1000029 Q1017251 Q1624 Q373023 Q1629 Q2135 Q74957 Q653446 Q8131 Q362959 Q210493 Q2887 Q11462 Q3214 Q83786 Q505208 Q605256 Q374477 Q5838 Q16520 Q220445 Q330409 Q317834 Q192271 Q58710 Q719 Q375651 Q69060 Q75961 Q3069 Q592065 Q19689 Q3104 Q389515 Q394453 Q175197 Q216077 Q2910 Q321778 Q535534 Q68695 Q461020 Q14960 Q507846 Q375097 Q695930 Q9085 Q5088 Q390413 Q203027 Q1486 Q331577 Q4348183 Q179608 Q1467 Q1461 Q213263 Q425492 Q851411 Q607625 Q13630 Q57719 Q496072 Q198370 Q73073 Q1000073 Q12245 Q117676 Q16959 Q386635 Q194087 Q10389 Q30340 Q23430 Q291745 Q629849 Q986070 Q4346 Q515573 Q8854 Q1362 Q838660 Q243859 Q8247 Q694308 Q646805 Q182378 Q235 Q188082 Q1889017 Q161176 Q79535 Q460829 Q167668 Q1519 Q270704 Q167109 Q2509609 Q459787 Q15734 Q209683 Q163888 Q207030 Q207408 Q877941 Q316841 Q873583 Q237699 Q1757191 Q1209 Q23661 Q3904 Q330007 Q1936067 Q615138 Q373101 Q14819 Q5285 Q14182 Q75026 Q104036 Q693237 Q72990 Q7568 Q44244 Q92324 Q657642 Q1000033 Q694317 Q2100 Q502486 Q56759 Q43433 Q641491 Q7027 Q57931 Q3857 Q426130 Q3859 Q606212 Q155975 Q19660 Q242108 Q3915 Q75110 Q460812 Q665097 Q174461 Q385591 Q1017806 Q17182 Q124375 Q2180 Q392624 Q75203 Q239597 Q850332 Q861621 Q177149 Q389562 Q850344 Q62723 Q496319 Q820496 Q646834 Q3185 Q427557 Q844138 Q423371 Q820725 Q3004 Q2092152 Q740853 Q645567 Q207876 Q384926 Q2978 Q860659 Q385779 Q518992 Q34261 Q1953 Q373564 Q137271 Q1010158 Q1473 Q658058 Q1852569 Q1478 Q14821 Q824009 Q817965 Q3958 Q57970 Q3955 Q198266 Q425415 Q6829 Q8156 Q14440 Q404599 Q42007 Q1379299 Q2096 Q1856 Q3787 Q497341 Q844052 Q916156 Q4007 Q242874 Q694154 Q7070 Q3826 Q492366 Q696407 Q58210 Q182852 Q214942 Q838672 Q374511 Q4174 Q847565 Q386651 Q317847 Q1826 Q200077 Q47916 Q80484 Q58576 Q328605 Q71247 Q75336 Q326956 Q243293 Q3126 Q571051 Q3042 Q3046 Q594275 Q368929 Q2936 Q372791 Q463171 Q502407 Q170454 Q211243 Q210661 Q736897 Q217698 Q386322 Q187861 Q207311 Q3852 Q485581 Q485583 Q869027 Q206872 Q390792 Q5972 Q1721 Q1643 Q1645 Q329996 Q11443 Q855059 Q7033 Q57906 Q11444 Q3866 Q34405 Q3861 Q496405 Q1723 Q2844 Q208863 Q427265 Q470369 Q1863 Q2209 Q2200 Q533241 Q359990 Q16506 Q1013864 Q76010 Q999916 Q42622 Q633996 Q185684 Q59095 Q72778 Q360235 Q3167 Q183584 Q187136 Q5869 Q508591 Q570937 Q59223 Q328651 Q17189 Q830411 Q1019675 Q851680 Q740863 Q75091 Q3014 Q634022 Q189823 Q242882 Q40626 Q242885 Q146317 Q825166 Q502209 Q5784 Q273798 Q187821 Q270814 Q20921 Q107401 Q57944 Q986082 Q189761 Q189769 Q57948 Q236197 Q72877 Q954569 Q57866 Q2880 Q488134 Q132997 Q184998 Q5217 Q696643 Q269634 Q285488 Q819603 Q851155 Q210628 Q158523 Q168648 Q3838 Q850676 Q551658 Q20073 Q990352 Q485176 Q3935 Q7003 Q3931 Q3933 Q3919 Q3751 Q59218 Q3200 Q3616 Q696412 Q844852 Q41278 Q171943 Q1205932 Q823927 Q386661 Q1019956 Q386668 Q25475 Q523956 Q328619 Q786762 Q4060 Q71339 Q542154 Q1530 Q733979 Q508670 Q66485 Q58422 Q2900 Q857285 Q58584 Q1000101 Q842923 Q92277 Q80989 Q59132 Q873596 Q329754 Q721163 Q390817 Q207309 Q187812 Q125604 Q2999 Q16666 Q1088790
(c(Q1269299)|c(Q4830453),P159,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
action find_reverse_tuple_counts
relation P159
type Q515
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q1854
relation P159
type Q1269299
type Q4830453
[ANSWERS] are the HQ of less number of business organizations and business enterprises than Ho Chi Minh City
[[{'concept': 'Q1269299'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?s WHERE { VALUES ( ?n ) { ( ontology:Q4830453 ) ( ontology:Q1269299 ) } . ?m rdf:type ?n } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P159 resource:Q1854 . { ?r rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1269299 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?a < ?f ) }
Niiza City Horní Jiřetín Goshogawara Tunis Tangerang Settsu Potsdam Cilegon Kodaira Příbram Tomioka Landshut Foshan Velké Meziříčí Ineu Kopřivnice Lovosice Izumisano Narashino Humpolec Marugame Zalaegerszeg Český Těšín Hasuda Baotou Port Harcourt Beroun Komae City Seki Fuchū Oakland Frankfurt (Oder) Mioveni Seto Ina Bogor Danang Kawanishi Uherský Brod Gwangju Jayapura Tübingen Shijiazhuang Addis Ababa Wuxi Ichikawa Tongling Taizhou Nakano Longyan Urasoe Omaha Towada Itami Akishima City Herend Mar del Plata Nagykáta Matsubara Mníšek pod Brdy Šumperk Huizhou Beppu Matsudo Tsuruoka Nagaokakyō Rakovník Langen (Hessen) Yichang Suwa Kyōtanabe Nisshin Handan Otrokovice Nobeoka Napajedla Incheon Kingstown Mizunami Marienberg Changsha Shantou Tōgane Isehara Higashihiroshima Liuzhou Chitila Tōkai Toyooka Kraslice Nová Paka Pasig Weihai Zamboanga City Winnipeg Anshan Tsuchiura Palembang Xinyu Yantai Santiago Surabaya Cottbus Shimla Ouarzazate Shimada Ashikaga Kabul Busan Kuching Ústí nad Orlicí Kokubunji City Guiyang Langfang Saginaw Valašské Meziříčí Xining Biñan Bottrop Ginowan Tirana Koblenz Kariya Žďár nad Sázavou Kunovice Jiujiang Ludwigshafen Hodonín Hohhot Quanzhou Imabari Brno Sebiș Tiszaújváros Hirakawa Mandaluyong Durgapur Tomakomai Tsu Buenos Aires Abrud Athkatla Nanning Cebu City Manila Tama City Luzhou Imizu Tamási Olbia Xuzhou Fujinomiya Zibo Yuncheng Pelhřimov Stanley Viseu Ürümqi Hikone Hirosaki Bandung Zhengzhou Ulaanbaatar Ílhavo Hatvan Chrudim Waren (Müritz) Hanzhong Las Piñas Islamabad Chino Abiko Biratnagar Habikino Nanto Putrajaya Monaco Český Krumlov Mandaue Fukushima Fort Smith Matsusaka Liepāja Abu Dhabi Třebíč Eger Sunchales Iloilo City Izumi Tokoname Ageo Ziyang Vác Echizen Karlovo Kashiwara Aizuwakamatsu Krásná Lípa Free Hanseatic City of Bremen Wellington Mbabane Kunitachi City Smržovka Soběslav Rizhao Freiberg Tarlac Banjarmasin Fushun Ventspils Chitose Jincheng Yogyakarta Santa Fe Tonghua Villány Lanškroun Chōshi Duisburg Mobara Olongapo Chandigarh Kakamigahara Straubing Taizhou Wilhelmshaven Mianyang Kigali Fremantle Kutná Hora Bucharest Otaru Antananarivo Dandong Naruto Minoh Ranchi Ōmura Nové Sedlo Parañaque Hódmezővásárhely Malolos Štětí Liaoyang Neratovice Tagawa Nankoku Obihiro Inazawa Sakado General Trias Kashihara Kōnan Asaka Hildesheim Ya'an Ryūgasaki Ștei Nayoro Ingolstadt Velešín Szigetszentmiklós Törökbálint Yamaguchi Ōgaki Regensburg Gyōda Tendō Călan Port-au-Prince Yerevan Liaocheng Kota Kinabalu Letohrad Davao City Wakō City Týnec nad Sázavou Caloocan Coburg Sayama Ikeda Neubrandenburg Changzhou Weimar Zhuzhou Panzhihua Speyer Bandar Lampung Iquique Luohe Szombathely Smyrna Edmonton Malaybalay Abuja Xianyang Nakatsugawa Ghimbav Rosenheim Koganei City Moriguchi Eisenach Muscat Norden Hakusan Jinhua Kunming Kazincbarcika Okaya Oyama Emden Hanyū City Iwata Inagi Tagbilaran Morioka Lucknow Patna Xingtai Iizuka Jingzhou Chaoyang Uji Sekondi-Takoradi Erlangen Tsubame Offenbach am Main Pforzheim General Santos Jindřichův Hradec Oldenburg Jining Handa Kiyosu Agartala Yinchuan Musashino Hatsukaichi Weifang Ōtawara Wollongong Suzuka Worms Aveiro Anan Tsurugashima Ajka Kanuma Medan Wiesbaden Taguig Cagayan de Oro Ōdate Kediri Sakaide Nordhausen Yangzhou Madiun Dodoma Jingdezhen Doha Qujing Batangas City Brasília Hachiōji City Yibin Kolín Andorra la Vella Roxas Tuguegarao Shimotsuma Wuhu České Budějovice Hluk Santa Rosa Vysoké Mýto Suzhou Kameoka Hefei Zhuhai Taiyuan Ma'anshan Siegen Lanzhou Luoyang Lhasa Police nad Metují Ordos City Zhongshan Yachiyo Pasay Körmend Nové Město nad Metují Kazo Česká Lípa Benxi Wolfsburg Kiryū Haikou Nishi-Tōkyō City Tacloban Mitaka City Veszprém Izumo Hōfu Lhokseumawe Narita Tatabánya Ishinomaki Daejeon Sivas Annaberg-Buchholz Litvínov Szekszárd Salgótarján Aue Hino City Datong Vyškov Yancheng Hamm Ontario Florianópolis Kaposvár Bacolod Kashiba Tachikawa City Iligan Munakata Kasai Machida City Ehingen Sopron Kinshasa Blansko Vila Nova de Famalicão Hohenstein-Ernstthal Kizugawa Pasadena Windhoek Dijon Brandenburg an der Havel Celle Gaborone Praia Dongguan Salzgitter Tehran Izumi Ueda Ulsan Nanchang Takizawa Higashine Fujisawa Moravské Budějovice Daitō Batumi Auerbach in der Oberpfalz Noda Hroznětín Hürth Xiaogan Koronadal Baghdad Eniwa Chișineu-Criș Jaipur Tangshan Quito Kitamoto Baoding Vlašim Pomáz Jilin City Bhopal Jiangmen Niimi Kiyose City Itō Ichinoseki Tokushima Dunaújváros Găești Würzburg Nanjing Zsámbék
Buenos Aires, Brno and Suzhou are the HQ of less number of business organizations and business enterprises than Ho Chi Minh City
Buenos Aires Brno Suzhou
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
action find_reverse_tuple_counts
relation headquarters location
type city
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Ho Chi Minh City
relation headquarters location
type type of business entity
type business enterprise
[[{'concept': 'type of business entity'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?s WHERE { VALUES ( ?n ) { ( ontology:business_enterprise ) ( ontology:type_of_business_entity ) } . ?m rdf:type ?n } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:headquarters_location resource:Ho_Chi_Minh_City . { ?r rdf:type ?w . VALUES ( ?w ) { ( ontology:type_of_business_entity ) ( ontology:business_enterprise ) } } } } . FILTER ( ?a < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q496080
P159
Q515 Q1269299 Q4830453
USER
And what about Kadoma?
(c(Q1269299)|c(Q4830453),P159,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
action find_reverse_tuple_counts
relation P159
type Q515
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q496080
relation P159
type Q1269299
type Q4830453
[[{'concept': 'Q1269299'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?i < ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P159 resource:Q496080 . { { ?q rdf:type ontology:Q1269299 } UNION { ?q rdf:type ontology:Q4830453 } } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?r WHERE { { ?n rdf:type ontology:Q1269299 . ?r rdf:type ontology:Q515 . ?n property:P159 ?r } UNION { ?n property:P159 ?r . ?r rdf:type ontology:Q515 . ?n rdf:type ontology:Q4830453 } } GROUP BY ?r } }
Kadoma
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
action find_reverse_tuple_counts
relation headquarters location
type city
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Kadoma
relation headquarters location
type type of business entity
type business enterprise
[[{'concept': 'type of business entity'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?i < ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:headquarters_location resource:Kadoma . { { ?q rdf:type ontology:type_of_business_entity } UNION { ?q rdf:type ontology:business_enterprise } } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?r WHERE { { ?n rdf:type ontology:type_of_business_entity . ?r rdf:type ontology:city . ?n property:headquarters_location ?r } UNION { ?n property:headquarters_location ?r . ?r rdf:type ontology:city . ?n rdf:type ontology:business_enterprise } } GROUP BY ?r } }
[]
city type of business entity business enterprise
Q1486 Q14960 Q42622
SYSTEM
Buenos Aires, Brno, Suzhou
Q386691 Q944051 Q496702 Q3572 Q10127 Q643878 Q1711 Q10124 Q213278 Q841296 Q873835 Q3974 Q34412 Q703158 Q835227 Q849439 Q1000069 Q852018 Q318047 Q1000060 Q460835 Q60037 Q278877 Q857256 Q569907 Q217432 Q827041 Q86536 Q860647 Q686775 Q17042 Q4024 Q732851 Q499493 Q840888 Q10393 Q25282 Q609350 Q664895 Q41283 Q27860 Q3806 Q58401 Q3624 Q42651 Q209785 Q360326 Q58273 Q838652 Q68862 Q695895 Q43199 Q646818 Q335444 Q212494 Q385982 Q52607 Q766168 Q774952 Q2427117 Q392692 Q59173 Q273880 Q320943 Q734416 Q861246 Q985465 Q14932 Q71266 Q846338 Q816728 Q696777 Q58570 Q1009095 Q653389 Q1019083 Q20934 Q41474 Q853821 Q57951 Q174091 Q59100 Q637913 Q734520 Q653372 Q38968 Q169127 Q622620 Q696388 Q1000029 Q1017251 Q1624 Q373023 Q1629 Q2135 Q74957 Q653446 Q8131 Q362959 Q210493 Q2887 Q11462 Q3214 Q83786 Q505208 Q605256 Q374477 Q5838 Q16520 Q220445 Q330409 Q317834 Q192271 Q58710 Q719 Q375651 Q69060 Q75961 Q3069 Q592065 Q19689 Q3104 Q389515 Q394453 Q175197 Q216077 Q2910 Q321778 Q535534 Q68695 Q461020 Q14960 Q507846 Q375097 Q695930 Q9085 Q5088 Q390413 Q203027 Q1486 Q331577 Q4348183 Q179608 Q1467 Q1461 Q213263 Q425492 Q851411 Q607625 Q13630 Q57719 Q496072 Q198370 Q73073 Q1000073 Q12245 Q117676 Q16959 Q386635 Q194087 Q10389 Q30340 Q23430 Q291745 Q629849 Q986070 Q4346 Q515573 Q8854 Q1362 Q838660 Q243859 Q8247 Q694308 Q646805 Q182378 Q235 Q188082 Q1889017 Q161176 Q79535 Q460829 Q167668 Q1519 Q270704 Q167109 Q2509609 Q459787 Q15734 Q209683 Q163888 Q207030 Q207408 Q877941 Q316841 Q873583 Q237699 Q1757191 Q1209 Q23661 Q3904 Q330007 Q1936067 Q615138 Q373101 Q14819 Q5285 Q14182 Q75026 Q104036 Q693237 Q72990 Q7568 Q44244 Q92324 Q657642 Q1000033 Q694317 Q2100 Q502486 Q56759 Q43433 Q641491 Q7027 Q57931 Q3857 Q426130 Q3859 Q606212 Q155975 Q19660 Q242108 Q3915 Q75110 Q460812 Q665097 Q174461 Q385591 Q1017806 Q17182 Q124375 Q2180 Q392624 Q75203 Q239597 Q850332 Q861621 Q177149 Q389562 Q850344 Q62723 Q496319 Q820496 Q646834 Q3185 Q427557 Q844138 Q423371 Q820725 Q3004 Q2092152 Q740853 Q645567 Q207876 Q384926 Q2978 Q860659 Q385779 Q518992 Q34261 Q1953 Q373564 Q137271 Q1010158 Q1473 Q658058 Q1852569 Q1478 Q14821 Q824009 Q817965 Q3958 Q57970 Q3955 Q198266 Q425415 Q6829 Q8156 Q14440 Q404599 Q42007 Q1379299 Q2096 Q1856 Q3787 Q497341 Q844052 Q916156 Q4007 Q242874 Q694154 Q7070 Q3826 Q492366 Q696407 Q58210 Q182852 Q214942 Q838672 Q374511 Q4174 Q847565 Q386651 Q317847 Q1826 Q200077 Q47916 Q80484 Q58576 Q328605 Q71247 Q75336 Q326956 Q243293 Q3126 Q571051 Q3042 Q3046 Q594275 Q368929 Q2936 Q372791 Q463171 Q502407 Q170454 Q211243 Q210661 Q736897 Q217698 Q386322 Q187861 Q207311 Q3852 Q485581 Q485583 Q869027 Q206872 Q390792 Q5972 Q1721 Q1643 Q1645 Q329996 Q11443 Q855059 Q7033 Q57906 Q11444 Q3866 Q34405 Q3861 Q496405 Q1723 Q2844 Q208863 Q427265 Q470369 Q1863 Q2209 Q2200 Q533241 Q359990 Q16506 Q1013864 Q76010 Q999916 Q42622 Q633996 Q185684 Q59095 Q72778 Q360235 Q3167 Q183584 Q187136 Q5869 Q508591 Q570937 Q59223 Q328651 Q17189 Q830411 Q1019675 Q851680 Q740863 Q75091 Q3014 Q634022 Q189823 Q242882 Q40626 Q242885 Q146317 Q825166 Q502209 Q5784 Q273798 Q187821 Q270814 Q20921 Q107401 Q57944 Q986082 Q189761 Q189769 Q57948 Q236197 Q72877 Q954569 Q57866 Q2880 Q488134 Q132997 Q184998 Q5217 Q696643 Q269634 Q285488 Q819603 Q851155 Q210628 Q158523 Q168648 Q3838 Q850676 Q551658 Q20073 Q990352 Q485176 Q3935 Q7003 Q3931 Q3933 Q3919 Q3751 Q59218 Q3200 Q3616 Q696412 Q844852 Q41278 Q171943 Q1205932 Q823927 Q386661 Q1019956 Q386668 Q25475 Q523956 Q328619 Q786762 Q4060 Q71339 Q542154 Q1530 Q733979 Q508670 Q66485 Q58422 Q2900 Q857285 Q58584 Q1000101 Q842923 Q92277 Q80989 Q59132 Q873596 Q329754 Q721163 Q390817 Q207309 Q187812 Q125604 Q2999 Q16666 Q1088790
(c(Q1269299)|c(Q4830453),P159,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
action find_reverse_tuple_counts
relation P159
type Q515
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q496080
relation P159
type Q1269299
type Q4830453
[ANSWERS]
[[{'concept': 'Q1269299'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?i < ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P159 resource:Q496080 . { { ?q rdf:type ontology:Q1269299 } UNION { ?q rdf:type ontology:Q4830453 } } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?r WHERE { { ?n rdf:type ontology:Q1269299 . ?r rdf:type ontology:Q515 . ?n property:P159 ?r } UNION { ?n property:P159 ?r . ?r rdf:type ontology:Q515 . ?n rdf:type ontology:Q4830453 } } GROUP BY ?r } }
Niiza City Horní Jiřetín Goshogawara Tunis Tangerang Settsu Potsdam Cilegon Kodaira Příbram Tomioka Landshut Foshan Velké Meziříčí Ineu Kopřivnice Lovosice Izumisano Narashino Humpolec Marugame Zalaegerszeg Český Těšín Hasuda Baotou Port Harcourt Beroun Komae City Seki Fuchū Oakland Frankfurt (Oder) Mioveni Seto Ina Bogor Danang Kawanishi Uherský Brod Gwangju Jayapura Tübingen Shijiazhuang Addis Ababa Wuxi Ichikawa Tongling Taizhou Nakano Longyan Urasoe Omaha Towada Itami Akishima City Herend Mar del Plata Nagykáta Matsubara Mníšek pod Brdy Šumperk Huizhou Beppu Matsudo Tsuruoka Nagaokakyō Rakovník Langen (Hessen) Yichang Suwa Kyōtanabe Nisshin Handan Otrokovice Nobeoka Napajedla Incheon Kingstown Mizunami Marienberg Changsha Shantou Tōgane Isehara Higashihiroshima Liuzhou Chitila Tōkai Toyooka Kraslice Nová Paka Pasig Weihai Zamboanga City Winnipeg Anshan Tsuchiura Palembang Xinyu Yantai Santiago Surabaya Cottbus Shimla Ouarzazate Shimada Ashikaga Kabul Busan Kuching Ústí nad Orlicí Kokubunji City Guiyang Langfang Saginaw Valašské Meziříčí Xining Biñan Bottrop Ginowan Tirana Koblenz Kariya Žďár nad Sázavou Kunovice Jiujiang Ludwigshafen Hodonín Hohhot Quanzhou Imabari Brno Sebiș Tiszaújváros Hirakawa Mandaluyong Durgapur Tomakomai Tsu Buenos Aires Abrud Athkatla Nanning Cebu City Manila Tama City Luzhou Imizu Tamási Olbia Xuzhou Fujinomiya Zibo Yuncheng Pelhřimov Stanley Viseu Ürümqi Hikone Hirosaki Bandung Zhengzhou Ulaanbaatar Ílhavo Hatvan Chrudim Waren (Müritz) Hanzhong Las Piñas Islamabad Chino Abiko Biratnagar Habikino Nanto Putrajaya Monaco Český Krumlov Mandaue Fukushima Fort Smith Matsusaka Liepāja Abu Dhabi Třebíč Eger Sunchales Iloilo City Izumi Tokoname Ageo Ziyang Vác Echizen Karlovo Kashiwara Aizuwakamatsu Krásná Lípa Free Hanseatic City of Bremen Wellington Mbabane Kunitachi City Smržovka Soběslav Rizhao Freiberg Tarlac Banjarmasin Fushun Ventspils Chitose Jincheng Yogyakarta Santa Fe Tonghua Villány Lanškroun Chōshi Duisburg Mobara Olongapo Chandigarh Kakamigahara Straubing Taizhou Wilhelmshaven Mianyang Kigali Fremantle Kutná Hora Bucharest Otaru Antananarivo Dandong Naruto Minoh Ranchi Ōmura Nové Sedlo Parañaque Hódmezővásárhely Malolos Štětí Liaoyang Neratovice Tagawa Nankoku Obihiro Inazawa Sakado General Trias Kashihara Kōnan Asaka Hildesheim Ya'an Ryūgasaki Ștei Nayoro Ingolstadt Velešín Szigetszentmiklós Törökbálint Yamaguchi Ōgaki Regensburg Gyōda Tendō Călan Port-au-Prince Yerevan Liaocheng Kota Kinabalu Letohrad Davao City Wakō City Týnec nad Sázavou Caloocan Coburg Sayama Ikeda Neubrandenburg Changzhou Weimar Zhuzhou Panzhihua Speyer Bandar Lampung Iquique Luohe Szombathely Smyrna Edmonton Malaybalay Abuja Xianyang Nakatsugawa Ghimbav Rosenheim Koganei City Moriguchi Eisenach Muscat Norden Hakusan Jinhua Kunming Kazincbarcika Okaya Oyama Emden Hanyū City Iwata Inagi Tagbilaran Morioka Lucknow Patna Xingtai Iizuka Jingzhou Chaoyang Uji Sekondi-Takoradi Erlangen Tsubame Offenbach am Main Pforzheim General Santos Jindřichův Hradec Oldenburg Jining Handa Kiyosu Agartala Yinchuan Musashino Hatsukaichi Weifang Ōtawara Wollongong Suzuka Worms Aveiro Anan Tsurugashima Ajka Kanuma Medan Wiesbaden Taguig Cagayan de Oro Ōdate Kediri Sakaide Nordhausen Yangzhou Madiun Dodoma Jingdezhen Doha Qujing Batangas City Brasília Hachiōji City Yibin Kolín Andorra la Vella Roxas Tuguegarao Shimotsuma Wuhu České Budějovice Hluk Santa Rosa Vysoké Mýto Suzhou Kameoka Hefei Zhuhai Taiyuan Ma'anshan Siegen Lanzhou Luoyang Lhasa Police nad Metují Ordos City Zhongshan Yachiyo Pasay Körmend Nové Město nad Metují Kazo Česká Lípa Benxi Wolfsburg Kiryū Haikou Nishi-Tōkyō City Tacloban Mitaka City Veszprém Izumo Hōfu Lhokseumawe Narita Tatabánya Ishinomaki Daejeon Sivas Annaberg-Buchholz Litvínov Szekszárd Salgótarján Aue Hino City Datong Vyškov Yancheng Hamm Ontario Florianópolis Kaposvár Bacolod Kashiba Tachikawa City Iligan Munakata Kasai Machida City Ehingen Sopron Kinshasa Blansko Vila Nova de Famalicão Hohenstein-Ernstthal Kizugawa Pasadena Windhoek Dijon Brandenburg an der Havel Celle Gaborone Praia Dongguan Salzgitter Tehran Izumi Ueda Ulsan Nanchang Takizawa Higashine Fujisawa Moravské Budějovice Daitō Batumi Auerbach in der Oberpfalz Noda Hroznětín Hürth Xiaogan Koronadal Baghdad Eniwa Chișineu-Criș Jaipur Tangshan Quito Kitamoto Baoding Vlašim Pomáz Jilin City Bhopal Jiangmen Niimi Kiyose City Itō Ichinoseki Tokushima Dunaújváros Găești Würzburg Nanjing Zsámbék
Buenos Aires Brno Suzhou
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
action find_reverse_tuple_counts
relation headquarters location
type city
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Kadoma
relation headquarters location
type type of business entity
type business enterprise
[[{'concept': 'type of business entity'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?i < ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:headquarters_location resource:Kadoma . { { ?q rdf:type ontology:type_of_business_entity } UNION { ?q rdf:type ontology:business_enterprise } } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?r WHERE { { ?n rdf:type ontology:type_of_business_entity . ?r rdf:type ontology:city . ?n property:headquarters_location ?r } UNION { ?n property:headquarters_location ?r . ?r rdf:type ontology:city . ?n rdf:type ontology:business_enterprise } } GROUP BY ?r } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1486 Q14960 Q42622
P190
Q56061
USER
Which administrative territories are twin town of those cities ?
(c(Q56061),P190,Q1486) (c(Q56061),P190,Q14960) (c(Q56061),P190,Q42622)
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q1486'] [{'concept': 'Q56061'}, 'P190', 'Q14960'] [{'concept': 'Q56061'}, 'P190', 'Q42622']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . VALUES ( ?i ) { ( resource:Q386691 ) ( resource:Q944051 ) ( resource:Q496702 ) } . ?i property:P190 ?w }
Buenos Aires Brno Suzhou
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Buenos Aires'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Brno'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Suzhou']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . VALUES ( ?i ) { ( resource:Niiza_City ) ( resource:Horní_Jiřetín ) ( resource:Goshogawara ) } . ?i property:sister_city ?w }
[]
administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q14314 Q10400 Q7880 Q1524 Q1930 Q34370 Q2807 Q8692 Q956 Q2868 Q1492 Q1218 Q1085 Q15695 Q649 Q15682 Q628 Q270 Q13678 Q34820 Q1335 Q2656 Q2634 Q490 Q33935 Q174 Q3766 Q3711 Q5465 Q40269 Q597 Q518431 Q1449 Q1897 Q8717 Q71 Q8745 Q25395 Q64 Q1489 Q3820 Q84 Q85 Q406 Q8678 Q244324 Q1022 Q4656 Q647 Q16557 Q459 Q3426 Q42308 Q1741 Q13362 Q39121 Q4115712 Q1780 Q25331 Q803 Q429864 Q208893 Q217156 Q16568 Q983845 Q1289 Q26234 Q2397257 Q184345 Q1663450 Q641 Q200731 Q42140 Q42150 Q47887 Q42126 Q189128 Q6106 Q40269 Q838791 Q2132 Q986336 Q3834 Q802
(c(Q56061),P190,Q1486) (c(Q56061),P190,Q14960) (c(Q56061),P190,Q42622)
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS] are twin town of those cities
[{'concept': 'Q56061'}, 'P190', 'Q1486'] [{'concept': 'Q56061'}, 'P190', 'Q14960'] [{'concept': 'Q56061'}, 'P190', 'Q42622']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . VALUES ( ?i ) { ( resource:Q386691 ) ( resource:Q944051 ) ( resource:Q496702 ) } . ?i property:P190 ?w }
Santiago de Compostela Almería Toulouse Athens Ottawa Rotterdam Madrid Bilbao Beijing Lima Barcelona Jerusalem Prague Salamanca Moscow Cádiz Bergamo Warsaw Agrigento Santo Domingo Montevideo Palermo Naples Milan Tel Aviv São Paulo Damascus Belgrade Cape Town Porto Alegre Lisbon Chimbote Genoa Cagliari Seville Geneva Vigo Newark Berlin Mexico City Beirut London Cairo Istanbul Rio de Janeiro Guadix Stuttgart Pula Rennes Dallas Plovdiv Voronezh Kharkiv Vienna Ferrara Leeds Kaunas Bratislava Odense Utrecht Riihimäki Bourgoin-Jallieu Ismaïlia Jacksonville South El Monte Grenoble Esbjerg Taupo Viña del Mar Portland Venice Tottori Jeonju Taebaek Nijmegen Yeongju León Portland Porto Alegre Whittier Victoria Grootfontein Konstanz Nowy Sącz
Prague, Moscow and Madrid are twin town of those cities
Prague Moscow Madrid
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Buenos Aires'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Brno'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Suzhou']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . VALUES ( ?i ) { ( resource:Niiza_City ) ( resource:Horní_Jiřetín ) ( resource:Goshogawara ) } . ?i property:sister_city ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10859
P17
Q15617994
USER
Which administrative territory is Spanish Civil War a part of ?
(Q10859,P17,c(Q15617994))
action filter_type
action find
entity Q10859
relation P17
type Q15617994
['Q10859', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10859 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Spanish Civil War
action filter_type
action find
entity Spanish Civil War
relation country
type designation for an administrative territorial entity
['Spanish Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Spanish_Civil_War property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q10859,P17,c(Q15617994))
action filter_type
action find
entity Q10859
relation P17
type Q15617994
[ANSWER] is Spanish Civil War a part of
['Q10859', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10859 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Spain
Spain is Spanish Civil War a part of
Spain
action filter_type
action find
entity Spanish Civil War
relation country
type designation for an administrative territorial entity
['Spanish Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Spanish_Civil_War property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P85
Q484692
USER
What is the national anthem of that administrative territory ?
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?g WHERE { resource:Q29 property:P85 ?g . ?g rdf:type ontology:Q484692 }
Spain
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?g WHERE { resource:Spain property:anthem ?g . ?g rdf:type ontology:hymn }
[]
hymn
Q130940
SYSTEM
Marcha Real
Q130940
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
The national anthem of that administrative territory is the [ANSWER]
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?g WHERE { resource:Q29 property:P85 ?g . ?g rdf:type ontology:Q484692 }
Marcha Real
The national anthem of that administrative territory is the Marcha Real
Marcha Real
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?g WHERE { resource:Spain property:anthem ?g . ?g rdf:type ontology:hymn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P1376
Q7275
USER
Which states have Madrid as their capital ?
(Q2807,P1376,c(Q7275))
action filter_type
action find
entity Q2807
relation P1376
type Q7275
['Q2807', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7275 . resource:Q2807 property:P1376 ?h }
Madrid
action filter_type
action find
entity Madrid
relation capital of
type state
['Madrid', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:state . resource:Madrid property:capital_of ?h }
[]
state
Q1709185 Q1044536 Q497777
SYSTEM
Kingdom of Spain under Joseph Bonaparte, Spain under the Restoration, First Spanish Republic
Q1044536 Q178038 Q1709185 Q497777
(Q2807,P1376,c(Q7275))
action filter_type
action find
entity Q2807
relation P1376
type Q7275
[ANSWERS] have Madrid as their capital
['Q2807', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7275 . resource:Q2807 property:P1376 ?h }
Spain under the Restoration Second Spanish Republic Kingdom of Spain under Joseph Bonaparte First Spanish Republic
Kingdom of Spain under Joseph Bonaparte, Spain under the Restoration and First Spanish Republic have Madrid as their capital
Kingdom of Spain under Joseph Bonaparte Spain under the Restoration First Spanish Republic
action filter_type
action find
entity Madrid
relation capital of
type state
['Madrid', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:state . resource:Madrid property:capital_of ?h }
[]