Simple Question (Direct)
Simple Question
Q18620896
P106
Q12737077
USER
Which occupations have Ernst Würthwein as his/her 's career ?
(Q18620896,P106,c(Q12737077))
action filter_type
action find
entity Q18620896
relation P106
type Q12737077
['Q18620896', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q18620896 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Ernst Würthwein
action filter_type
action find
entity Ernst Würthwein
relation occupation
type occupation
['Ernst Würthwein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ernst_Würthwein property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q1234713 Q1622272
SYSTEM
theologian, university teacher
Q1234713 Q1622272
(Q18620896,P106,c(Q12737077))
action filter_type
action find
entity Q18620896
relation P106
type Q12737077
The [ANSWERS] have Ernst Würthwein as his/her 's career
['Q18620896', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q18620896 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
theologian university teacher
The theologian and university teacher have Ernst Würthwein as his/her 's career
theologian university teacher
action filter_type
action find
entity Ernst Würthwein
relation occupation
type occupation
['Ernst Würthwein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ernst_Würthwein property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18620896
P19
Q515
USER
Which city is the birthplace of that person ?
(Q1234713,P19,c(Q515)) (Q1622272,P19,c(Q515))
action filter_type
action find
entity Q18620896
relation P19
type Q515
['Q1234713', 'P19', {'concept': 'Q515'}] ['Q1622272', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q18620896 property:P19 ?i . ?i rdf:type ontology:Q515 }
Ernst Würthwein
action filter_type
action find
entity Ernst Würthwein
relation place of birth
type city
['theologian', 'place of birth', {'concept': 'city'}] ['university teacher', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Ernst_Würthwein property:place_of_birth ?i . ?i rdf:type ontology:city }
[]
city
Q3806
SYSTEM
Tübingen
Q3806
(Q1234713,P19,c(Q515)) (Q1622272,P19,c(Q515))
action filter_type
action find
entity Q18620896
relation P19
type Q515
[ANSWER] is the birthplace of that person
['Q1234713', 'P19', {'concept': 'Q515'}] ['Q1622272', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q18620896 property:P19 ?i . ?i rdf:type ontology:Q515 }
Tübingen
Tübingen is the birthplace of that person
Tübingen
action filter_type
action find
entity Ernst Würthwein
relation place of birth
type city
['theologian', 'place of birth', {'concept': 'city'}] ['university teacher', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Ernst_Würthwein property:place_of_birth ?i . ?i rdf:type ontology:city }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q515 Q515 Q15617994
USER
Which cities are twin towns of min number of cities or administrative territories ?
(c(Q515)|c(Q15617994),P190,c(Q515))
action argmin
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
[[{'concept': 'Q515'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?d ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?r ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q15617994 ) } } GROUP BY ?e } } . { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:P190 ?t . ?a rdf:type ontology:Q515 . ?t rdf:type ontology:Q515 } UNION { ?a property:P190 ?t . ?t rdf:type ontology:Q515 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?t } . FILTER ( ?o = ?d ) }
action argmin
action union
action find_reverse_tuple_counts
relation sister city
type city
type city
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
[[{'concept': 'city'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?d ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?r ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:city ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?e } } . { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:sister_city ?t . ?a rdf:type ontology:city . ?t rdf:type ontology:city } UNION { ?a property:sister_city ?t . ?t rdf:type ontology:city . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?t } . FILTER ( ?o = ?d ) }
[]
city city designation for an administrative territorial entity
Q16506 Q1711 Q3126
SYSTEM
České Budějovice, Potsdam, Erlangen
Q386691 Q373542 Q39738 Q823988 Q1017045 Q843006 Q847602 Q222242 Q197379 Q849434 Q703158 Q205914 Q158239 Q83786 Q944051 Q1000060 Q278877 Q533157 Q217432 Q827041 Q2936 Q819639 Q385375 Q304848 Q10395 Q10397 Q664895 Q858008 Q496667 Q1000467 Q571808 Q837960 Q612815 Q58273 Q1407742 Q1015011 Q695892 Q191120 Q383850 Q58650 Q770187 Q392692 Q850344 Q734416 Q679428 Q985465 Q846335 Q14499 Q873835 Q7473516 Q1321460 Q1001647 Q638312 Q502196 Q360069 Q1009095 Q8247 Q917888 Q59100 Q430864 Q1645575 Q57818 Q349982 Q166282 Q246723 Q198240 Q773312 Q696388 Q373346 Q363166 Q193719 Q1623 Q147738 Q835227 Q1629 Q74957 Q404529 Q653446 Q851001 Q127026 Q912224 Q851419 Q1008686 Q714636 Q740800 Q5690 Q505208 Q1000336 Q937008 Q605256 Q860674 Q181276 Q3692 Q756593 Q368429 Q8131 Q857202 Q192271 Q235004 Q325736 Q92297 Q375651 Q69060 Q71227 Q1632616 Q1019339 Q132997 Q3104 Q120103 Q389515 Q278017 Q216077 Q646847 Q604625 Q221283 Q207408 Q155975 Q569639 Q958157 Q503411 Q386677 Q630358 Q1482 Q625154 Q179608 Q1467 Q753731 Q68534 Q526335 Q737830 Q200500 Q496072 Q12245 Q427367 Q107401 Q1019335 Q16959 Q317827 Q1844 Q837154 Q650015 Q819629 Q1013843 Q385461 Q291745 Q324293 Q986070 Q946893 Q8854 Q319804 Q838669 Q736276 Q858369 Q847577 Q235 Q15379 Q104587 Q1019970 Q593157 Q161176 Q1725 Q683165 Q851021 Q386026 Q846345 Q316841 Q517407 Q126995 Q23661 Q817141 Q753864 Q570884 Q325164 Q373101 Q158435 Q1008595 Q740810 Q502988 Q193724 Q734532 Q820760 Q987496 Q7568 Q1475 Q622594 Q978446 Q784229 Q843028 Q2100 Q589880 Q596486 Q851037 Q1410 Q71108 Q749283 Q57931 Q426130 Q651742 Q1852528 Q496431 Q242108 Q207881 Q937688 Q453502 Q31238 Q860669 Q42664 Q151958 Q1711 Q487439 Q665097 Q162880 Q174461 Q68614 Q496681 Q3806 Q653402 Q514796 Q75203 Q404362 Q57756 Q320939 Q851007 Q335427 Q1471150 Q495821 Q495802 Q373813 Q495809 Q116417 Q104036 Q368929 Q693237 Q250733 Q592497 Q221214 Q722732 Q71284 Q205922 Q840595 Q877266 Q840591 Q632146 Q207876 Q384926 Q647508 Q270806 Q349976 Q279642 Q756581 Q373564 Q643929 Q1473 Q841129 Q843021 Q954611 Q57970 Q3955 Q6343 Q6829 Q851042 Q1575979 Q850395 Q92324 Q854977 Q325555 Q819613 Q890122 Q394108 Q497341 Q1013914 Q2096 Q7070 Q655417 Q930396 Q271000 Q58210 Q16506 Q335506 Q55597 Q374511 Q4174 Q377929 Q317844 Q200077 Q47916 Q846338 Q29003 Q853623 Q3126 Q1729076 Q3046 Q1430746 Q499493 Q372791 Q237683 Q246634 Q369628 Q1019360 Q750587 Q1013850 Q692745 Q158420 Q999916 Q211243 Q210661 Q532560 Q210667 Q58178 Q750573 Q736897 Q496080 Q656603 Q217698 Q118213 Q187861 Q207311 Q695911 Q695917 Q7027 Q271917 Q83247 Q390798 Q3904 Q790370 Q572231 Q7033 Q44244 Q3826 Q2907 Q149108 Q591823 Q149105 Q63855 Q1789604 Q349973 Q3768 Q732300 Q265555 Q1863 Q1865 Q2209 Q532981 Q1756960 Q2203 Q851114 Q180470 Q210365 Q696407 Q387211 Q17176 Q349985 Q517783 Q571918 Q360235 Q1355 Q498060 Q183584 Q3859 Q5869 Q144663 Q570427 Q59227 Q1018857 Q637913 Q75091 Q427769 Q634022 Q837170 Q789261 Q189823 Q496837 Q855086 Q226000 Q3075 Q845857 Q320798 Q59223 Q187821 Q502205 Q230843 Q319729 Q4175 Q460812 Q1761 Q373687 Q386250 Q329790 Q263757 Q329797 Q488134 Q2061 Q890949 Q416669 Q1017247 Q386988 Q854965 Q269634 Q601254 Q161060 Q158523 Q843043 Q36063 Q924085 Q3936 Q3751 Q3750 Q518360 Q171943 Q651322 Q17189 Q386661 Q847557 Q158245 Q518203 Q523956 Q4060 Q652710 Q646766 Q71339 Q1013909 Q950352 Q649214 Q58422 Q40626 Q187812 Q877935 Q954808 Q209983 Q2427155 Q696783 Q885482 Q30340 Q92277 Q392429 Q1019371 Q303478 Q263837 Q275904 Q3852 Q911567 Q1641781
(c(Q515)|c(Q15617994),P190,c(Q515))
action argmin
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
[ANSWERS] are twin towns of min number of cities or administrative territories
[[{'concept': 'Q515'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?d ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?r ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q15617994 ) } } GROUP BY ?e } } . { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:P190 ?t . ?a rdf:type ontology:Q515 . ?t rdf:type ontology:Q515 } UNION { ?a property:P190 ?t . ?t rdf:type ontology:Q515 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?t } . FILTER ( ?o = ?d ) }
Niiza City Szigetvár Laoag Kakegawa Protivín Nagykálló Nishinoomote Kisköre Zhangjiajie Fuefuki Velké Meziříčí Lijiang Kroměříž Shimla Horní Jiřetín Humpolec Český Těšín Tianshui Port Harcourt Beroun Oldenburg Gero Ōmachi Daqing Cirebon Sukabumi Uherský Brod Murayama Muroran Hostinné Guigang Năvodari Garachico Taizhou Horní Bříza Milevsko Nanao Jēkabpils Litovel Zhangjiakou Kaminoyama Šumperk Sakado Tsuruoka Tălmaciu Rakovník Kahoku Samarinda Tomioka Tokyo Králíky Budyně nad Ohří Toride Tenri Bengbu Otrokovice Biratnagar Vinaròs Shantou Nymburk Kostelec nad Orlicí Huai'an Hegang Alghero Záhony Zhumadian Třeboň Toyooka Linyi Ganzhou Cheb Valenzuela Saint Helier Ineu Zamboanga City Anshan Xuchang Tsuchiura Măcin Sakurai Techirghiol Turnov Ivančice Miyakojima Paks Sparta Ouarzazate Tandil Tótkomlós Shimada Tosu Szolnok Riyadh Târgu Neamț Felsőzsolca Palembang Sanuki Guiyang Vigan Ciacova Siping Valašské Meziříčí Xining Shiyan Počátky Město Albrechtice Florianópolis Koblenz Kaga Kariya Tiszavasvári Jiujiang Sodegaura Guyuan Cape Coast Vác Kutná Hora Lahnstein Sezimovo Ústí Inuyama Kusatsu, Shiga Sedlčany Cavite City Komárom Nanning Cebu City Masuda Nanping Keszthely Mizil Takehara Fujinomiya Stanley Guang'an Sivas Jílové u Prahy Ürümqi Hanamaki Vaduz Simeria Pannonhalma Toba Dačice Ōmihachiman Ílhavo Anyang Chrudim Teiuș Las Piñas Sanya Yamatotakada Cernavodă Tōkamachi Susono Monaco Kendari Kyjov Březnice Murfatlar Fukushima Lipa Poděbrady Pâncota Orlová Suzu Karlovo Sondershausen Weinan Wellington Benešov nad Ploučnicí Kurobe Tongliao Kayes Rizhao Vrbno pod Pradědem Vrchlabí Békés Takaoka Slavkov u Brna Fukaya Mihara Kralupy nad Vltavou Yogyakarta Quezon City Takayama Trmice Szigethalom Oroszlány Duisburg Pucioasa Fujioka Comarnic Gibraltar Frauenstein San Juan Taizhou Mianyang Minamiashigara City Třebechovice pod Orebem Sakaiminato Otaru Ichihara Strmilov Amami Miki Nichinan Huzhou Yueyang Potsdam Oral Minoh Dezhou Ranchi Sanming Ebetsu Tübingen Shimoda Baoji Liaoyang Xinxiang Lianyungang Mělník Deta Kisarazu Fryšták Saku Hekinan Albufeira Fujimi Sátoraljaújhely Ventspils Jindřichův Hradec Chitose Wa Vălenii de Munte Cugir Litomyšl Xiangyang Qiqihar Kamisu Tainai Miyoshi Enying Yamaguchi Ōgaki Fujiyoshida Anjō Yichun Myōkō Františkovy Lázně Liaocheng Shūnan Davao City Iida Tolna Jeseník Changzhou Weimar Carthage Speyer Hârlău Vratimov Gōtsu Tonghua Kerekegyháza Recaș Uozu Bolhrad Žirovnice Xianyang Polička Edmonton Eisenach Kenderes Nagakute Bouaké Jinhua České Budějovice Salto Muñoz Oyama Emden Hévíz Nishio Morioka Lucknow Suwa Jiamusi Bátaszék Erlangen Kardašova Řečice Pforzheim Košťany Seto Jining Ōme Zábřeh Sumoto Dobřany Shirakawa Rýmařov Monbetsu Červený Kostelec Vysoké Mýto Yinchuan Musashino Jiayuguan City Chōfu Jiaxing Maizuru Hatsukaichi Kadoma Jičín Weifang Yamatokōriyama Wollongong Suzuka Kuji Kitakami Straubing Kushiro Braga Szentendre Mbabane Barcs Chongzuo Nordhausen Santa Fe Muscat Sucre Jablunkov Náchod Tanvald Roudnice nad Labem Krnov Shuangyashan Yamoussoukro Gyomaendrőd Kitami Andorra la Vella Kuala Lumpur Roxas Baiyin Poběžovice Arica Yasugi Huangshan City Beihai Hakusan Kamogawa Muntinlupa Suihua Pinamar Yulin Ma'anshan Bangalore Mooka Lanzhou Kigali Lhasa Hengyang Obernkirchen Chaozhou Nový Bydžov Tōgane Benxi Kisbér Kiryū Gura Humorului Balatonboglár Haikou Lincang Sajószentpéter Jimbolia Fürth Uwajima Mohács Zhongshan Tatabánya Nemuro Zushi Urayasu Ibbenbüren Naruto Dublin Binzhou Ōtake Kamaishi Kadarkút Iwakuni Ontario Yellowknife Bohumín Yiyang Podbořany Říčany Lenti Tachikawa City Dubí Přibyslav Ehingen Sárvár Vecsés Horní Slavkov Bamberg Praia Gera Bílina Nanchang Năsăud Pasay Fujisawa Nagai Písek Iwanuma Auerbach in der Oberpfalz Hürth Letovice Tōno Xiaogan Slaný Brtnice Csongrád Tangshan Tacloban Dunaújváros Unnan Kaplice Gyöngyös Náměšť nad Oslavou Yaizu Blovice Zhengzhou Jilin City Šternberk Studénka Kravaře Ozamiz Flămânzi Worms Nyékládháza Vítkov
České Budějovice, Potsdam and Erlangen are twin towns of min number of cities or administrative territories
České Budějovice Potsdam Erlangen
action argmin
action union
action find_reverse_tuple_counts
relation sister city
type city
type city
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
[[{'concept': 'city'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?d ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?r ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:city ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?e } } . { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:sister_city ?t . ?a rdf:type ontology:city . ?t rdf:type ontology:city } UNION { ?a property:sister_city ?t . ?t rdf:type ontology:city . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?t } . FILTER ( ?o = ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q68481
P609
Q515 Q34442 Q83620
USER
How many cities are the destination of approximately the same number of roads or thoroughfares as Fuzhou ?
(c(Q34442)|c(Q83620),P609,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q68481
relation P609
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } GROUP BY ?e } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P609 resource:Q68481 . { { ?a rdf:type ontology:Q83620 } UNION { ?a rdf:type ontology:Q34442 } } } } }
Fuzhou
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Fuzhou
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:thoroughfare ) ( ontology:road ) } } GROUP BY ?e } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:terminus_location resource:Fuzhou . { { ?a rdf:type ontology:thoroughfare } UNION { ?a rdf:type ontology:road } } } } }
[]
city road thoroughfare
SYSTEM
71
Q8652 Q349982 Q601254 Q425996 Q756581 Q320950 Q869037 Q16506 Q363479 Q1027604 Q2092257 Q16959 Q68481 Q851155 Q181276 Q249007 Q341777 Q5869 Q16520 Q541071 Q360374 Q6602 Q535534 Q819620 Q193724 Q987487 Q180470 Q210365 Q533157 Q1630623 Q158245 Q2079 Q217698 Q379160 Q18575 Q1000069 Q612646 Q42622 Q71227 Q1641736 Q185684 Q373101 Q426868 Q278877 Q147738 Q502981 Q1008696 Q373023 Q954611 Q1761 Q373687 Q162880 Q682544 Q187136 Q404529 Q954569 Q304848 Q16666 Q34750 Q570768 Q321778 Q513417 Q11506 Q200603 Q946780 Q1899 Q1009095 Q57756 Q360643 Q58401 Q587388
(c(Q34442)|c(Q83620),P609,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q68481
relation P609
type Q34442
type Q83620
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } GROUP BY ?e } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P609 resource:Q68481 . { { ?a rdf:type ontology:Q83620 } UNION { ?a rdf:type ontology:Q34442 } } } } }
Miami Hegang Dubí Deyang Františkovy Lázně Trutnov Takasago České Budějovice Shangrao Uherský Ostroh Rožmitál pod Třemšínem Ürümqi Fuzhou Kasai Szolnok Wuwei Čáslav Lhasa Busan Hulín Anqing Strasbourg Hohhot Seiyo Slavkov u Brna Ostrov Huangshan City Beihai Tianshui Hostivice Písek Leipzig Weifang Kunszentmárton Tucson Lovosice Veselí nad Lužnicí Suzhou Shiyan Pohořelice Hefei Rizhao Leshan Český Těšín Saint Helier Miyako Rožnov pod Radhoštěm Weihai Jeseník Dublin Binzhou Dezhou Mikulov Luoyang Xuchang Vyškov Daqing Nanjing Fuxin Wuhai Hodonín Vsetín Denpasar Yawatahama Lanžhot Kyiv Otrokovice Lianyungang Suzhou, Anhui Shijiazhuang Mohelnice
71
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Fuzhou
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:thoroughfare ) ( ontology:road ) } } GROUP BY ?e } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:terminus_location resource:Fuzhou . { { ?a rdf:type ontology:thoroughfare } UNION { ?a rdf:type ontology:road } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q890122
P190
Q515 Q13220204 Q56061
USER
Which cities are partner towns of lesser number of administrative country subdivisions or administrative territories than Bolhrad ?
(c(Q13220204)|c(Q56061),P190,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q890122
relation P190
type Q13220204
type Q56061
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?g WHERE { { ?g rdf:type ontology:Q515 . ?v rdf:type ontology:Q56061 . ?v property:P190 ?g } UNION { ?v property:P190 ?g . ?g rdf:type ontology:Q515 . ?v rdf:type ontology:Q13220204 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P190 resource:Q890122 . { VALUES ( ?k ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?a rdf:type ?k } } } . FILTER ( ?d < ?f ) }
Bolhrad
action less
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Bolhrad
relation sister city
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?g WHERE { { ?g rdf:type ontology:city . ?v rdf:type ontology:administrative_territorial_entity . ?v property:sister_city ?g } UNION { ?v property:sister_city ?g . ?g rdf:type ontology:city . ?v rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:sister_city resource:Bolhrad . { VALUES ( ?k ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?a rdf:type ?k } } } . FILTER ( ?d < ?f ) }
[]
city second-level administrative country subdivision administrative territorial entity
Q270704 Q320943 Q851048
SYSTEM
Třebíč, Matsudo, Făget
Q1021103 Q39738 Q823988 Q847607 Q1000086 Q362865 Q197379 Q703158 Q205914 Q259498 Q158239 Q854913 Q696925 Q270814 Q379030 Q57921 Q837968 Q571808 Q209785 Q1088716 Q1407742 Q766168 Q58650 Q823874 Q830394 Q320943 Q679428 Q1009003 Q789256 Q873835 Q71266 Q15720 Q946743 Q602042 Q57953 Q917888 Q916679 Q1010131 Q653372 Q653478 Q911517 Q548097 Q783255 Q59205 Q843035 Q75978 Q198240 Q373346 Q935846 Q1000029 Q1623 Q835227 Q1008750 Q158423 Q851001 Q127026 Q849439 Q851419 Q1008686 Q714636 Q384796 Q505208 Q841603 Q1018795 Q374477 Q819664 Q847546 Q857202 Q854956 Q235004 Q933641 Q71227 Q571033 Q132997 Q394453 Q646847 Q68695 Q461020 Q57997 Q57996 Q913754 Q507846 Q3846983 Q503411 Q1818241 Q630358 Q583910 Q203027 Q179608 Q144988 Q425492 Q68534 Q379160 Q607625 Q200500 Q645014 Q854906 Q427367 Q423371 Q819629 Q1015409 Q755698 Q583620 Q986070 Q515573 Q736276 Q182378 Q847577 Q117604 Q855513 Q79535 Q270704 Q851021 Q911610 Q837157 Q149097 Q898468 Q276132 Q3866 Q325164 Q158435 Q193724 Q820760 Q784229 Q1017261 Q1000033 Q3599 Q851037 Q749283 Q496431 Q75110 Q58324 Q1017769 Q42664 Q68614 Q1017806 Q857234 Q17182 Q496681 Q854940 Q514796 Q854949 Q416544 Q633983 Q75203 Q404362 Q239597 Q158432 Q1471150 Q495821 Q633789 Q1019844 Q252325 Q250733 Q781435 Q740915 Q837161 Q840595 Q1676863 Q941061 Q203929 Q273880 Q71355 Q1473 Q841129 Q842996 Q1020874 Q338616 Q875070 Q260522 Q752838 Q426237 Q854977 Q496499 Q819613 Q941032 Q166829 Q854987 Q1258284 Q930396 Q214948 Q111739 Q667208 Q191097 Q75336 Q57885 Q385623 Q846351 Q789233 Q360374 Q75230 Q594275 Q499493 Q463171 Q246634 Q851048 Q1394252 Q750587 Q210661 Q210667 Q911674 Q987487 Q217698 Q207311 Q1641829 Q57936 Q83247 Q851029 Q1645 Q509923 Q149105 Q732300 Q789510 Q2209 Q727143 Q863739 Q76010 Q756273 Q17176 Q633996 Q188247 Q144663 Q508591 Q570427 Q75379 Q789282 Q839796 Q637913 Q427769 Q837170 Q55740 Q845857 Q851492 Q494627 Q57941 Q855082 Q59223 Q71159 Q460812 Q57944 Q390156 Q236197 Q386250 Q378225 Q57866 Q329790 Q263757 Q5217 Q269634 Q604385 Q679224 Q843031 Q850676 Q990988 Q726993 Q248959 Q59213 Q518360 Q742160 Q158272 Q17189 Q386661 Q819672 Q166183 Q523956 Q1889017 Q680963 Q933374 Q40626 Q954808 Q209983 Q240891 Q240489 Q936145 Q302526 Q1019371 Q303478 Q217681 Q721163 Q284480 Q1641781 Q104125 Q247387 Q1737652
(c(Q13220204)|c(Q56061),P190,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q890122
relation P190
type Q13220204
type Q56061
[ANSWERS] are partner towns of lesser number of administrative country subdivisions or administrative territories than Bolhrad
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?g WHERE { { ?g rdf:type ontology:Q515 . ?v rdf:type ontology:Q56061 . ?v property:P190 ?g } UNION { ?v property:P190 ?g . ?g rdf:type ontology:Q515 . ?v rdf:type ontology:Q13220204 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P190 resource:Q890122 . { VALUES ( ?k ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?a rdf:type ?k } } } . FILTER ( ?d < ?f ) }
Meziboří Laoag Kakegawa Sanda Nový Bor Pingxiang Zhangjiajie Velké Meziříčí Lijiang Rafaela Kroměříž Szikszó Iruma Ishinomaki Zalaszentgrót Lößnitz Băile Tușnad Guigang Ichikawa Lőrinci Horní Bříza Nagykáta Zhangjiakou Toda Nagykőrös Matsudo Tălmaciu Staré Město Balatonalmádi Tomioka Yichang Satsumasendai Skalná Baktalórántháza Schwarzenberg Vinaròs Téglás Frýdlant nad Ostravicí Higashihiroshima Mishima Létavértes Visegrád Kapuvár Heyuan Celldömölk Calamba Zhumadian Linyi Vlăhița Kraslice Valenzuela Ineu Stříbro Buštěhrad Măcin Sakurai Kopřivnice Turnov Ivančice Miyakojima Ōda Ouarzazate Tiszakécske Bzenec Ashikaga Sukagawa Saiki Sanuki Ibrány Vigan Martonvásár Shiyan Hulunbuir Florianópolis Žďár nad Sázavou Sodegaura Quanzhou Imabari Wolkenstein Thum Zalalövő Sebiș Șimleu Silvaniei Inuyama Rousínov Sedlčany Aš Tsu Nanning Zalakaros Luzhou Nanping Kunszentmárton Tamási Takehara Túrkeve Gyömrő Guang'an Ștei Toba Bílovec Svitavy Dévaványa Chrudim Hanzhong Cernavodă Putrajaya Susono Nago Bük Fort Smith Třebíč Pâncota Lengyeltóti Covasna Jirkov Brandýs nad Labem-Stará Boleslav Pecica Dodoma Kayes Vrbno pod Pradědem Slavkov u Brna Mihara Szigethalom Rotava Lanškroun Bicske Comarnic San Juan Sakaiminato Dandong Zhoushan Mnichovo Hradiště Huzhou Sanming Nové Sedlo Shōbara Parañaque Ebetsu Dabas Baoji Nyergesújfalu Changde Kashiwazaki Liaoyang Xinxiang Neratovice Stochov Fryšták Saku Dombóvár Přimda Hajdúdorog Wa Derecske Fulnek Sânnicolau Mare Kamisu Jablonec nad Jizerou Bystřice pod Hostýnem Zimnicea Beppu Huanggang Davao City Iida Pécsvárad Přeštice Čelákovice Dagupan Bácsalmás Aszód Guangyuan Kerekegyháza Kazuno Uozu Kozármisleny Miercurea Nirajului Soltvadkert Raspenava Nagakute Cegléd Puerto Princesa Fertőd Tachov Chaoyang Elterlein Ōmuta, Fukuoka Miyazu Balassagyarmat Anqing Panjin General Santos Seto Handa Zábřeh Făget Kosmonosy Shirakawa Musashino Chōfu Simontornya Ostrov Weifang Suzuka Jiříkov Scheibenberg Braga Aleșd Cagayan de Oro Mezőhegyes Tanvald Gyomaendrőd Balmazújváros Roxas Örkény Kasaoka Santa Rosa Karcag Muntinlupa Kameoka Sarkad Hengyang Police nad Metují Obernkirchen Huludao Balatonföldvár Borsec Tōgane Kisbér Gura Humorului San Fernando Uwajima Shibukawa Ruhla Schneeberg, Saxony Csenger Zhongshan Brand-Erbisdorf Naruto Annaberg-Buchholz Petrila Hino City Ōtake Hagi Yancheng Kamaishi Kadarkút Bacolod Tachikawa City Shizuishan Hajdúböszörmény Vasvár Blansko Broumov Cotabato City Zărnești Qingyuan Bílina Shijōnawate Žamberk Pasay Fujisawa Kumano Nabari Auerbach in der Oberpfalz Mandaue Mór Nagybajom Tacloban Kaplice Gyöngyös Higashiōmi Higashimurayama Loket Tab Studénka Kravaře Tai'an Itō Bóly Vítkov Lucena Kaba Kdyně
Třebíč, Matsudo and Făget are partner towns of lesser number of administrative country subdivisions or administrative territories than Bolhrad
Třebíč Matsudo Făget
action less
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Bolhrad
relation sister city
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?g WHERE { { ?g rdf:type ontology:city . ?v rdf:type ontology:administrative_territorial_entity . ?v property:sister_city ?g } UNION { ?v property:sister_city ?g . ?g rdf:type ontology:city . ?v rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:sister_city resource:Bolhrad . { VALUES ( ?k ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?a rdf:type ?k } } } . FILTER ( ?d < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q57906
P190
Q515 Q13220204 Q56061
USER
And also tell me about Yangzhou?
(c(Q13220204)|c(Q56061),P190,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q57906
relation P190
type Q13220204
type Q56061
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?e < ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P190 resource:Q57906 . { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?i WHERE { VALUES ( ?h ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?p rdf:type ?h } GROUP BY ?i } }
Yangzhou
action less
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Yangzhou
relation sister city
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?e < ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:sister_city resource:Yangzhou . { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?i WHERE { VALUES ( ?h ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?p rdf:type ?h } GROUP BY ?i } }
[]
city second-level administrative country subdivision administrative territorial entity
Q16506 Q270704 Q2773
SYSTEM
České Budějovice, Třebíč, Braunschweig
Q41283 Q386691 Q384403 Q373542 Q1021103 Q39738 Q10127 Q823988 Q843001 Q1017045 Q843006 Q847602 Q830404 Q847607 Q235746 Q222242 Q841296 Q7253 Q1000086 Q3974 Q3870 Q362865 Q197379 Q34412 Q849434 Q703158 Q72877 Q205914 Q259498 Q158239 Q83786 Q854913 Q944051 Q696925 Q696694 Q1000060 Q460835 Q278877 Q533157 Q217432 Q827041 Q2936 Q850969 Q819639 Q385375 Q304848 Q270814 Q379030 Q57921 Q25282 Q10395 Q10397 Q664895 Q858008 Q496667 Q1000467 Q837968 Q27860 Q240504 Q854996 Q281371 Q571808 Q837960 Q209785 Q360326 Q612815 Q320950 Q58273 Q1088716 Q1407742 Q43199 Q1015011 Q695892 Q191120 Q385982 Q766168 Q837173 Q383850 Q58650 Q214938 Q755686 Q770187 Q392692 Q823874 Q830394 Q850344 Q205607 Q320943 Q734416 Q193050 Q679428 Q985465 Q1009003 Q217646 Q846335 Q14499 Q789256 Q873835 Q7473516 Q71266 Q15720 Q946743 Q1321460 Q1001647 Q638312 Q502196 Q360069 Q602042 Q843039 Q5779 Q1009095 Q377834 Q8247 Q295367 Q283023 Q425996 Q166255 Q57953 Q917888 Q174091 Q59100 Q430864 Q916679 Q1645575 Q57958 Q501891 Q349983 Q1010131 Q57818 Q349982 Q653372 Q653478 Q911517 Q38968 Q548097 Q783255 Q166282 Q59205 Q842961 Q329768 Q41278 Q843035 Q246723 Q75978 Q198240 Q773312 Q696388 Q373346 Q363166 Q193719 Q935846 Q1000029 Q1623 Q147738 Q835227 Q373023 Q1629 Q1008750 Q74957 Q404529 Q653446 Q158423 Q851001 Q127026 Q912224 Q849439 Q210493 Q851419 Q1008686 Q834567 Q714636 Q740800 Q384796 Q5690 Q505208 Q852018 Q1000336 Q937008 Q605256 Q841603 Q1018795 Q1236048 Q374477 Q860674 Q5838 Q181276 Q819664 Q220445 Q3692 Q847546 Q756593 Q368429 Q8131 Q857202 Q192271 Q854956 Q235004 Q933641 Q1018700 Q325736 Q92297 Q375651 Q69060 Q71227 Q1632616 Q3069 Q1019339 Q571033 Q132997 Q120103 Q389515 Q394453 Q278017 Q216077 Q2910 Q646847 Q321778 Q604625 Q68695 Q330409 Q221283 Q461020 Q155975 Q57997 Q57996 Q913754 Q569639 Q958157 Q507846 Q602976 Q793405 Q3846983 Q503411 Q375097 Q59144 Q386677 Q12062 Q72818 Q1818241 Q630358 Q583910 Q203027 Q1482 Q625154 Q179608 Q144988 Q154540 Q1467 Q855073 Q817965 Q843018 Q425492 Q753731 Q68534 Q1010144 Q623549 Q379160 Q607625 Q526335 Q737830 Q5540 Q200500 Q496072 Q645014 Q10393 Q755691 Q854906 Q12245 Q427367 Q791458 Q1019335 Q423371 Q16959 Q386635 Q317827 Q1844 Q837154 Q10389 Q650015 Q819629 Q1015409 Q1013843 Q385461 Q291745 Q755698 Q583620 Q1008983 Q324293 Q214945 Q986070 Q946893 Q75150 Q515573 Q8854 Q319804 Q838669 Q736276 Q182378 Q858369 Q847577 Q235 Q117604 Q15379 Q588606 Q855513 Q104587 Q1019970 Q58401 Q593157 Q161176 Q1725 Q404873 Q79535 Q683165 Q1723 Q288413 Q167668 Q270704 Q3838 Q6582 Q851021 Q478038 Q911610 Q459787 Q386026 Q846345 Q837157 Q149097 Q207406 Q4346 Q393426 Q316841 Q898468 Q1025213 Q276132 Q58560 Q517407 Q126995 Q23661 Q817141 Q753864 Q3866 Q570884 Q325164 Q373101 Q14819 Q137271 Q158435 Q1008595 Q740810 Q498545 Q193721 Q502988 Q193724 Q734532 Q911667 Q820760 Q987496 Q7568 Q180379 Q842971 Q1475 Q622594 Q404429 Q978446 Q329775 Q784229 Q657642 Q843028 Q341056 Q755681 Q1017261 Q1000033 Q76001 Q589880 Q3599 Q596486 Q851037 Q56759 Q1410 Q71108 Q749283 Q642006 Q26837 Q57931 Q3857 Q426130 Q7786 Q651742 Q606212 Q1852528 Q3919 Q496431 Q674311 Q242108 Q207881 Q3915 Q937688 Q453502 Q75110 Q58324 Q31238 Q42666 Q1017769 Q1676870 Q860669 Q533078 Q42664 Q58570 Q151958 Q487439 Q665097 Q162880 Q174461 Q68614 Q1017806 Q857234 Q17182 Q496681 Q854940 Q653402 Q514796 Q854949 Q416544 Q633983 Q604516 Q75203 Q404362 Q57756 Q320939 Q239597 Q158432 Q851007 Q335427 Q177149 Q327764 Q1471150 Q495821 Q208471 Q633789 Q495802 Q1019844 Q373813 Q495809 Q3185 Q104036 Q368929 Q693237 Q252325 Q250733 Q592497 Q2773 Q781435 Q221214 Q722732 Q740915 Q488869 Q837161 Q71284 Q740853 Q205922 Q840595 Q877266 Q840591 Q632146 Q645567 Q207876 Q384926 Q842976 Q2978 Q647508 Q1676863 Q188082 Q270806 Q941061 Q14440 Q34261 Q349976 Q279642 Q756581 Q373564 Q203929 Q273880 Q71355 Q855060 Q643929 Q1473 Q841129 Q842996 Q679249 Q843021 Q14821 Q1020874 Q338616 Q954596 Q3958 Q954611 Q57970 Q3955 Q6343 Q875070 Q668318 Q189633 Q933480 Q260522 Q851042 Q844130 Q1575979 Q752838 Q426237 Q850395 Q92324 Q854977 Q325555 Q496499 Q252061 Q819613 Q941032 Q166829 Q890122 Q854987 Q394108 Q541550 Q855011 Q1258284 Q497341 Q513417 Q4007 Q1013914 Q2096 Q14169 Q7070 Q655417 Q642031 Q930396 Q214948 Q271000 Q58210 Q111739 Q214942 Q16506 Q68481 Q549427 Q335506 Q694370 Q55597 Q374511 Q4174 Q847565 Q245126 Q377929 Q267708 Q317844 Q1822 Q200077 Q47916 Q846338 Q389495 Q667208 Q191097 Q75336 Q57885 Q680656 Q1508 Q385623 Q29003 Q853623 Q946769 Q846351 Q739304 Q789233 Q1729076 Q360374 Q75230 Q3046 Q1430746 Q594275 Q523489 Q499493 Q372791 Q237683 Q463171 Q246634 Q369628 Q851048 Q857293 Q1019360 Q2749 Q1394252 Q750587 Q523469 Q1013850 Q692745 Q158420 Q999916 Q211243 Q210661 Q532560 Q210667 Q911674 Q58178 Q158257 Q750573 Q736897 Q496080 Q656603 Q987487 Q217698 Q118213 Q629471 Q187861 Q207311 Q695911 Q695917 Q7027 Q646850 Q376233 Q2119 Q1641829 Q206872 Q390796 Q271917 Q57936 Q719 Q5972 Q83247 Q851029 Q1645 Q390798 Q3904 Q790370 Q572231 Q7033 Q44244 Q855052 Q215755 Q547479 Q75026 Q509923 Q3826 Q773203 Q2907 Q149108 Q492366 Q843014 Q591823 Q149105 Q63855 Q349973 Q3768 Q732300 Q789510 Q265555 Q470369 Q1863 Q2209 Q727143 Q146363 Q532981 Q863739 Q2207 Q1756960 Q851056 Q359990 Q851114 Q108037 Q180470 Q210365 Q696407 Q430207 Q76010 Q756273 Q387211 Q17176 Q349985 Q633996 Q188247 Q517783 Q571918 Q59095 Q72778 Q360235 Q498060 Q3167 Q183584 Q3859 Q187136 Q5869 Q144663 Q508591 Q570427 Q59227 Q1018857 Q75379 Q789282 Q839796 Q502993 Q637913 Q75091 Q728438 Q427769 Q3014 Q634022 Q837170 Q789261 Q496837 Q855086 Q55740 Q226000 Q3075 Q845857 Q146317 Q825166 Q851492 Q911634 Q320798 Q494627 Q57941 Q855082 Q59223 Q187821 Q502205 Q203344 Q530634 Q230843 Q71151 Q319729 Q4175 Q71159 Q460812 Q57944 Q986082 Q189761 Q57947 Q390156 Q189769 Q373687 Q236197 Q386250 Q750224 Q378225 Q954569 Q57866 Q329790 Q804395 Q263757 Q329797 Q488134 Q2061 Q207222 Q653364 Q184998 Q5217 Q890949 Q416669 Q1017247 Q386988 Q854965 Q269634 Q489147 Q755701 Q601254 Q161060 Q604385 Q679224 Q158523 Q843031 Q629849 Q843043 Q850676 Q990988 Q20073 Q36063 Q485176 Q924085 Q3936 Q3931 Q146033 Q726993 Q248959 Q3200 Q59213 Q3612 Q844852 Q518360 Q742160 Q158272 Q933638 Q171943 Q651322 Q17189 Q386661 Q819672 Q847557 Q166183 Q158245 Q518203 Q523956 Q680743 Q169064 Q4060 Q652710 Q646766 Q71339 Q1013909 Q57948 Q950352 Q1889017 Q680963 Q207309 Q66485 Q933374 Q649214 Q58422 Q40626 Q582209 Q877935 Q3994 Q954808 Q209983 Q432055 Q240891 Q240489 Q320964 Q23768 Q58584 Q2427155 Q696783 Q170525 Q885482 Q936145 Q842929 Q30340 Q842925 Q92277 Q302526 Q392429 Q1019371 Q243293 Q225100 Q59132 Q303478 Q217681 Q263837 Q721163 Q275904 Q284480 Q3852 Q911567 Q1641781 Q104125 Q247387 Q213296 Q1737652
(c(Q13220204)|c(Q56061),P190,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q57906
relation P190
type Q13220204
type Q56061
[ANSWERS]
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?e < ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P190 resource:Q57906 . { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?i WHERE { VALUES ( ?h ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?p rdf:type ?h } GROUP BY ?i } }
Gwangju Niiza City Litoměřice Szigetvár Meziboří Laoag Tangerang Kakegawa Csorna Protivín Nagykálló Nishinoomote Hajdúszoboszló Sanda Kesennuma Kisköre Příbram Padang Nový Bor Landshut Nairobi Pingxiang Zhangjiajie Foshan Fuefuki Velké Meziříčí Datong Lijiang Rafaela Kroměříž Shimla Szikszó Horní Jiřetín Iruma Onomichi Humpolec Marugame Český Těšín Tianshui Port Harcourt Beroun Oldenburg Victoria Gero Ōmachi Daqing Ishinomaki Zalaszentgrót Lößnitz Danang Cirebon Sukabumi Uherský Brod Murayama Muroran Hostinné Băile Tușnad Jayapura Makó Szerencs Jászberény Guigang Năvodari Ichikawa Tongling Garachico Trutnov Taizhou Lőrinci Horní Bříza Omaha Milevsko Nanao Jēkabpils Herend Nagykáta Cisnădie Litovel Zhangjiakou Gyula Nyírbátor Kaminoyama Šumperk Toda Nagykőrös Sakado Zirc Matsudo Tsuruoka Érd Tălmaciu Rakovník Staré Město Mudanjiang Kahoku Samarinda Balatonalmádi Tomioka Tokyo Yichang Satsumasendai Skalná Králíky Budyně nad Ohří Toride Tenri Bengbu Baktalórántháza Veresegyház Banda Aceh Otrokovice Szentes Biratnagar Nagyatád Maglód Deyang Horšovský Týn Schwarzenberg Vinaròs Changsha Shantou Nymburk Téglás Kostelec nad Orlicí Zhenjiang Tahara Heihe Frýdlant nad Ostravicí Huai'an Hegang Higashihiroshima Mishima Létavértes Liuzhou Visegrád Kapuvár Alghero Heyuan Mezőberény Tata Ulsan Celldömölk Záhony Calamba Zhumadian Třeboň Toyooka Linyi Ganzhou Cheb Vlăhița Kraslice Valenzuela Saint Helier Ineu Weihai Zamboanga City Stříbro Anshan Xuchang Tsuchiura Buštěhrad Măcin Sakurai Techirghiol Kopřivnice Yantai Turnov Ivančice Bonyhád Miyakojima Paks Ōda Sparta Ouarzazate Izumisano Tandil Tótkomlós Shimada Tiszakécske Bzenec Dolní Benešov Ashikaga Tosu Kabul Szolnok Sukagawa Kuching Riyadh Saiki Târgu Neamț Felsőzsolca Palembang Sanuki Guiyang Ibrány Vigan Martonvásár Bystřice nad Pernštejnem Ciacova Siping Valašské Meziříčí Xining Shiyan Počátky Bottrop Město Albrechtice Hulunbuir Florianópolis Kaga Kariya Žďár nad Sázavou Tiszavasvári Jiujiang Ludwigshafen Sodegaura Hodonín Guyuan Quanzhou Ústí nad Orlicí Cape Coast Imabari Kutná Hora Wolkenstein Thum Zalalövő Lahnstein Sezimovo Ústí Sebiș Klatovy Berettyóújfalu Șimleu Silvaniei Inuyama Tiszaújváros Zhanjiang Kusatsu, Shiga Torgau Haiphong Rousínov Sedlčany Aš Tsu Cavite City Komárom Nanning Zalakaros Sásd Cebu City Solt Ikeda Kunszentmiklós Luzhou Masuda Nanping Hluboká nad Vltavou Puerto de la Cruz Kunszentmárton Tamási Keszthely Mizil Penza Takehara Fujinomiya Túrkeve Bogor Budaörs Gyömrő Stanley Guang'an Battonya Jílové u Prahy Ștei Ürümqi Hikone Hanamaki Vaduz Simeria Bandung Pannonhalma Toba Bílovec Dačice Ōmihachiman Ílhavo Svitavy Dévaványa Vodňany Anyang Pápa Chrudim Teiuș Yingkou Hanzhong Las Piñas Sanya Yamatotakada Cernavodă Putrajaya Tōkamachi Susono Monaco Nago Kendari Fonyód Bük Kyjov Březnice Shijiazhuang Murfatlar Fukushima Lipa Xinyang Fort Smith Poděbrady Batangas City Tapolca Liepāja Třebíč Kinshasa Carcassonne Pâncota Kiskunfélegyháza Lengyeltóti Iloilo City Orlová Suzu Covasna Jirkov Mosonmagyaróvár Waren (Müritz) Žatec Karlovo Brandýs nad Labem-Stará Boleslav Rosice Pecica Qinhuangdao Sondershausen Weinan Wellington Benešov nad Ploučnicí Kurobe Dodoma Tongliao Kayes Rizhao Freiberg Kota Kinabalu Vrbno pod Pradědem Vrchlabí Békés Meldorf Tábor Takaoka Slavkov u Brna Fukaya Elek Mihara Kralupy nad Vltavou Yogyakarta Rēzekne Sellye Quezon City Takayama Jiaozuo Trmice Kiskunhalas Szigethalom Villány Oroszlány Česká Třebová Várpalota Rotava Lanškroun San Pablo Pucioasa Bicske Fujioka Comarnic Olongapo Gibraltar Frauenstein San Juan Kurayoshi Sorong Taizhou Wilhelmshaven Mianyang Pekanbaru Minamiashigara City Fremantle Třebechovice pod Orebem Gaborone Sakaiminato Kisvárda Otaru Ichihara Antananarivo Strmilov Amami Dandong Zhoushan Miki Shaoxing Mnichovo Hradiště Jablonné nad Orlicí Nichinan Baraolt Huzhou Handan Yueyang Oral Minoh Dezhou Ranchi Sanming Nové Sedlo Shōbara Parañaque Ebetsu Dabas Shimoda Baoji Nyergesújfalu Changde Kashiwazaki Szentgotthárd Liaoyang Xinxiang Lianyungang Mělník Neratovice Stochov Deta Kisarazu Obihiro Prachatice Fryšták Saku Kaifeng Dombóvár Hekinan Přimda Albufeira Fujimi Hildesheim Ventspils Jindřichův Hradec Chitose Hajdúdorog Wa Vălenii de Munte Braunschweig Derecske Cugir Litomyšl Fulnek Benalmádena Sânnicolau Mare Xiangyang Szigetszentmiklós Qiqihar Kamisu Tainai Miyoshi Enying Törökbálint Yamaguchi Ōgaki Mátészalka Regensburg Fujiyoshida Jablonec nad Jizerou Český Krumlov Anjō Bystřice pod Hostýnem Iquique Port-au-Prince Yichun Myōkō Františkovy Lázně Liaocheng Zimnicea Beppu Huanggang Encs Shūnan Davao City Iida Pécsvárad Kalocsa Tolna Coburg Přeštice Čelákovice Havlíčkův Brod Neubrandenburg Jeseník Changzhou Weimar Carthage Dagupan Sárospatak Guilin Luhačovice Bácsalmás Hârlău Nagahama Vratimov Aszód Guangyuan Gōtsu Tonghua Kerekegyháza Recaș Kazuno Valea lui Mihai Uozu Kozármisleny Miercurea Nirajului Bolhrad Soltvadkert Žirovnice Tiszaföldvár Heves Raspenava Xianyang Vsetín Rosenheim Polička Edmonton Singkawang Eisenach Kenderes Gárdony Nagakute Cegléd Bouaké Jinhua Puerto Princesa Kazincbarcika České Budějovice Fuzhou Jánoshalma Salto Ayabe Muñoz Oyama Emden Hanyū City Siófok Hévíz Sovata Nishio Baguio Morioka Lucknow Suwa Toyokawa Fertőd Tachov Chaoyang Elterlein Sümeg Makati Ōmuta, Fukuoka Jiamusi Bátaszék Mórahalom Miyazu Hajdúnánás Balassagyarmat Kardašova Řečice Anqing Panjin Pforzheim Košťany General Santos Terezín Seto Jining Ōme Handa Zábřeh Sumoto Făget Kamo Dobřany Augsburg Kosmonosy Shirakawa Mariánské Lázně Rýmařov Monbetsu Červený Kostelec Vysoké Mýto Yinchuan Musashino Jiayuguan City Chōfu Simontornya Jiaxing Hlučín Maizuru Hatsukaichi Kadoma Jičín Ostrov Weifang Yamatokōriyama Kiskunmajsa Wollongong Suzuka Kuji Kitakami Straubing Kiskőrös Săcueni Mannheim Jiříkov Ajka Orosháza Kushiro Scheibenberg Saginaw Medan Braga Aleșd Cagayan de Oro Szentendre Mbabane Barcs Chongzuo Nordhausen Santa Fe Mezőtúr Xiangtan Dunakeszi Fushun Mezőhegyes Muscat Százhalombatta Sucre Jablunkov Norden Szarvas Náchod Tanvald Roudnice nad Labem Shuangyashan Yamoussoukro Gyomaendrőd Balmazújváros Kitami Kolín Andorra la Vella Roxas Örkény Most Baiyin Kasaoka Naga Poběžovice Cristuru Secuiesc Wuhu Yasugi Valmiera Huangshan City Beihai Hakusan Komló Santa Rosa Karcag Kamogawa Muntinlupa Suihua Kameoka Sarkad Pinamar Yulin Zhuhai Taiyuan Ma'anshan Mooka Siegen Lanzhou Kigali Luoyang Lhasa Hengyang Police nad Metují Obernkirchen Chaozhou Nový Bydžov Huludao Balatonföldvár Borsec Uherské Hradiště Tōgane Benxi Siklós Kisbér Wolfsburg Kiryū Gura Humorului Balatonboglár Lincang Sajószentpéter San Fernando Jimbolia Fürth Uwajima Veszprém Izumo Shibukawa Kisújszállás Mohács Ruhla Schneeberg, Saxony Csenger Zhongshan Tatabánya Nemuro Baja Pilisvörösvár Zushi Sayda Urayasu Ibbenbüren Brand-Erbisdorf Naruto Annaberg-Buchholz Litvínov Szekszárd Nantong Petrila Salgótarján Binzhou Hino City Ōtake Strakonice Hagi Vyškov Yancheng Kamaishi Blatná Kadarkút Iwakuni Ontario Yellowknife Zlaté Hory Atami Kaposvár Bacolod Bohumín Yiyang Podbořany Říčany Lenti Tachikawa City Schmalkalden Ráckeve Dubí Přibyslav Shizuishan Hajdúböszörmény Ehingen Vasvár Hatvan Sárvár Blansko Broumov Hohenstein-Ernstthal Vecsés Pasadena Horní Slavkov Bamberg Brandenburg an der Havel Zamárdi Cotabato City Zărnești Salzgitter Qingyuan Antofagasta Ueda Bílina Shijōnawate Žamberk Mezőkövesd Nanchang Năsăud Pasay Fujisawa Kumano Nagai Nabari Písek Iwanuma Auerbach in der Oberpfalz Balatonfüred Sângeorgiu de Pădure Hürth Letovice Tōno Xiaogan Slaný Aue Brtnice Mandaue Mór Tokushima Jaipur Nagybajom Csongrád Tangshan Tacloban Tokaj Unnan Kempten Kaplice Gyöngyös Hamada Higashiōmi Higashimurayama Yonago Las Vegas Baoding Náměšť nad Oslavou Yaizu Agadir Blovice Loket Nepomuk Zhengzhou Edelény Jilin City Tab Šternberk Studénka Sekondi-Takoradi Bicaz Jiangmen Kravaře Tai'an Ozamiz Itō Flămânzi Bóly Worms Nyékládháza Vítkov Lucena Kaba Sinaia Kdyně
České Budějovice Třebíč Braunschweig
action less
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Yangzhou
relation sister city
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?e < ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:sister_city resource:Yangzhou . { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?i WHERE { VALUES ( ?h ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?p rdf:type ?h } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q229411
P1376
Q7275 Q515
USER
How many states have more number of cities as their county seat than Delhi Sultanate ?
(c(Q515),P1376,c(Q7275))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q229411
relation P1376
type Q7275
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q229411 property:P1376 ?g . ?g rdf:type ontology:Q7275 } } . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P1376 ?j . ?j rdf:type ontology:Q7275 . ?p rdf:type ontology:Q515 } GROUP BY ?j } }
Delhi Sultanate
action count
action greater
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Delhi Sultanate
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Delhi_Sultanate property:capital_of ?g . ?g rdf:type ontology:state } } . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:capital_of ?j . ?j rdf:type ontology:state . ?p rdf:type ontology:city } GROUP BY ?j } }
[]
state city
SYSTEM
76
Q178665 Q18285930 Q855044 Q210198 Q133356 Q215530 Q912043 Q203493 Q1574107 Q15864 Q698089 Q210542 Q2114397 Q220110 Q1414395 Q756895 Q49697 Q6500954 Q274488 Q476757 Q1274468 Q234197 Q1108445 Q153080 Q1154540 Q550374 Q19831559 Q1048918 Q783489 Q618399 Q180573 Q216786 Q752662 Q1668970 Q320930 Q849623 Q139670 Q1138904 Q7352 Q9903 Q941881 Q38060 Q844250 Q738144 Q207521 Q1658411 Q157734 Q1415585 Q146328 Q1508143 Q940821 Q248572 Q697084 Q213586 Q11196 Q146713 Q427941 Q697837 Q747314 Q307069 Q28278 Q62454 Q1192067 Q2372248 Q505503 Q153015 Q846670 Q696242 Q1479726 Q467864 Q212056 Q13426199 Q3041595 Q484104 Q648297 Q149805
(c(Q515),P1376,c(Q7275))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q229411
relation P1376
type Q7275
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q229411 property:P1376 ?g . ?g rdf:type ontology:Q7275 } } . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P1376 ?j . ?j rdf:type ontology:Q7275 . ?p rdf:type ontology:Q515 } GROUP BY ?j } }
Mitanni German Empire of 1848/1849 Bhopal State Erivan Khanate Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Romania Han Zhao United Kingdom of the Netherlands Grand Duchy of Würzburg Second Brazilian Republic Yogyakarta Sultanate Rohan Republic of South Maluku Kediri Liu Song dynasty Zaire Eastern Wu Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Srivijaya Kievan Rus' East Francia Later Jin Dynasty South African Republic Oldenburg Suebic Kingdom of Galicia Later Liang dynasty Republic of the Congo South Vietnam Champa Hafsid dynasty Western Qin Cao Wei Oyo Empire Democratic Republic of Armenia Kingdom of Afghanistan Jin dynasty Ming imperium Netherlands New Guinea Gaul Lordship of Ireland United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Muscat and Oman Islamic State of Afghanistan Commonwealth of the Philippines Ukrainian State People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Gondor Republika Srpska Arab Federation Islamic Emirate of Afghanistan Mengjiang Bechuanaland Protectorate Eastern Wei Provisional Government of the Republic of Korea Chen dynasty Min Free State of Oldenburg Cochinchina Kingdom of Saxony Danishmends Reorganized National Government of China Federation of Malaya People's Socialist Republic of Albania Mongolian People's Republic Republic of China Republic of Iraq United States Army Military Government in Korea Free State of Brunswick Kingdom of Iraq
76
action count
action greater
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Delhi Sultanate
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Delhi_Sultanate property:capital_of ?g . ?g rdf:type ontology:state } } . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:capital_of ?j . ?j rdf:type ontology:state . ?p rdf:type ontology:city } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2579852
P1376
Q7275 Q515
USER
And what about Taurida Soviet Socialist Republic?
(c(Q515),P1376,c(Q7275))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q2579852
relation P1376
type Q7275
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P1376 ?h . ?h rdf:type ontology:Q7275 . ?k rdf:type ontology:Q515 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q2579852 property:P1376 ?v . ?v rdf:type ontology:Q7275 } } . FILTER ( ?q > ?a ) }
Taurida Soviet Socialist Republic
action count
action greater
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Taurida Soviet Socialist Republic
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:capital_of ?h . ?h rdf:type ontology:state . ?k rdf:type ontology:city } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Taurida_Soviet_Socialist_Republic property:capital_of ?v . ?v rdf:type ontology:state } } . FILTER ( ?q > ?a ) }
[]
state city
SYSTEM
76
Q178665 Q18285930 Q855044 Q210198 Q133356 Q215530 Q912043 Q203493 Q1574107 Q15864 Q698089 Q210542 Q2114397 Q220110 Q1414395 Q756895 Q49697 Q6500954 Q274488 Q476757 Q1274468 Q234197 Q1108445 Q153080 Q1154540 Q550374 Q19831559 Q1048918 Q783489 Q618399 Q180573 Q216786 Q752662 Q1668970 Q320930 Q849623 Q139670 Q1138904 Q7352 Q9903 Q941881 Q38060 Q844250 Q738144 Q207521 Q1658411 Q157734 Q1415585 Q146328 Q1508143 Q940821 Q248572 Q697084 Q213586 Q11196 Q146713 Q427941 Q697837 Q747314 Q307069 Q28278 Q62454 Q1192067 Q2372248 Q505503 Q153015 Q846670 Q696242 Q1479726 Q467864 Q212056 Q13426199 Q3041595 Q484104 Q648297 Q149805
(c(Q515),P1376,c(Q7275))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q2579852
relation P1376
type Q7275
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P1376 ?h . ?h rdf:type ontology:Q7275 . ?k rdf:type ontology:Q515 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q2579852 property:P1376 ?v . ?v rdf:type ontology:Q7275 } } . FILTER ( ?q > ?a ) }
Mitanni German Empire of 1848/1849 Bhopal State Erivan Khanate Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Romania Han Zhao United Kingdom of the Netherlands Grand Duchy of Würzburg Second Brazilian Republic Yogyakarta Sultanate Rohan Republic of South Maluku Kediri Liu Song dynasty Zaire Eastern Wu Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Srivijaya Kievan Rus' East Francia Later Jin Dynasty South African Republic Oldenburg Suebic Kingdom of Galicia Later Liang dynasty Republic of the Congo South Vietnam Champa Hafsid dynasty Western Qin Cao Wei Oyo Empire Democratic Republic of Armenia Kingdom of Afghanistan Jin dynasty Ming imperium Netherlands New Guinea Gaul Lordship of Ireland United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Muscat and Oman Islamic State of Afghanistan Commonwealth of the Philippines Ukrainian State People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Gondor Republika Srpska Arab Federation Islamic Emirate of Afghanistan Mengjiang Bechuanaland Protectorate Eastern Wei Provisional Government of the Republic of Korea Chen dynasty Min Free State of Oldenburg Cochinchina Kingdom of Saxony Danishmends Reorganized National Government of China Federation of Malaya People's Socialist Republic of Albania Mongolian People's Republic Republic of China Republic of Iraq United States Army Military Government in Korea Free State of Brunswick Kingdom of Iraq
76
action count
action greater
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Taurida Soviet Socialist Republic
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:capital_of ?h . ?h rdf:type ontology:state . ?k rdf:type ontology:city } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Taurida_Soviet_Socialist_Republic property:capital_of ?v . ?v rdf:type ontology:state } } . FILTER ( ?q > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1711
P36
Q1048835
USER
Which political territory contains Potsdam as its capital ?
(c(Q1048835),P36,Q1711)
action filter_type
action find_reverse
entity Q1711
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q1711']
SELECT DISTINCT ?d WHERE { ?d property:P36 resource:Q1711 . ?d rdf:type ontology:Q1048835 }
Potsdam
action filter_type
action find_reverse
entity Potsdam
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Potsdam']
SELECT DISTINCT ?d WHERE { ?d property:capital resource:Potsdam . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q48094
SYSTEM
Potsdam District
Q48094
(c(Q1048835),P36,Q1711)
action filter_type
action find_reverse
entity Q1711
relation P36
type Q1048835
[ANSWER] contains Potsdam as its capital
[{'concept': 'Q1048835'}, 'P36', 'Q1711']
SELECT DISTINCT ?d WHERE { ?d property:P36 resource:Q1711 . ?d rdf:type ontology:Q1048835 }
Potsdam District
Potsdam District contains Potsdam as its capital
Potsdam District
action filter_type
action find_reverse
entity Potsdam
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Potsdam']
SELECT DISTINCT ?d WHERE { ?d property:capital resource:Potsdam . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48094
P47
Q1048835
USER
Which political territories share border with that one ?
(c(Q1048835),P47,Q48094)
action filter_type
action find
entity Q48094
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q48094']
SELECT DISTINCT ?b WHERE { resource:Q48094 property:P47 ?b . ?b rdf:type ontology:Q1048835 }
Potsdam District
action filter_type
action find
entity Potsdam District
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Potsdam District']
SELECT DISTINCT ?b WHERE { resource:Potsdam_District property:shares_border_with ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q48046 Q48066 Q48089
SYSTEM
Cottbus, Halle, Neubrandenburg District
Q48101 Q48083 Q48046 Q48057 Q48089 Q48066
(c(Q1048835),P47,Q48094)
action filter_type
action find
entity Q48094
relation P47
type Q1048835
[ANSWERS] share border with that one
[{'concept': 'Q1048835'}, 'P47', 'Q48094']
SELECT DISTINCT ?b WHERE { resource:Q48094 property:P47 ?b . ?b rdf:type ontology:Q1048835 }
Schwerin District Magdeburg Cottbus Frankfurt (Oder) Neubrandenburg District Halle
Cottbus, Halle and Neubrandenburg District share border with that one
Cottbus Halle Neubrandenburg District
action filter_type
action find
entity Potsdam District
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Potsdam District']
SELECT DISTINCT ?b WHERE { resource:Potsdam_District property:shares_border_with ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q48089
P6
Q502895
USER
Which people have that political territory as their heads of government ?
(Q48089,P6,c(Q502895))
action filter_type
action find
entity Q48089
relation P6
type Q502895
['Q48089', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q48089 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Neubrandenburg District
action filter_type
action find
entity Neubrandenburg District
relation head of government
type common name
['Neubrandenburg District', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Neubrandenburg_District property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q48046
SYSTEM
Did you mean Cottbus ?
Q48046 Q48066 Q48089
(Q48046,P6,c(Q502895)) (Q48066,P6,c(Q502895)) (Q48089,P6,c(Q502895))
[ANSWER]
['Q48046', 'P6', {'concept': 'Q502895'}] ['Q48066', 'P6', {'concept': 'Q502895'}] ['Q48089', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q48089 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Cottbus Halle Neubrandenburg District
Did you mean Cottbus ?
Cottbus
['Cottbus', 'head of government', {'concept': 'common name'}] ['Halle', 'head of government', {'concept': 'common name'}] ['Neubrandenburg District', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Neubrandenburg_District property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Neubrandenburg District. Could you tell me the answer for that?
(Q48089,P6,c(Q502895))
Q48089
['Q48089', 'P6', {'concept': 'Q502895'}]
['Neubrandenburg District', 'head of government', {'concept': 'common name'}]
[]
Q1477239 Q92446 Q18224257
SYSTEM
Horst Brasch, Hans Jendretzky, Wilhelm Steudte
Q1251064 Q18224257 Q1793594 Q1477239 Q92446 Q15781711 Q1903507
(Q48089,P6,c(Q502895))
action filter_type
action find
entity Q48089
relation P6
type Q502895
[ANSWERS] have that political territory as their heads of government
['Q48089', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q48089 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Heinz Simkowski Wilhelm Steudte Kurt Guter Horst Brasch Hans Jendretzky Adolf Garling Martin Brick
Horst Brasch, Hans Jendretzky and Wilhelm Steudte have that political territory as their heads of government
Horst Brasch Hans Jendretzky Wilhelm Steudte
action filter_type
action find
entity Neubrandenburg District
relation head of government
type common name
['Neubrandenburg District', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Neubrandenburg_District property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q48089
P47
Q1048835
USER
How many political territories do Neubrandenburg District share a border with ?
(c(Q1048835),P47,Q48089)
action count
action filter_type
action find_reverse
entity Q48089
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q48089']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P47 resource:Q48089 . ?n rdf:type ontology:Q1048835 }
Neubrandenburg District
action count
action filter_type
action find_reverse
entity Neubrandenburg District
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Neubrandenburg District']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:shares_border_with resource:Neubrandenburg_District . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
4
Q48094 Q48098 Q48101 Q48057
(c(Q1048835),P47,Q48089)
action count
action filter_type
action find_reverse
entity Q48089
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q48089']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P47 resource:Q48089 . ?n rdf:type ontology:Q1048835 }
Potsdam District Rostock District Schwerin District Frankfurt (Oder)
4
action count
action filter_type
action find_reverse
entity Neubrandenburg District
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Neubrandenburg District']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:shares_border_with resource:Neubrandenburg_District . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q92446
P166
Q618779
USER
What were awarded to Hans Jendretzky ?
(Q92446,P166,c(Q618779))
action filter_type
action find
entity Q92446
relation P166
type Q618779
['Q92446', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q92446 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Hans Jendretzky
action filter_type
action find
entity Hans Jendretzky
relation award received
type award
['Hans Jendretzky', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Hans_Jendretzky property:award_received ?o . ?o rdf:type ontology:award }
[]
award
Q694401 Q514659
SYSTEM
Order of Karl Marx, Banner of Labor
Q694401 Q514659
(Q92446,P166,c(Q618779))
action filter_type
action find
entity Q92446
relation P166
type Q618779
The [ANSWERS] were awarded to Hans Jendretzky
['Q92446', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q92446 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Order of Karl Marx Banner of Labor
The Order of Karl Marx and Banner of Labor were awarded to Hans Jendretzky
Order of Karl Marx Banner of Labor
action filter_type
action find
entity Hans Jendretzky
relation award received
type award
['Hans Jendretzky', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Hans_Jendretzky property:award_received ?o . ?o rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1561516
Q618779
USER
And how about Günther Heyenn?
(Q1561516,P166,c(Q618779))
action filter_type
action find
entity Q1561516
relation P166
type Q618779
['Q1561516', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q1561516 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Günther Heyenn
action filter_type
action find
entity Günther Heyenn
relation award received
type award
['Günther Heyenn', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Günther_Heyenn property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q10905334
SYSTEM
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Q10905334
(Q1561516,P166,c(Q618779))
action filter_type
action find
entity Q1561516
relation P166
type Q618779
[ANSWER]
['Q1561516', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q1561516 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Günther Heyenn
relation award received
type award
['Günther Heyenn', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Günther_Heyenn property:award_received ?l . ?l rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q10905334 Q1611733 Q1750030
P17
Q1048835
USER
Is that award present in Santa Cruz de Marchena and Tabatinga ?
(Q10905334,P17,Q1611733) (Q10905334,P17,Q1750030)
action is_in
entity Q10905334
action intersection
action find_reverse
entity Q1611733
relation P17
action find_reverse
entity Q1750030
relation P17
['Q10905334', 'P17', 'Q1611733'] ['Q10905334', 'P17', 'Q1750030']
ASK WHERE { resource:Q10905334 property:P17 resource:Q1611733 . resource:Q10905334 property:P17 resource:Q1750030 }
Officer's Cross of the Order of Merit of the Federal Republic of Germany Santa Cruz de Marchena Tabatinga
action is_in
entity Officer's Cross of the Order of Merit of the Federal Republic of Germany
action intersection
action find_reverse
entity Santa Cruz de Marchena
relation country
action find_reverse
entity Tabatinga
relation country
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'country', 'Santa Cruz de Marchena'] ["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'country', 'Tabatinga']
ASK WHERE { resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country resource:Santa_Cruz_de_Marchena . resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country resource:Tabatinga }
[]
political territorial entity
SYSTEM
NO
(Q10905334,P17,Q1611733) (Q10905334,P17,Q1750030)
action is_in
entity Q10905334
action intersection
action find_reverse
entity Q1611733
relation P17
action find_reverse
entity Q1750030
relation P17
[ANSWER]
['Q10905334', 'P17', 'Q1611733'] ['Q10905334', 'P17', 'Q1750030']
ASK WHERE { resource:Q10905334 property:P17 resource:Q1611733 . resource:Q10905334 property:P17 resource:Q1750030 }
No
action is_in
entity Officer's Cross of the Order of Merit of the Federal Republic of Germany
action intersection
action find_reverse
entity Santa Cruz de Marchena
relation country
action find_reverse
entity Tabatinga
relation country
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'country', 'Santa Cruz de Marchena'] ["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'country', 'Tabatinga']
ASK WHERE { resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country resource:Santa_Cruz_de_Marchena . resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country resource:Tabatinga }
[]