Simple Question (Direct)
Simple Question
Q77818
P21
Q290
USER
Which sex does Michael Adelbulner belong to ?
(Q77818,P21,c(Q290))
action filter_type
action find
entity Q77818
relation P21
type Q290
['Q77818', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q77818 property:P21 ?l }
Michael Adelbulner
action filter_type
action find
entity Michael Adelbulner
relation gender
type sex
['Michael Adelbulner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Michael_Adelbulner property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q77818,P21,c(Q290))
action filter_type
action find
entity Q77818
relation P21
type Q290
Michael Adelbulner belongs to [ANSWER]
['Q77818', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q77818 property:P21 ?l }
male
Michael Adelbulner belongs to male
male
action filter_type
action find
entity Michael Adelbulner
relation gender
type sex
['Michael Adelbulner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Michael_Adelbulner property:gender ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q77818
P463
Q19335303
USER
Which German business organization had Michael Adelbulner as its member ?
(Q77818,P463,c(Q19335303))
action filter_type
action find
entity Q77818
relation P463
type Q19335303
['Q77818', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?i WHERE { resource:Q77818 property:P463 ?i . ?i rdf:type ontology:Q19335303 }
Michael Adelbulner
action filter_type
action find
entity Michael Adelbulner
relation member of
type type of business entity in Germany
['Michael Adelbulner', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?i WHERE { resource:Michael_Adelbulner property:member_of ?i . ?i rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q77818,P463,c(Q19335303))
action filter_type
action find
entity Q77818
relation P463
type Q19335303
The [ANSWER] had Michael Adelbulner as its member
['Q77818', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?i WHERE { resource:Q77818 property:P463 ?i . ?i rdf:type ontology:Q19335303 }
German Academy of Sciences Leopoldina
The German Academy of Sciences Leopoldina had Michael Adelbulner as its member
German Academy of Sciences Leopoldina
action filter_type
action find
entity Michael Adelbulner
relation member of
type type of business entity in Germany
['Michael Adelbulner', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?i WHERE { resource:Michael_Adelbulner property:member_of ?i . ?i rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1745632
Q19335303
USER
And also tell me about Klaus Sander?
(Q1745632,P463,c(Q19335303))
action filter_type
action find
entity Q1745632
relation P463
type Q19335303
['Q1745632', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?g WHERE { resource:Q1745632 property:P463 ?g . ?g rdf:type ontology:Q19335303 }
Klaus Sander
action filter_type
action find
entity Klaus Sander
relation member of
type type of business entity in Germany
['Klaus Sander', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?g WHERE { resource:Klaus_Sander property:member_of ?g . ?g rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q1745632,P463,c(Q19335303))
action filter_type
action find
entity Q1745632
relation P463
type Q19335303
[ANSWER]
['Q1745632', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?g WHERE { resource:Q1745632 property:P463 ?g . ?g rdf:type ontology:Q19335303 }
German Academy of Sciences Leopoldina
German Academy of Sciences Leopoldina
action filter_type
action find
entity Klaus Sander
relation member of
type type of business entity in Germany
['Klaus Sander', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?g WHERE { resource:Klaus_Sander property:member_of ?g . ?g rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1745632
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q543804,P106,c(Q12737077))
action filter_type
action find
entity Q1745632
relation P106
type Q12737077
['Q543804', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1745632 property:P106 ?e }
Klaus Sander
action filter_type
action find
entity Klaus Sander
relation occupation
type occupation
['German Academy of Sciences Leopoldina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Klaus_Sander property:occupation ?e }
[]
occupation
Q1622272 Q864503 Q15839135
SYSTEM
university teacher, biologist, developmental biologist
Q864503 Q15839135 Q1622272 Q350979
(Q543804,P106,c(Q12737077))
action filter_type
action find
entity Q1745632
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q543804', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1745632 property:P106 ?e }
biologist developmental biologist university teacher zoologist
University teacher, biologist and developmental biologist have that person as his/her 's career
university teacher biologist developmental biologist
action filter_type
action find
entity Klaus Sander
relation occupation
type occupation
['German Academy of Sciences Leopoldina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Klaus_Sander property:occupation ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1745632
P19
Q515
USER
Which city was that person born at ?
(Q1622272,P19,c(Q515)) (Q864503,P19,c(Q515)) (Q15839135,P19,c(Q515))
action filter_type
action find
entity Q1745632
relation P19
type Q515
['Q1622272', 'P19', {'concept': 'Q515'}] ['Q864503', 'P19', {'concept': 'Q515'}] ['Q15839135', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q1745632 property:P19 ?a . ?a rdf:type ontology:Q515 }
Klaus Sander
action filter_type
action find
entity Klaus Sander
relation place of birth
type city
['university teacher', 'place of birth', {'concept': 'city'}] ['biologist', 'place of birth', {'concept': 'city'}] ['developmental biologist', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Klaus_Sander property:place_of_birth ?a . ?a rdf:type ontology:city }
[]
city
Q2973
SYSTEM
Darmstadt
Q2973
(Q1622272,P19,c(Q515)) (Q864503,P19,c(Q515)) (Q15839135,P19,c(Q515))
action filter_type
action find
entity Q1745632
relation P19
type Q515
That person was born in [ANSWER]
['Q1622272', 'P19', {'concept': 'Q515'}] ['Q864503', 'P19', {'concept': 'Q515'}] ['Q15839135', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q1745632 property:P19 ?a . ?a rdf:type ontology:Q515 }
Darmstadt
That person was born in Darmstadt
Darmstadt
action filter_type
action find
entity Klaus Sander
relation place of birth
type city
['university teacher', 'place of birth', {'concept': 'city'}] ['biologist', 'place of birth', {'concept': 'city'}] ['developmental biologist', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Klaus_Sander property:place_of_birth ?a . ?a rdf:type ontology:city }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P36
Q515 Q15617994 Q7275
USER
How many cities are the capitals of approximately the same number of administrative territories and states as that city ?
(c(Q15617994)|c(Q7275),P36,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q2973
relation P36
type Q15617994
type Q7275
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?q WHERE { { ?n property:P36 ?q . ?q rdf:type ontology:Q515 . ?n rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q515 . ?n rdf:type ontology:Q7275 . ?n property:P36 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P36 resource:Q2973 . { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } } } . FILTER ( ?i = ?h ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation capital
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation capital
type city
type state
action count
action filter_multi_types
action find_reverse
entity Darmstadt
relation capital
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?q WHERE { { ?n property:capital ?q . ?q rdf:type ontology:city . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:city . ?n rdf:type ontology:state . ?n property:capital ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:capital resource:Darmstadt . { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } } } . FILTER ( ?i = ?h ) }
[]
city designation for an administrative territorial entity state
SYSTEM
500
Q15826 Q384403 Q373542 Q780731 Q39738 Q10126 Q843001 Q1710 Q843006 Q843009 Q392692 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q873377 Q853746 Q259498 Q158239 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q17042 Q4024 Q379030 Q1711 Q496667 Q240504 Q3806 Q281371 Q258884 Q320950 Q8254 Q592338 Q43199 Q52607 Q766168 Q933645 Q214938 Q830394 Q205607 Q193050 Q841296 Q911600 Q789256 Q903177 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q917888 Q1070920 Q174096 Q174091 Q502993 Q430864 Q855082 Q633945 Q843031 Q385070 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q75978 Q696388 Q185719 Q622841 Q983451 Q14424 Q304803 Q432169 Q147738 Q853744 Q43196 Q855032 Q404529 Q80484 Q5954 Q11462 Q834567 Q851675 Q3744 Q3214 Q842908 Q505208 Q1000336 Q911530 Q181276 Q583137 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q933641 Q379160 Q889966 Q890311 Q132997 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q602976 Q793405 Q375097 Q911558 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q2966 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q843018 Q14499 Q1000091 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q1000073 Q12245 Q117676 Q16959 Q10389 Q650015 Q30340 Q225257 Q35925 Q44215 Q629849 Q680656 Q986070 Q854996 Q214956 Q8247 Q235 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q167668 Q4469 Q270704 Q167109 Q478038 Q734378 Q459787 Q585630 Q855529 Q207408 Q1107569 Q1025387 Q316841 Q602042 Q237699 Q207406 Q23661 Q191651 Q7856199 Q3947359 Q325164 Q305640 Q14819 Q5285 Q3307925 Q14182 Q740810 Q193721 Q861221 Q911667 Q8652 Q842971 Q842976 Q181007 Q843028 Q385864 Q755686 Q3599 Q3861 Q43433 Q1636 Q7027 Q846652 Q7786 Q10104 Q155975 Q1020939 Q674311 Q719051 Q155674 Q863747 Q841125 Q954596 Q314686 Q487439 Q174461 Q385591 Q124375 Q954611 Q854940 Q2180 Q3319248 Q320939 Q714628 Q335427 Q177149 Q327764 Q2569148 Q208471 Q2337 Q633789 Q14960 Q8158 Q3185 Q116417 Q830404 Q861262 Q719 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q188082 Q2973 Q137271 Q855060 Q1473 Q842996 Q679249 Q843021 Q680743 Q3852 Q564234 Q3958 Q488990 Q668318 Q2079 Q6829 Q260522 Q8156 Q14440 Q752838 Q993064 Q276534 Q41773 Q42007 Q985465 Q329775 Q890122 Q855016 Q855011 Q513417 Q4007 Q480421 Q14168 Q823907 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q158928 Q755681 Q214942 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1822 Q200077 Q47916 Q1856 Q3183016 Q328601 Q2410422 Q191097 Q542154 Q2526233 Q946769 Q3126 Q846351 Q739304 Q789233 Q7253 Q157835 Q819103 Q3046 Q368929 Q530634 Q4827 Q591812 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q545923 Q211243 Q841603 Q656603 Q911576 Q42750 Q185684 Q187861 Q207311 Q386682 Q63145 Q485581 Q755698 Q2119 Q390796 Q271917 Q1008737 Q79535 Q5972 Q1721 Q1645 Q7578 Q390798 Q14126 Q44244 Q855052 Q11449 Q547479 Q404817 Q485891 Q2907 Q1001339 Q15847 Q843014 Q604516 Q732300 Q789510 Q470369 Q2209 Q2200 Q2203 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q517783 Q23768 Q206872 Q737634 Q1355 Q146363 Q3167 Q208818 Q5869 Q3948919 Q830411 Q740863 Q740800 Q171943 Q728438 Q427769 Q177042 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q5781 Q187821 Q502205 Q203344 Q1686 Q3355306 Q57944 Q189761 Q189769 Q2795 Q750224 Q378225 Q954569 Q738275 Q69060 Q8179 Q727383 Q184998 Q5217 Q854965 Q1020709 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3936 Q3931 Q3750 Q42666 Q3612 Q894059 Q933638 Q183111 Q40584 Q1067897 Q18575 Q11506 Q613813 Q375862 Q107624 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q591823 Q209983 Q877190 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125
(c(Q15617994)|c(Q7275),P36,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q2973
relation P36
type Q15617994
type Q7275
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?q WHERE { { ?n property:P36 ?q . ?q rdf:type ontology:Q515 . ?n rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q515 . ?n rdf:type ontology:Q7275 . ?n property:P36 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P36 resource:Q2973 . { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } } } . FILTER ( ?i = ?h ) }
Palu Litoměřice Szigetvár Szeghalom Laoag Serang Csorna Isabela City Nagykálló Marcali Šumperk Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Dumaguete Bátonyterenye Rafaela Kroměříž Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Oakland Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Makó Tübingen Jászberény Bélapátfalva Trutnov Dharan Marawi Omaha Mar del Plata Nagykáta Kunhegyes Gyula Nagykőrös Zirc Érd Příbram Vásárosnamény Balatonalmádi Tiszafüred Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Vinaròs Mamuju Sorsogon City Changsha Uherské Hradiště Nymburk Csenger Saijō Vasvár Burriana Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Calamba Toyooka Pétervására Ghardaia Río Cuarto Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Cincinnati Mezőkovácsháza Xuchang Patna Binjai Surabaya Bonyhád Takahashi Castro Cottbus Gyál Ouarzazate Tandil Hajdúhadház Szolnok Kidapawan Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Martonvásár Kunszentmárton Kiliya Reni Florianópolis Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Klatovy Berettyóújfalu Tiszaújváros Putnok Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Heidelberg Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Kunszentmiklós Samarinda Rychnov nad Kněžnou Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Pelhřimov Stanley Viseu Ürümqi Bandung Pannonhalma Zhengzhou Rupea Tabuk Santa Rosa Hatvan Sümeg Chrudim Szerencs Znojmo Biratnagar Monaco Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Liepāja Talca Třebíč Eger Kiskunfélegyháza Yonezawa Iloilo City Yanagawa Kistelek Vác Kerma Maasin Karlovo Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Wellington Masbate City Turquoise Mountain San Ignacio Kayes Abashiri Freiberg Tarlac Mianwali City Banjarmasin Békés Tábor Nakatsu Elek Miami Sellye Mátészalka Hattusa Oroszlány Ōsakasayama Nyírbátor Bicske Doha Chandigarh Antipolo Straubing Cigánd Pekanbaru Tanjung Pinang Kutná Hora Digos Kisvárda Artsyz Tandag Uda Tsuyama Havlíčkův Brod Mati Oral Ranchi Ōmura Hódmezővásárhely Jeseník Dabas Malolos Pehuajó Mělník Rumoi Kisarazu Obihiro Prachatice Escazú District Kaifeng Smolensk Dombóvár Brno Metro, Indonesia Hildesheim Sátoraljaújhely Hajdúszoboszló Uto Saginaw Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Český Krumlov Darmstadt Kota Kinabalu Encs Davao City Pécsvárad Kalocsa Tolna Balatonfüred Worms Annaka Neubrandenburg Kostanay Sárospatak Leipzig Speyer Bácsalmás Bandar Lampung Iquique Aszód Saint Anne Wau, South Sudan Obama Szombathely Rakovník Kiskunhalas Bolhrad Csurgó Heves Vsetín Rosenheim Abony Pontianak HigashiMatsuyama Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Bushehr Várpalota Kazincbarcika Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Baguio Morioka Lucknow Malaybalay Ungaran Hirado San Marcos, Costa Rica Tachov Koronadal Carn Dûm Mórahalom Erlangen Miyazu Hajdúnánás Balassagyarmat Padang Zaporizhzhya Berezivka Pforzheim Jindřichův Hradec Pilisvörösvár Vyritsa Buryn Ogi Samarkand Szob Augsburg Cheb Agartala Tatarbunary Yinchuan Tiszakécske Jičín Rétság Vojskovitsy Hefei Wollongong Suzuka Khost Imus Aveiro Svitavy Mannheim Orosháza Kushiro Semily Fort Smith Medan Wiesbaden Cagayan de Oro Jambi Szentendre Mataram Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Ananyiv Sucre Puerto Natales Manado Szarvas Szentgotthárd Gyomaendrőd Balmazújváros Kolín Roxas Tuguegarao Arica České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Pinamar Las Vegas Ajka Rozdilna Bangalore Most Siegen Fuchū Lhasa Santa Ana Körmend Česká Lípa Paks Nanchang Siklós Kisbér Biharkeresztes Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Langsa Tatabánya Nemuro Baja Butuan Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Chemnitz Strakonice Hagi Vyškov Karatsu Xining Pangkal Pinang Sokolov Kaposvár Bacolod Lenti Catbalogan Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Bamberg Brandenburg an der Havel Gera Shaoxing Antofagasta Borongan Mezőkövesd Jihlava San Fernando Oroquieta Tucson Denpasar Kőszeg Nyíradony Calapan Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Náchod Gyöngyös Tatsuno Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena
500
action count
action approx
action union
action find_reverse_tuple_counts
relation capital
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation capital
type city
type state
action count
action filter_multi_types
action find_reverse
entity Darmstadt
relation capital
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?q WHERE { { ?n property:capital ?q . ?q rdf:type ontology:city . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:city . ?n rdf:type ontology:state . ?n property:capital ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:capital resource:Darmstadt . { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } } } . FILTER ( ?i = ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2973 Q141810
P190
Q486972
USER
How many human settlements are twin cities of Darmstadt or Laval ?
(Q2973,P190,c(Q486972)) (Q141810,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q2973
relation P190
type Q486972
action filter_type
action find
entity Q141810
relation P190
type Q486972
['Q2973', 'P190', {'concept': 'Q486972'}] ['Q141810', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { VALUES ( ?p ) { ( resource:Q2973 ) ( resource:Q141810 ) } . ?p property:P190 ?t }
Darmstadt Laval
action count
action union
action filter_type
action find
entity Darmstadt
relation sister city
type human settlement
action filter_type
action find
entity Laval
relation sister city
type human settlement
['Darmstadt', 'sister city', {'concept': 'human settlement'}] ['Laval', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { VALUES ( ?p ) { ( resource:Darmstadt ) ( resource:Laval ) } . ?p property:sister_city ?t }
[]
human settlement
SYSTEM
2
Q41753 Q104725
(Q2973,P190,c(Q486972)) (Q141810,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q2973
relation P190
type Q486972
action filter_type
action find
entity Q141810
relation P190
type Q486972
[ANSWER]
['Q2973', 'P190', {'concept': 'Q486972'}] ['Q141810', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { VALUES ( ?p ) { ( resource:Q2973 ) ( resource:Q141810 ) } . ?p property:P190 ?t }
Klagenfurt Płock
2
action count
action union
action filter_type
action find
entity Darmstadt
relation sister city
type human settlement
action filter_type
action find
entity Laval
relation sister city
type human settlement
['Darmstadt', 'sister city', {'concept': 'human settlement'}] ['Laval', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { VALUES ( ?p ) { ( resource:Darmstadt ) ( resource:Laval ) } . ?p property:sister_city ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2973
P159
Q43229
USER
Which organizations have their head office location at that city ?
action filter_type
action find_reverse
entity Q2973
relation P159
type Q43229
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . ?c property:P159 resource:Q2973 }
Darmstadt
action filter_type
action find_reverse
entity Darmstadt
relation headquarters location
type organization
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . ?c property:headquarters_location resource:Darmstadt }
[]
organization
Q702674 Q1271019 Q1040398
SYSTEM
Wella, Döhler, Carl Schenck AG
Q17068910 Q1271019 Q590940 Q702674 Q16988621 Q1742261 Q1040398 Q834489
action filter_type
action find_reverse
entity Q2973
relation P159
type Q43229
[ANSWERS] have their head office location at that city
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . ?c property:P159 resource:Q2973 }
Merck Consumer Health Döhler T-Online Wella Computer Simulation Technology Kinopolis Carl Schenck AG Riese und Müller
Wella, Döhler and Carl Schenck AG have their head office location at that city
Wella Döhler Carl Schenck AG
action filter_type
action find_reverse
entity Darmstadt
relation headquarters location
type organization
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . ?c property:headquarters_location resource:Darmstadt }
[]