Simple Question (Direct)
Simple Question
Q1403608
P102
Q7210356
USER
Which party is Felix Leinen affiliated with ?
(Q1403608,P102,c(Q7210356))
action filter_type
action find
entity Q1403608
relation P102
type Q7210356
['Q1403608', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7210356 . resource:Q1403608 property:P102 ?v }
Felix Leinen
action filter_type
action find
entity Felix Leinen
relation member of political party
type political organization
['Felix Leinen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_organization . resource:Felix_Leinen property:member_of_political_party ?v }
[]
political organization
Q294989
SYSTEM
Ecological Democratic Party
Q294989
(Q1403608,P102,c(Q7210356))
action filter_type
action find
entity Q1403608
relation P102
type Q7210356
Felix Leinen is affiliated with [ANSWER]
['Q1403608', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7210356 . resource:Q1403608 property:P102 ?v }
Ecological Democratic Party
Felix Leinen is affiliated with Ecological Democratic Party
Ecological Democratic Party
action filter_type
action find
entity Felix Leinen
relation member of political party
type political organization
['Felix Leinen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_organization . resource:Felix_Leinen property:member_of_political_party ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q294989 Q183
P17
Q1048835
USER
Is that political organization present in Germany ?
(Q294989,P17,Q183)
action is_in
entity Q183
action find
entity Q294989
relation P17
['Q294989', 'P17', 'Q183']
ASK WHERE { resource:Q294989 property:P17 resource:Q183 }
Ecological Democratic Party Germany
action is_in
entity Germany
action find
entity Ecological Democratic Party
relation country
['Ecological Democratic Party', 'country', 'Germany']
ASK WHERE { resource:Ecological_Democratic_Party property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q294989,P17,Q183)
action is_in
entity Q183
action find
entity Q294989
relation P17
[ANSWER]
['Q294989', 'P17', 'Q183']
ASK WHERE { resource:Q294989 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Ecological Democratic Party
relation country
['Ecological Democratic Party', 'country', 'Germany']
ASK WHERE { resource:Ecological_Democratic_Party property:country resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q294989
P159
Q515
USER
Which city is the head office of that political organization ?
action filter_type
action find
entity Q294989
relation P159
type Q515
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q515 . resource:Q294989 property:P159 ?x }
Ecological Democratic Party
action filter_type
action find
entity Ecological Democratic Party
relation headquarters location
type city
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:city . resource:Ecological_Democratic_Party property:headquarters_location ?x }
[]
city
Q2999
SYSTEM
Würzburg
Q2999
action filter_type
action find
entity Q294989
relation P159
type Q515
[ANSWER] is the head office of that political organization
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q515 . resource:Q294989 property:P159 ?x }
Würzburg
Würzburg is the head office of that political organization
Würzburg
action filter_type
action find
entity Ecological Democratic Party
relation headquarters location
type city
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:city . resource:Ecological_Democratic_Party property:headquarters_location ?x }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q515 Q515 Q1048835
USER
Which cities are twin cities of min number of cities and political territories ?
(c(Q515)|c(Q1048835),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 Q1048835
[[{'concept': 'Q515'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?l WHERE { VALUES ( ?r ) { ( ontology:Q515 ) ( ontology:Q1048835 ) } . ?z rdf:type ?r } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?p WHERE { { ?b property:P190 ?p . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q515 } UNION { ?b rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q515 . ?b property:P190 ?p } } GROUP BY ?p } . FILTER ( ?j = ?u ) }
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 political territorial entity
[[{'concept': 'city'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?l WHERE { VALUES ( ?r ) { ( ontology:city ) ( ontology:political_territorial_entity ) } . ?z rdf:type ?r } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?p WHERE { { ?b property:sister_city ?p . ?p rdf:type ontology:city . ?b rdf:type ontology:city } UNION { ?b rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:city . ?b property:sister_city ?p } } GROUP BY ?p } . FILTER ( ?j = ?u ) }
[]
city city political territorial entity
Q16506 Q270704 Q1711
SYSTEM
České Budějovice, Třebíč, Potsdam
Q386691 Q384403 Q373542 Q39738 Q823988 Q843001 Q1017045 Q843006 Q847602 Q847607 Q222242 Q1000086 Q3974 Q197379 Q849434 Q703158 Q205914 Q259498 Q158239 Q83786 Q944051 Q696925 Q1000060 Q60037 Q278877 Q533157 Q217432 Q827041 Q850969 Q819639 Q385375 Q4024 Q304848 Q379030 Q57921 Q10395 Q10397 Q664895 Q858008 Q496667 Q1000467 Q281371 Q571808 Q837960 Q42651 Q612815 Q58273 Q1088716 Q1407742 Q1015011 Q695892 Q191120 Q385982 Q766168 Q837173 Q383850 Q58650 Q214938 Q770187 Q392692 Q830394 Q850344 Q734416 Q679428 Q985465 Q1009003 Q846335 Q14499 Q789256 Q873835 Q7473516 Q946743 Q1321460 Q1001647 Q638312 Q502196 Q360069 Q1009095 Q377834 Q8247 Q295367 Q283023 Q166255 Q59100 Q430864 Q1645575 Q1010131 Q57818 Q349982 Q548097 Q783255 Q246723 Q198240 Q773312 Q696388 Q373346 Q363166 Q193719 Q1000029 Q1623 Q147738 Q835227 Q373023 Q1629 Q1008750 Q74957 Q404529 Q653446 Q158423 Q851001 Q127026 Q912224 Q849439 Q851419 Q1008686 Q714636 Q740800 Q3214 Q5690 Q505208 Q852018 Q1000336 Q937008 Q605256 Q841603 Q1018795 Q1236048 Q860674 Q181276 Q3692 Q756593 Q368429 Q8131 Q857202 Q192271 Q854956 Q235004 Q933641 Q1018700 Q325736 Q92297 Q375651 Q69060 Q71227 Q1632616 Q1019339 Q132997 Q120103 Q389515 Q394453 Q278017 Q216077 Q321778 Q604625 Q68695 Q330409 Q221283 Q207408 Q155975 Q57997 Q913754 Q569639 Q958157 Q602976 Q793405 Q503411 Q386677 Q1818241 Q630358 Q583910 Q1482 Q34217 Q625154 Q179608 Q144988 Q154540 Q1467 Q855073 Q68534 Q1010144 Q2865 Q379160 Q607625 Q526335 Q737830 Q200500 Q496072 Q755691 Q854906 Q12245 Q427367 Q107401 Q1019335 Q16959 Q317827 Q1844 Q837154 Q650015 Q819629 Q1015409 Q1013843 Q385461 Q291745 Q755698 Q324293 Q986070 Q946893 Q75150 Q8854 Q319804 Q838669 Q736276 Q858369 Q847577 Q235 Q15379 Q104587 Q1019970 Q593157 Q161176 Q1725 Q79535 Q683165 Q1723 Q270704 Q167109 Q851021 Q478038 Q911610 Q386026 Q846345 Q207406 Q4346 Q316841 Q1025213 Q517407 Q126995 Q817141 Q753864 Q570884 Q325164 Q373101 Q158435 Q1008595 Q740810 Q498545 Q193721 Q502988 Q193724 Q734532 Q820760 Q987496 Q7568 Q180379 Q842971 Q3933 Q622594 Q978446 Q784229 Q843028 Q341056 Q755681 Q1017261 Q1000033 Q589880 Q596486 Q851037 Q1410 Q71108 Q749283 Q57931 Q3857 Q426130 Q651742 Q1852528 Q496431 Q674311 Q242108 Q207881 Q178382 Q937688 Q453502 Q31238 Q1017769 Q1676870 Q860669 Q151958 Q1711 Q487439 Q665097 Q162880 Q174461 Q68614 Q496681 Q3806 Q653402 Q514796 Q854949 Q75203 Q57756 Q320939 Q239597 Q158432 Q851007 Q335427 Q327764 Q1471150 Q495821 Q42635 Q2337 Q633789 Q495802 Q1019844 Q495809 Q116417 Q104036 Q368929 Q693237 Q250733 Q592497 Q221214 Q722732 Q3004 Q488869 Q71284 Q740853 Q205922 Q840595 Q877266 Q840591 Q632146 Q384926 Q842976 Q647508 Q1676863 Q188082 Q270806 Q941061 Q349976 Q279642 Q756581 Q373564 Q203929 Q273880 Q855060 Q643929 Q1473 Q841129 Q842996 Q843021 Q14821 Q1020874 Q338616 Q954596 Q954611 Q57970 Q3955 Q6343 Q668318 Q6829 Q851042 Q1575979 Q850395 Q42007 Q92324 Q854977 Q325555 Q819613 Q941032 Q890122 Q854987 Q394108 Q541550 Q855011 Q1258284 Q497341 Q513417 Q4007 Q1013914 Q7070 Q655417 Q642031 Q930396 Q271000 Q58210 Q16506 Q335506 Q55597 Q374511 Q4174 Q245126 Q377929 Q317844 Q200077 Q47916 Q846338 Q667208 Q191097 Q57885 Q29003 Q853623 Q946769 Q3126 Q789233 Q1729076 Q360374 Q1430746 Q523489 Q499493 Q372791 Q237683 Q246634 Q369628 Q1019360 Q1394252 Q750587 Q523469 Q1013850 Q692745 Q158420 Q999916 Q211243 Q210661 Q532560 Q210667 Q58178 Q158257 Q736897 Q496080 Q656603 Q987487 Q217698 Q118213 Q629471 Q187861 Q207311 Q695911 Q695917 Q7027 Q1641829 Q271917 Q57936 Q83247 Q390798 Q3904 Q790370 Q572231 Q7033 Q855052 Q75026 Q3826 Q2907 Q149108 Q492366 Q591823 Q149105 Q1789604 Q349973 Q3768 Q732300 Q265555 Q470369 Q1865 Q2209 Q532981 Q1756960 Q2203 Q851114 Q108037 Q180470 Q210365 Q696407 Q430207 Q387211 Q17176 Q349985 Q517783 Q571918 Q360235 Q1355 Q498060 Q3167 Q183584 Q3859 Q5869 Q144663 Q508591 Q570427 Q59227 Q1018857 Q789282 Q502993 Q637913 Q75091 Q728438 Q427769 Q634022 Q837170 Q789261 Q189823 Q496837 Q855086 Q226000 Q3075 Q845857 Q851492 Q320798 Q494627 Q59223 Q187821 Q502205 Q230843 Q319729 Q4175 Q460812 Q57944 Q986082 Q57947 Q189769 Q1761 Q373687 Q236197 Q386250 Q750224 Q954569 Q2880 Q329790 Q804395 Q263757 Q329797 Q488134 Q2706 Q2061 Q184998 Q890949 Q416669 Q1017247 Q386988 Q854965 Q269634 Q489147 Q601254 Q161060 Q158523 Q629849 Q843043 Q850676 Q990988 Q20073 Q36063 Q924085 Q3936 Q3931 Q248959 Q3751 Q3750 Q3200 Q518360 Q742160 Q933638 Q171943 Q651322 Q17189 Q386661 Q819672 Q847557 Q158245 Q518203 Q523956 Q18575 Q4060 Q652710 Q646766 Q71339 Q1013909 Q57948 Q950352 Q3042 Q933374 Q649214 Q58422 Q40626 Q187812 Q582209 Q877935 Q954808 Q209983 Q2427155 Q696783 Q885482 Q936145 Q842929 Q30340 Q842925 Q92277 Q392429 Q1019371 Q225100 Q303478 Q217681 Q263837 Q721163 Q275904 Q284480 Q3852 Q911567 Q1641781 Q213296 Q1737652
(c(Q515)|c(Q1048835),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 Q1048835
[ANSWERS] are twin cities of min number of cities and political territories
[[{'concept': 'Q515'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?l WHERE { VALUES ( ?r ) { ( ontology:Q515 ) ( ontology:Q1048835 ) } . ?z rdf:type ?r } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?p WHERE { { ?b property:P190 ?p . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q515 } UNION { ?b rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q515 . ?b property:P190 ?p } } GROUP BY ?p } . FILTER ( ?j = ?u ) }
Niiza City Litoměřice Szigetvár Laoag Kakegawa Csorna Protivín Nagykálló Nishinoomote Sanda Kisköre Nový Bor Landshut Zhangjiajie Fuefuki Velké Meziříčí Lijiang Rafaela Kroměříž Shimla Horní Jiřetín Iruma Humpolec Zalaegerszeg Český Těšín Tianshui Port Harcourt Beroun Victoria Gero Ōmachi Frankfurt (Oder) Daqing Zalaszentgrót Lößnitz Cirebon Sukabumi Uherský Brod Murayama Muroran Hostinné Jászberény Guigang Năvodari Wuxi Garachico Taizhou Lőrinci Horní Bříza Milevsko Nanao Jēkabpils Herend Nagykáta Cisnădie Litovel Zhangjiakou Gyula Kaminoyama Šumperk Nagykőrös Sakado Tsuruoka Tălmaciu Rakovník Staré Město Kahoku Samarinda Balatonalmádi Tomioka Tokyo Skalná Králíky Budyně nad Ohří Toride Tenri Bengbu Otrokovice Szentes Biratnagar Nagyatád Maglód Horšovský Týn Shantou Nymburk Kostelec nad Orlicí Frýdlant nad Ostravicí Huai'an Hegang Visegrád Kapuvár Záhony Zhumadian Třeboň Toyooka Linyi Ganzhou Cheb Kraslice Valenzuela Saint Helier Ineu Weihai Zamboanga City Stříbro Anshan Xuchang Tsuchiura Buštěhrad Măcin Sakurai Techirghiol Kopřivnice Turnov Ivančice Miyakojima Paks Cottbus Sparta Ouarzazate Izumisano Tandil Tótkomlós Shimada Tiszakécske Bzenec Dolní Benešov Tosu Szolnok Riyadh 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 Město Albrechtice Florianópolis Kaga Kariya Žďár nad Sázavou Tiszavasvári Jiujiang Hodonín Guyuan Quanzhou Ústí nad Orlicí Cape Coast Vác Kutná Hora Wolkenstein Zalalövő Lahnstein Sezimovo Ústí Klatovy Berettyóújfalu Inuyama Kusatsu, Shiga Rousínov Sedlčany Aš Cavite City Oxford Komárom Nanning Zalakaros Sásd Cebu City Solt Nanping Hluboká nad Vltavou Kassel Kunszentmárton Tamási Keszthely Mizil Takehara Fujinomiya Budaörs Gyömrő Stanley Guang'an Sivas Jílové u Prahy Ürümqi Hanamaki Vaduz Simeria Pannonhalma Toba Bílovec Dačice Ōmihachiman Ílhavo Svitavy Anyang Chrudim Teiuș Yingkou Las Piñas Sanya Yamatotakada Cernavodă Tōkamachi Susono Monaco Kendari Kyjov Březnice Murfatlar Fukushima Lipa Fort Smith Poděbrady Batangas City Třebíč Eger Pâncota Kiskunfélegyháza Lengyeltóti Orlová Suzu Mosonmagyaróvár Waren (Müritz) Karlovo Rosice Sondershausen Weinan Benešov nad Ploučnicí Kurobe Tongliao Kayes Rizhao Vrbno pod Pradědem Vrchlabí Békés Meldorf Tábor Takaoka Slavkov u Brna Fukaya Mihara Kralupy nad Vltavou Yogyakarta Rēzekne Sellye Celle Takayama Trmice Szigethalom Oroszlány Česká Třebová Várpalota Rotava Lanškroun Pucioasa Fujioka Comarnic Gibraltar Frauenstein San Juan Taizhou Wilhelmshaven Mianyang Minamiashigara City Třebechovice pod Orebem Sakaiminato Kisvárda Otaru Ichihara Jūrmala Strmilov Amami Miki Mnichovo Hradiště Jablonné nad Orlicí Nichinan Yueyang Potsdam Oral Minoh Dezhou Ranchi Sanming Ebetsu Tübingen Shimoda Baoji Nyergesújfalu Liaoyang Lianyungang Mělník Neratovice Stochov Deta Kisarazu Prachatice Fryšták Saku Wenzhou Smolensk Dombóvár Hekinan Přimda Fujimi Sátoraljaújhely Ventspils Jindřichův Hradec Chitose Wa Vălenii de Munte Cugir Litomyšl Ingolstadt Benalmádena Xiangyang Szigetszentmiklós Qiqihar Kamisu Tainai Miyoshi Enying Ōgaki Mátészalka Fujiyoshida Jablonec nad Jizerou Český Krumlov Anjō Bystřice pod Hostýnem Yichun Myōkō Františkovy Lázně Liaocheng Zimnicea Beppu Encs Shūnan Davao City Iida Pécsvárad Tolna Coburg Přeštice Čelákovice Havlíčkův Brod Jeseník Changzhou Weimar Carthage Sárospatak Speyer Hârlău Vratimov Gōtsu Szombathely Tonghua Kerekegyháza Recaș Uozu Kozármisleny Bolhrad Soltvadkert Žirovnice Tiszaföldvár Heves Raspenava Xianyang Vsetín Rosenheim Polička Eisenach Kenderes Gárdony Nagakute Bouaké Jinhua České Budějovice Salto Muñoz Oyama Emden Siófok Hévíz Nishio Morioka Lucknow Suwa Fertőd Tachov Elterlein Jiamusi Bátaszék Mórahalom Erlangen Balassagyarmat Kardašova Řečice Anqing Košťany Terezín Seto Jining Ōme Zábřeh Sumoto Dobřany Kosmonosy Shirakawa Mariánské Lázně Rýmařov Monbetsu Červený Kostelec Vysoké Mýto Yinchuan Musashino Jiayuguan City Chōfu Jiaxing Hlučín Hatsukaichi Kadoma Jičín Ostrov Weifang Yamatokōriyama Kiskunmajsa Wollongong Suzuka Kuji Kitakami Straubing Jiříkov Kushiro Scheibenberg Braga Szentendre Mbabane Barcs Chongzuo Nordhausen Mezőtúr Fushun Muscat Sucre Jablunkov Norden Náchod Tanvald Krnov Shuangyashan Yamoussoukro Gyomaendrőd Kitami Kolín Kuala Lumpur Roxas Baiyin Poběžovice Arica Yasugi Valmiera Huangshan City Beihai Hakusan Komló Kamogawa Muntinlupa Suihua Pinamar Yulin Ma'anshan Bangalore Mooka Siegen Lanzhou Kigali Lhasa Hengyang Police nad Metují Obernkirchen Chaozhou Nový Bydžov Balatonföldvár Uherské Hradiště Tōgane Benxi Siklós Kisbér Kiryū Gura Humorului Balatonboglár Haikou Lincang Sajószentpéter Jimbolia Fürth Uwajima Shibukawa Mohács Ruhla Zhongshan Tatabánya Nemuro Zushi Urayasu Ibbenbüren Naruto Annaberg-Buchholz Litvínov Nantong Salgótarján Dublin Binzhou Hino City Ōtake Strakonice Vyškov Hamm Kamaishi Blatná Kadarkút Iwakuni Ontario Bremerhaven Yellowknife Kaposvár Bohumín Yiyang Podbořany Říčany Lenti Tachikawa City Schmalkalden Dubí Přibyslav Ehingen Hatvan Sárvár Blansko Broumov Hohenstein-Ernstthal Vecsés Horní Slavkov Bamberg Brandenburg an der Havel Zărnești Praia Gera Salzgitter Bílina Shijōnawate Mezőkövesd Nanchang Năsăud Pasay Fujisawa Kumano Nagai Písek Iwanuma Auerbach in der Oberpfalz Tucson Hürth Letovice Tōno Xiaogan Slaný Aue Brtnice Offenbach am Main Nagybajom Csongrád Tangshan Tacloban Dunaújváros Tokaj Unnan Kaplice Gyöngyös Náměšť nad Oslavou Yaizu Blovice Loket Nepomuk Zhengzhou Edelény Jilin City Šternberk Studénka Bicaz Kravaře Tai'an Ozamiz Itō Flămânzi Bóly Worms Nyékládháza Vítkov Sinaia Kdyně
České Budějovice, Třebíč and Potsdam are twin cities of min number of cities and political territories
České Budějovice Třebíč Potsdam
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 political territorial entity
[[{'concept': 'city'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?l WHERE { VALUES ( ?r ) { ( ontology:city ) ( ontology:political_territorial_entity ) } . ?z rdf:type ?r } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?p WHERE { { ?b property:sister_city ?p . ?p rdf:type ontology:city . ?b rdf:type ontology:city } UNION { ?b rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:city . ?b property:sister_city ?p } } GROUP BY ?p } . FILTER ( ?j = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1711
P137
Q483110
USER
Which stadium is the administrator of Potsdam ?
(c(Q483110),P137,Q1711)
action filter_type
action find_reverse
entity Q1711
relation P137
type Q483110
[{'concept': 'Q483110'}, 'P137', 'Q1711']
SELECT DISTINCT ?w WHERE { ?w property:P137 resource:Q1711 . ?w rdf:type ontology:Q483110 }
Potsdam
action filter_type
action find_reverse
entity Potsdam
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Potsdam']
SELECT DISTINCT ?w WHERE { ?w property:operator resource:Potsdam . ?w rdf:type ontology:stadium }
[]
stadium
Q464018
SYSTEM
Karl-Liebknecht-Stadion
Q464018
(c(Q483110),P137,Q1711)
action filter_type
action find_reverse
entity Q1711
relation P137
type Q483110
[ANSWER] is the administrator of Potsdam
[{'concept': 'Q483110'}, 'P137', 'Q1711']
SELECT DISTINCT ?w WHERE { ?w property:P137 resource:Q1711 . ?w rdf:type ontology:Q483110 }
Karl-Liebknecht-Stadion
Karl-Liebknecht-Stadion is the administrator of Potsdam
Karl-Liebknecht-Stadion
action filter_type
action find_reverse
entity Potsdam
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Potsdam']
SELECT DISTINCT ?w WHERE { ?w property:operator resource:Potsdam . ?w rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2999
P47
Q1048835
USER
Which political territory is bordered by Würzburg ?
(c(Q1048835),P47,Q2999)
action filter_type
action find
entity Q2999
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q2999']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . resource:Q2999 property:P47 ?g }
Würzburg
action filter_type
action find
entity Würzburg
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Würzburg']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Würzburg property:shares_border_with ?g }
[]
political territorial entity
Q10458
SYSTEM
Würzburg
Q10458
(c(Q1048835),P47,Q2999)
action filter_type
action find
entity Q2999
relation P47
type Q1048835
Sie [ANSWER] is bordered by [ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q2999']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . resource:Q2999 property:P47 ?g }
Würzburg
Sie Würzburg is bordered by Würzburg
Würzburg
action filter_type
action find
entity Würzburg
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Würzburg']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Würzburg property:shares_border_with ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2999
P1376
Q1048835
USER
Which political territory has Würzburg as its county seat ?
(Q2999,P1376,c(Q1048835))
action filter_type
action find
entity Q2999
relation P1376
type Q1048835
['Q2999', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q2999 property:P1376 ?c . ?c rdf:type ontology:Q1048835 }
Würzburg
action filter_type
action find
entity Würzburg
relation capital of
type political territorial entity
['Würzburg', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Würzburg property:capital_of ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q10547
SYSTEM
Lower Franconia
Q10547
(Q2999,P1376,c(Q1048835))
action filter_type
action find
entity Q2999
relation P1376
type Q1048835
[ANSWER] has Würzburg as its county seat
['Q2999', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q2999 property:P1376 ?c . ?c rdf:type ontology:Q1048835 }
Lower Franconia
Lower Franconia has Würzburg as its county seat
Lower Franconia
action filter_type
action find
entity Würzburg
relation capital of
type political territorial entity
['Würzburg', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Würzburg property:capital_of ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10547
P20
Q502895
USER
Which person has that political territory as the location of death ?
(c(Q502895),P20,Q10547)
action filter_type
action find_reverse
entity Q10547
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q10547']
SELECT DISTINCT ?a WHERE { ?a property:P20 resource:Q10547 . ?a rdf:type ontology:Q502895 }
Lower Franconia
action filter_type
action find_reverse
entity Lower Franconia
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lower Franconia']
SELECT DISTINCT ?a WHERE { ?a property:place_of_death resource:Lower_Franconia . ?a rdf:type ontology:common_name }
[]
common name
Q2582153
SYSTEM
Willi Russ
Q2582153
(c(Q502895),P20,Q10547)
action filter_type
action find_reverse
entity Q10547
relation P20
type Q502895
[ANSWER] has that political territory as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q10547']
SELECT DISTINCT ?a WHERE { ?a property:P20 resource:Q10547 . ?a rdf:type ontology:Q502895 }
Willi Russ
Willi Russ has that political territory as the location of death
Willi Russ
action filter_type
action find_reverse
entity Lower Franconia
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lower Franconia']
SELECT DISTINCT ?a WHERE { ?a property:place_of_death resource:Lower_Franconia . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q7725634 Q484692 Q1048835
USER
How many political territories have approximately 1 literary works or hymns as their anthem ?
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
value 1
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?q ) WHERE { { ?v property:P85 ?y . ?v rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7725634 } UNION { ?v property:P85 ?y . ?y rdf:type ontology:Q484692 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?v } }
action count
action approx
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
value 1
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?q ) WHERE { { ?v property:anthem ?y . ?v rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:literary_work } UNION { ?v property:anthem ?y . ?y rdf:type ontology:hymn . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?v } }
[]
literary work hymn political territorial entity
SYSTEM
37
Q1000 Q183 Q785 Q601252 Q193619 Q685 Q202023 Q763 Q664 Q9676 Q1054923 Q13353 Q5705 Q16 Q170604 Q5785 Q38610 Q3405693 Q18221 Q43448 Q778 Q5783 Q691 Q757 Q9648 Q234 Q35672 Q165783 Q40 Q35086 Q23635 Q192184 Q25228 Q31747 Q25305 Q129286 Q2594990
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?q ) WHERE { { ?v property:P85 ?y . ?v rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7725634 } UNION { ?v property:P85 ?y . ?y rdf:type ontology:Q484692 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?v } }
Gabon Germany Jersey Banovina of Croatia Union of South Africa Solomon Islands Herm Saint Kitts and Nevis New Zealand Isle of Man British Hong Kong Montserrat Catalonia Canada New France Cayman Islands Dominion of Newfoundland Sark Turks and Caicos Islands British Indian Ocean Territory The Bahamas Andalusia Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Flemish Region Pitcairn Islands British Antarctic Territory Austria South Georgia and the South Sandwich Islands Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands British Raj Dominion of New Zealand
37
action count
action approx
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
value 1
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?q ) WHERE { { ?v property:anthem ?y . ?v rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:literary_work } UNION { ?v property:anthem ?y . ?y rdf:type ontology:hymn . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q495094
P725
Q502895 Q2342494
USER
How many collectables did approximately the same number of people do the dubbing for as Durarara!! ?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q495094
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?c ) WHERE { ?l rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 . ?f property:P725 ?l } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Q495094 property:P725 ?s . ?s rdf:type ontology:Q2342494 } } . FILTER ( ?c = ?y ) }
Durarara!!
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Durarara!!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?c ) WHERE { ?l rdf:type ontology:common_name . ?f rdf:type ontology:collectable . ?f property:voice_actor ?l } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Durarara!! property:voice_actor ?s . ?s rdf:type ontology:collectable } } . FILTER ( ?c = ?y ) }
[]
common name collectable
SYSTEM
12
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q495094
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?c ) WHERE { ?l rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 . ?f property:P725 ?l } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Q495094 property:P725 ?s . ?s rdf:type ontology:Q2342494 } } . FILTER ( ?c = ?y ) }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
12
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Durarara!!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?c ) WHERE { ?l rdf:type ontology:common_name . ?f rdf:type ontology:collectable . ?f property:voice_actor ?l } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Durarara!! property:voice_actor ?s . ?s rdf:type ontology:collectable } } . FILTER ( ?c = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q485958
P725
Q502895 Q2342494
USER
And how about Ro-Kyu-Bu!?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q485958
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?r ) WHERE { ?e property:P725 ?o . ?e rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q485958 property:P725 ?l . ?l rdf:type ontology:Q2342494 } } . FILTER ( ?r = ?p ) }
Ro-Kyu-Bu!
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ro-Kyu-Bu!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?r ) WHERE { ?e property:voice_actor ?o . ?e rdf:type ontology:collectable . ?o rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Ro-Kyu-Bu! property:voice_actor ?l . ?l rdf:type ontology:collectable } } . FILTER ( ?r = ?p ) }
[]
common name collectable
SYSTEM
14
Q50035 Q483263 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q5647726 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q485958
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?r ) WHERE { ?e property:P725 ?o . ?e rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q485958 property:P725 ?l . ?l rdf:type ontology:Q2342494 } } . FILTER ( ?r = ?p ) }
Nyaruko: Crawling with Love Baka and Test Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure Muv-Luv
14
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ro-Kyu-Bu!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?r ) WHERE { ?e property:voice_actor ?o . ?e rdf:type ontology:collectable . ?o rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Ro-Kyu-Bu! property:voice_actor ?l . ?l rdf:type ontology:collectable } } . FILTER ( ?r = ?p ) }
[]