Simple Question (Direct)
Simple Question
Q1403031
P106
Q12737077
USER
Which occupations have Felicia Montealegre as his/her 's career ?
(Q1403031,P106,c(Q12737077))
action filter_type
action find
entity Q1403031
relation P106
type Q12737077
['Q1403031', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1403031 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Felicia Montealegre
action filter_type
action find
entity Felicia Montealegre
relation occupation
type occupation
['Felicia Montealegre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Felicia_Montealegre property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q10798782 Q33999 Q2259451
SYSTEM
television actor, actor, stage actor
Q10798782 Q33999 Q2259451
(Q1403031,P106,c(Q12737077))
action filter_type
action find
entity Q1403031
relation P106
type Q12737077
[ANSWERS] have Felicia Montealegre as his/her 's career
['Q1403031', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1403031 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
television actor actor stage actor
Television actor, actor and stage actor have Felicia Montealegre as his/her 's career
television actor actor stage actor
action filter_type
action find
entity Felicia Montealegre
relation occupation
type occupation
['Felicia Montealegre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Felicia_Montealegre property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1403031
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q10798782,P27,c(Q15617994)) (Q33999,P27,c(Q15617994)) (Q2259451,P27,c(Q15617994))
action filter_type
action find
entity Q1403031
relation P27
type Q15617994
['Q10798782', 'P27', {'concept': 'Q15617994'}] ['Q33999', 'P27', {'concept': 'Q15617994'}] ['Q2259451', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1403031 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Felicia Montealegre
action filter_type
action find
entity Felicia Montealegre
relation country of citizenship
type designation for an administrative territorial entity
['television actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['stage actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Felicia_Montealegre property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
(Q10798782,P27,c(Q15617994)) (Q33999,P27,c(Q15617994)) (Q2259451,P27,c(Q15617994))
action filter_type
action find
entity Q1403031
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q10798782', 'P27', {'concept': 'Q15617994'}] ['Q33999', 'P27', {'concept': 'Q15617994'}] ['Q2259451', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1403031 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Chile
Chile is the native country of that person
Chile
action filter_type
action find
entity Felicia Montealegre
relation country of citizenship
type designation for an administrative territorial entity
['television actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['stage actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Felicia_Montealegre property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11540429 Q1403031
P19
Q515
USER
Which cities are the places of birth of Felicia Montealegre or Yūdai Mori ?
OR((Q1403031,P19,c(Q515)), (Q11540429,P19,c(Q515)))
action filter_type
action union
action find
entity Q1403031
relation P19
action find
entity Q11540429
relation P19
type Q515
{'OR': [['Q1403031', 'P19', {'concept': 'Q515'}], ['Q11540429', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1403031 property:P19 ?n } UNION { resource:Q11540429 property:P19 ?n } } . ?n rdf:type ontology:Q515 }
Yūdai Mori Felicia Montealegre
action filter_type
action union
action find
entity Felicia Montealegre
relation place of birth
action find
entity Yūdai Mori
relation place of birth
type city
{'OR': [['Felicia Montealegre', 'place of birth', {'concept': 'city'}], ['Yūdai Mori', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Felicia_Montealegre property:place_of_birth ?n } UNION { resource:Yūdai_Mori property:place_of_birth ?n } } . ?n rdf:type ontology:city }
[]
city
Q2887 Q26600
SYSTEM
Santiago, Fukuoka
Q2887 Q26600
OR((Q1403031,P19,c(Q515)), (Q11540429,P19,c(Q515)))
action filter_type
action union
action find
entity Q1403031
relation P19
action find
entity Q11540429
relation P19
type Q515
[ANSWERS] are the places of birth of Felicia Montealegre or Yūdai Mori
{'OR': [['Q1403031', 'P19', {'concept': 'Q515'}], ['Q11540429', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1403031 property:P19 ?n } UNION { resource:Q11540429 property:P19 ?n } } . ?n rdf:type ontology:Q515 }
Santiago Fukuoka
Santiago and Fukuoka are the places of birth of Felicia Montealegre or Yūdai Mori
Santiago Fukuoka
action filter_type
action union
action find
entity Felicia Montealegre
relation place of birth
action find
entity Yūdai Mori
relation place of birth
type city
{'OR': [['Felicia Montealegre', 'place of birth', {'concept': 'city'}], ['Yūdai Mori', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Felicia_Montealegre property:place_of_birth ?n } UNION { resource:Yūdai_Mori property:place_of_birth ?n } } . ?n rdf:type ontology:city }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P840
Q515 Q166142 Q15416
USER
How many cities are the narrative locations of greater number of applications or television programs than that city ?
(c(Q166142)|c(Q15416),P840,c(Q515))
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P840 ?y } UNION { ?x property:P840 ?y } } . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:narrative_location ?y } UNION { ?x property:narrative_location ?y } } . ?z rdf:type ontology:application . ?y rdf:type ontology:city . ?x rdf:type ontology:television_program }
[]
city application television program
Comparative|Count over More/Less|Mult. entity type|Clarification
Q26600
SYSTEM
Did you mean Fukuoka ?
(c(Q166142)|c(Q15416),P840,c(Q515))
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P840 ?y } UNION { ?x property:P840 ?y } } . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q15416 }
Did you mean Fukuoka ?
Fukuoka
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:narrative_location ?y } UNION { ?x property:narrative_location ?y } } . ?z rdf:type ontology:application . ?y rdf:type ontology:city . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Santiago. Could you tell me the answer for that?
(c(Q166142)|c(Q15416),P840,c(Q515))
Q2887
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q515'}]
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'city'}]
[]
SYSTEM
11
Q23482 Q1533 Q19660 Q23768 Q3004 Q7473516 Q1761 Q17042 Q8652 Q3014 Q2999
(c(Q166142)|c(Q15416),P840,c(Q515))
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P840 ?y } UNION { ?x property:P840 ?y } } . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q15416 }
Marseille Caracas Bucharest Las Vegas Ingolstadt Tokyo Dublin Oakland Miami Wolfsburg Würzburg
11
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:narrative_location ?y } UNION { ?x property:narrative_location ?y } } . ?z rdf:type ontology:application . ?y rdf:type ontology:city . ?x rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298
P35
Q502895
USER
Which person has the highest formal authority in Chile ?
(Q298,P35,c(Q502895))
action filter_type
action find
entity Q298
relation P35
type Q502895
['Q298', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q298 property:P35 ?l . ?l rdf:type ontology:Q502895 }
Chile
action filter_type
action find
entity Chile
relation head of state
type common name
['Chile', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Chile property:head_of_state ?l . ?l rdf:type ontology:common_name }
[]
common name
Q320
SYSTEM
Michelle Bachelet
Q320
(Q298,P35,c(Q502895))
action filter_type
action find
entity Q298
relation P35
type Q502895
Chile [ANSWER] has the highest formal authority in Chile
['Q298', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q298 property:P35 ?l . ?l rdf:type ontology:Q502895 }
Michelle Bachelet
Chile Michelle Bachelet has the highest formal authority in Chile
Michelle Bachelet
action filter_type
action find
entity Chile
relation head of state
type common name
['Chile', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Chile property:head_of_state ?l . ?l rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q373542
P36
Q515 Q7275 Q486972
USER
Which cities are the capitals of around the same number of states and human settlements as Szigetvár ?
(c(Q7275)|c(Q486972),P36,c(Q515))
action approx
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q373542
relation P36
type Q7275
type Q486972
[[{'concept': 'Q7275'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?v ) WHERE { { ?h property:P36 ?w . ?w rdf:type ontology:Q515 . ?h rdf:type ontology:Q7275 } UNION { ?h property:P36 ?w . ?w rdf:type ontology:Q515 . ?h rdf:type ontology:Q486972 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P36 resource:Q373542 . { { ?c rdf:type ontology:Q7275 } UNION { ?c rdf:type ontology:Q486972 } } } } . FILTER ( ?v = ?d ) }
Szigetvár
action approx
action union
action find_reverse_tuple_counts
relation capital
type city
type state
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Szigetvár
relation capital
type state
type human settlement
[[{'concept': 'state'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?v ) WHERE { { ?h property:capital ?w . ?w rdf:type ontology:city . ?h rdf:type ontology:state } UNION { ?h property:capital ?w . ?w rdf:type ontology:city . ?h rdf:type ontology:human_settlement } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:capital resource:Szigetvár . { { ?c rdf:type ontology:state } UNION { ?c rdf:type ontology:human_settlement } } } } . FILTER ( ?v = ?d ) }
[]
city state human settlement
Q1773 Q23482 Q456
SYSTEM
Riga, Marseille, Lyon
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 Q7473516 Q903177 Q3870 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 Q2135 Q43196 Q855032 Q404529 Q80484 Q5954 Q11462 Q834567 Q851675 Q3744 Q3214 Q842908 Q23482 Q505208 Q1000336 Q911530 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q933641 Q379160 Q889966 Q890311 Q132997 Q3104 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 Q1844 Q10389 Q650015 Q30340 Q225257 Q35925 Q44215 Q629849 Q680656 Q986070 Q854996 Q214956 Q1362 Q8247 Q235 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q167668 Q4469 Q1519 Q270704 Q167109 Q478038 Q734378 Q459787 Q585630 Q855529 Q7248 Q207408 Q1107569 Q1025387 Q316841 Q6602 Q602042 Q237699 Q207406 Q23661 Q191651 Q7856199 Q3947359 Q325164 Q305640 Q14819 Q5285 Q3307925 Q14182 Q740810 Q193721 Q861221 Q911667 Q8652 Q842971 Q842976 Q3866 Q181007 Q843028 Q385864 Q755686 Q3599 Q3861 Q43433 Q1636 Q7027 Q846652 Q7786 Q10104 Q3859 Q155975 Q1020939 Q674311 Q3915 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 Q4905 Q207876 Q2978 Q188082 Q2973 Q34261 Q137271 Q855060 Q1473 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q3852 Q564234 Q3958 Q488990 Q668318 Q2079 Q6829 Q260522 Q8156 Q14440 Q752838 Q993064 Q276534 Q41773 Q42007 Q985465 Q1858 Q2096 Q329775 Q890122 Q855016 Q3787 Q855011 Q513417 Q4007 Q480421 Q14168 Q823907 Q7070 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q158928 Q755681 Q214942 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1822 Q1533 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 Q42751 Q185684 Q187861 Q207311 Q386682 Q63145 Q485581 Q755698 Q2119 Q390796 Q271917 Q1008737 Q79535 Q5972 Q1720 Q1721 Q1645 Q7578 Q390798 Q3904 Q14126 Q44244 Q855052 Q11449 Q547479 Q404817 Q485891 Q2907 Q1001339 Q15847 Q843014 Q604516 Q3768 Q732300 Q789510 Q470369 Q1863 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 Q6582 Q187821 Q502205 Q203344 Q1686 Q3355306 Q57944 Q189761 Q189769 Q2795 Q750224 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q184998 Q5217 Q854965 Q1020709 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q7003 Q3936 Q3931 Q3751 Q3750 Q3616 Q42666 Q3612 Q894059 Q933638 Q183111 Q40584 Q1067897 Q18575 Q11506 Q613813 Q375862 Q107624 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q591823 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125
(c(Q7275)|c(Q486972),P36,c(Q515))
action approx
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q373542
relation P36
type Q7275
type Q486972
[ANSWERS] are the capitals of around the same number of states and human settlements as Szigetvár
[[{'concept': 'Q7275'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?v ) WHERE { { ?h property:P36 ?w . ?w rdf:type ontology:Q515 . ?h rdf:type ontology:Q7275 } UNION { ?h property:P36 ?w . ?w rdf:type ontology:Q515 . ?h rdf:type ontology:Q486972 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P36 resource:Q373542 . { { ?c rdf:type ontology:Q7275 } UNION { ?c rdf:type ontology:Q486972 } } } } . FILTER ( ?v = ?d ) }
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 Tokyo Tiszafüred Nairobi 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 Winnipeg Cincinnati Mezőkovácsháza Xuchang Patna Binjai Surabaya Bonyhád Takahashi Castro Cottbus Gyál Marseille Ouarzazate Tandil Hajdúhadház Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Martonvásár Kunszentmárton Kiliya Reni Florianópolis Koblenz 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 Vaduz Bandung Pannonhalma Zhengzhou Rupea Tabuk Santa Rosa Hatvan Sümeg Chrudim Szerencs Znojmo Islamabad Biratnagar Monaco Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Liepāja Talca Abu Dhabi Třebíč Eger Kiskunfélegyháza Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Vác Kerma Maasin Karlovo Strasbourg 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 Dodoma Hattusa Oroszlány Ōsakasayama Nyírbátor Bicske Doha Chandigarh Antipolo Straubing Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Digos Kisvárda Antananarivo 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 Druzhnaya Gorka Yamaguchi Regensburg Český Krumlov Darmstadt Port-au-Prince Kota Kinabalu Encs Davao City Pécsvárad Riga Kalocsa Tolna Coburg 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 Hanoi Edmonton Kiskunhalas Bolhrad Csurgó Abuja Heves Vsetín Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Bushehr Várpalota Kazincbarcika Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Baguio Caracas 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 Palikir Hefei Wollongong Suzuka Khost Imus Aveiro Svitavy Mannheim Orosháza Kushiro Semily Fort Smith Medan Mainz Wiesbaden Cagayan de Oro Jambi Szentendre Mbabane Mataram Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Ananyiv Sucre Puerto Natales Manado Szarvas Szentgotthárd Yamoussoukro Gyomaendrőd Balmazújváros Kolín Andorra la Vella 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 Carcassonne Tatabánya Nemuro Baja Butuan Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Chemnitz Strakonice Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Kaposvár Bacolod Lenti Catbalogan Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Dijon Bamberg Brandenburg an der Havel Praia Gera Tehran 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 Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena
Riga, Marseille and Lyon are the capitals of around the same number of states and human settlements as Szigetvár
Riga Marseille Lyon
action approx
action union
action find_reverse_tuple_counts
relation capital
type city
type state
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Szigetvár
relation capital
type state
type human settlement
[[{'concept': 'state'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?v ) WHERE { { ?h property:capital ?w . ?w rdf:type ontology:city . ?h rdf:type ontology:state } UNION { ?h property:capital ?w . ?w rdf:type ontology:city . ?h rdf:type ontology:human_settlement } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:capital resource:Szigetvár . { { ?c rdf:type ontology:state } UNION { ?c rdf:type ontology:human_settlement } } } } . FILTER ( ?v = ?d ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1773 Q23482 Q456
P138
Q17444909
USER
Which astronomical object types have those cities as their toponym ?
(c(Q17444909),P138,Q1773) (c(Q17444909),P138,Q23482) (c(Q17444909),P138,Q456)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q1773'] [{'concept': 'Q17444909'}, 'P138', 'Q23482'] [{'concept': 'Q17444909'}, 'P138', 'Q456']
SELECT DISTINCT ?e WHERE { ?e property:P138 ?v . VALUES ( ?v ) { ( resource:Q15826 ) ( resource:Q384403 ) ( resource:Q373542 ) } . ?e rdf:type ontology:Q17444909 }
Riga Marseille Lyon
action filter_type
action find_reverse
entity prev_answer
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Riga'] [{'concept': 'astronomical object type'}, 'named after', 'Marseille'] [{'concept': 'astronomical object type'}, 'named after', 'Lyon']
SELECT DISTINCT ?e WHERE { ?e property:named_after ?v . VALUES ( ?v ) { ( resource:Palu ) ( resource:Litoměřice ) ( resource:Szigetvár ) } . ?e rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q143883 Q107524 Q1192758
SYSTEM
1796 Riga, 20 Massalia, 9381 Lyon
Q143883 Q107524 Q1192758
(c(Q17444909),P138,Q1773) (c(Q17444909),P138,Q23482) (c(Q17444909),P138,Q456)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q17444909
[ANSWERS] have those cities as their toponym
[{'concept': 'Q17444909'}, 'P138', 'Q1773'] [{'concept': 'Q17444909'}, 'P138', 'Q23482'] [{'concept': 'Q17444909'}, 'P138', 'Q456']
SELECT DISTINCT ?e WHERE { ?e property:P138 ?v . VALUES ( ?v ) { ( resource:Q15826 ) ( resource:Q384403 ) ( resource:Q373542 ) } . ?e rdf:type ontology:Q17444909 }
1796 Riga 20 Massalia 9381 Lyon
1796 Riga, 20 Massalia and 9381 Lyon have those cities as their toponym
1796 Riga 20 Massalia 9381 Lyon
action filter_type
action find_reverse
entity prev_answer
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Riga'] [{'concept': 'astronomical object type'}, 'named after', 'Marseille'] [{'concept': 'astronomical object type'}, 'named after', 'Lyon']
SELECT DISTINCT ?e WHERE { ?e property:named_after ?v . VALUES ( ?v ) { ( resource:Palu ) ( resource:Litoměřice ) ( resource:Szigetvár ) } . ?e rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q143883 Q107524 Q1192758
P196
Q6999
USER
Which astronomical objects are considered to be the minor planet group of those astronomical object types ?
(Q143883,P196,c(Q6999)) (Q107524,P196,c(Q6999)) (Q1192758,P196,c(Q6999))
action filter_type
action find
entity prev_answer
relation P196
type Q6999
['Q143883', 'P196', {'concept': 'Q6999'}] ['Q107524', 'P196', {'concept': 'Q6999'}] ['Q1192758', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q6999 . VALUES ( ?e ) { ( resource:Q143883 ) ( resource:Q107524 ) ( resource:Q1192758 ) } . ?e property:P196 ?u }
1796 Riga 20 Massalia 9381 Lyon
action filter_type
action find
entity prev_answer
relation minor planet group
type astronomical object
['1796 Riga', 'minor planet group', {'concept': 'astronomical object'}] ['20 Massalia', 'minor planet group', {'concept': 'astronomical object'}] ['9381 Lyon', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:astronomical_object . VALUES ( ?e ) { ( resource:1796_Riga ) ( resource:20_Massalia ) ( resource:9381_Lyon ) } . ?e property:minor_planet_group ?u }
[]
astronomical object
Q2179 Q2179 Q2179
SYSTEM
asteroid belt
Q2179 Q2179 Q2179
(Q143883,P196,c(Q6999)) (Q107524,P196,c(Q6999)) (Q1192758,P196,c(Q6999))
action filter_type
action find
entity prev_answer
relation P196
type Q6999
[ANSWER], [ANSWER] and [ANSWER] are considered to be the minor planet group of those astronomical object types
['Q143883', 'P196', {'concept': 'Q6999'}] ['Q107524', 'P196', {'concept': 'Q6999'}] ['Q1192758', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q6999 . VALUES ( ?e ) { ( resource:Q143883 ) ( resource:Q107524 ) ( resource:Q1192758 ) } . ?e property:P196 ?u }
asteroid belt asteroid belt asteroid belt
Asteroid belt, asteroid belt and asteroid belt are considered to be the minor planet group of those astronomical object types
asteroid belt asteroid belt asteroid belt
action filter_type
action find
entity prev_answer
relation minor planet group
type astronomical object
['1796 Riga', 'minor planet group', {'concept': 'astronomical object'}] ['20 Massalia', 'minor planet group', {'concept': 'astronomical object'}] ['9381 Lyon', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:astronomical_object . VALUES ( ?e ) { ( resource:1796_Riga ) ( resource:20_Massalia ) ( resource:9381_Lyon ) } . ?e property:minor_planet_group ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23482
P159
Q502895
USER
Which people have HQ at Marseille ?
(c(Q502895),P159,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P159
type Q502895
[{'concept': 'Q502895'}, 'P159', 'Q23482']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q23482 . ?t rdf:type ontology:Q502895 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation headquarters location
type common name
[{'concept': 'common name'}, 'headquarters location', 'Marseille']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Marseille . ?t rdf:type ontology:common_name }
[]
common name
Q16859542 Q5526578 Q16859299
SYSTEM
Honoré Savy, Gaspard Robert, Joseph Fauchier
Q16859542 Q5526578 Q16859299
(c(Q502895),P159,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P159
type Q502895
[ANSWERS] have HQ at Marseille
[{'concept': 'Q502895'}, 'P159', 'Q23482']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q23482 . ?t rdf:type ontology:Q502895 }
Honoré Savy Gaspard Robert Joseph Fauchier
Honoré Savy, Gaspard Robert and Joseph Fauchier have HQ at Marseille
Honoré Savy Gaspard Robert Joseph Fauchier
action filter_type
action find_reverse
entity Marseille
relation headquarters location
type common name
[{'concept': 'common name'}, 'headquarters location', 'Marseille']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Marseille . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16859542 Q5526578 Q16859299
P21
Q290
USER
What are the sex of those people ?
(Q16859542,P21,c(Q290)) (Q5526578,P21,c(Q290)) (Q16859299,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q16859542', 'P21', {'concept': 'Q290'}] ['Q5526578', 'P21', {'concept': 'Q290'}] ['Q16859299', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . ?n property:P21 ?q . VALUES ( ?n ) { ( resource:Q16859542 ) ( resource:Q5526578 ) ( resource:Q16859299 ) } }
Honoré Savy Gaspard Robert Joseph Fauchier
action filter_type
action find
entity prev_answer
relation gender
type sex
['Honoré Savy', 'gender', {'concept': 'sex'}] ['Gaspard Robert', 'gender', {'concept': 'sex'}] ['Joseph Fauchier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . ?n property:gender ?q . VALUES ( ?n ) { ( resource:Honoré_Savy ) ( resource:Gaspard_Robert ) ( resource:Joseph_Fauchier ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q16859542,P21,c(Q290)) (Q5526578,P21,c(Q290)) (Q16859299,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are [ANSWER], [ANSWER] and [ANSWER]
['Q16859542', 'P21', {'concept': 'Q290'}] ['Q5526578', 'P21', {'concept': 'Q290'}] ['Q16859299', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . ?n property:P21 ?q . VALUES ( ?n ) { ( resource:Q16859542 ) ( resource:Q5526578 ) ( resource:Q16859299 ) } }
male male male
The sex of those people are male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Honoré Savy', 'gender', {'concept': 'sex'}] ['Gaspard Robert', 'gender', {'concept': 'sex'}] ['Joseph Fauchier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . ?n property:gender ?q . VALUES ( ?n ) { ( resource:Honoré_Savy ) ( resource:Gaspard_Robert ) ( resource:Joseph_Fauchier ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23482
P1001
Q12737077
USER
Which occupation presides the jurisdiction over Marseille ?
(c(Q12737077),P1001,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q23482']
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q23482 . ?f rdf:type ontology:Q12737077 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Marseille']
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Marseille . ?f rdf:type ontology:occupation }
[]
occupation
Q23638977
SYSTEM
Mayor of Marseille
Q23638977
(c(Q12737077),P1001,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P1001
type Q12737077
The [ANSWER] presides the jurisdiction over Marseille
[{'concept': 'Q12737077'}, 'P1001', 'Q23482']
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q23482 . ?f rdf:type ontology:Q12737077 }
Mayor of Marseille
The Mayor of Marseille presides the jurisdiction over Marseille
Mayor of Marseille
action filter_type
action find_reverse
entity Marseille
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Marseille']
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Marseille . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23482
P190
Q515
USER
Which cities are twin cities of that one ?
(Q23638977,P190,c(Q515))
action filter_type
action find
entity Q23482
relation P190
type Q515
['Q23638977', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q23482 property:P190 ?n . ?n rdf:type ontology:Q515 }
Marseille
action filter_type
action find
entity Marseille
relation sister city
type city
['Mayor of Marseille', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Marseille property:sister_city ?n . ?n rdf:type ontology:city }
[]
city
Q1953 Q19689 Q3572
SYSTEM
Yerevan, Tirana, Tunis
Q11462 Q19689 Q1953 Q3572
(Q23638977,P190,c(Q515))
action filter_type
action find
entity Q23482
relation P190
type Q515
[ANSWERS] are twin cities of that one
['Q23638977', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q23482 property:P190 ?n . ?n rdf:type ontology:Q515 }
Surabaya Tirana Yerevan Tunis
Yerevan, Tirana and Tunis are twin cities of that one
Yerevan Tirana Tunis
action filter_type
action find
entity Marseille
relation sister city
type city
['Mayor of Marseille', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Marseille property:sister_city ?n . ?n rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q13220204
USER
How many administrative country subdivisions are twin city of atleast 5 cities ?
(c(Q13220204),P190,c(Q515))
action count
action atleast
action find_tuple_counts
relation P190
type Q13220204
type Q515
value 5
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?e ) WHERE { ?m property:P190 ?p . ?m rdf:type ontology:Q13220204 . ?p rdf:type ontology:Q515 } GROUP BY ?m } . FILTER ( ?e >= 5 ) }
action count
action atleast
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
value 5
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?e ) WHERE { ?m property:sister_city ?p . ?m rdf:type ontology:second-level_administrative_country_subdivision . ?p rdf:type ontology:city } GROUP BY ?m } . FILTER ( ?e >= 5 ) }
[]
city second-level administrative country subdivision
SYSTEM
1
Q25444
(c(Q13220204),P190,c(Q515))
action count
action atleast
action find_tuple_counts
relation P190
type Q13220204
type Q515
value 5
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?e ) WHERE { ?m property:P190 ?p . ?m rdf:type ontology:Q13220204 . ?p rdf:type ontology:Q515 } GROUP BY ?m } . FILTER ( ?e >= 5 ) }
Funchal
1
action count
action atleast
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
value 5
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?e ) WHERE { ?m property:sister_city ?p . ?m rdf:type ontology:second-level_administrative_country_subdivision . ?p rdf:type ontology:city } GROUP BY ?m } . FILTER ( ?e >= 5 ) }
[]