Simple Question (Direct)
Simple Question
Q816578
P26
Q502895
USER
Which person is married to Ben Piazza ?
(Q816578,P26,c(Q502895))
action filter_type
action find
entity Q816578
relation P26
type Q502895
['Q816578', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q816578 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Ben Piazza
action filter_type
action find
entity Ben Piazza
relation spouse
type common name
['Ben Piazza', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ben_Piazza property:spouse ?g . ?g rdf:type ontology:common_name }
[]
common name
Q1236356
SYSTEM
Dolores Dorn
Q1236356
(Q816578,P26,c(Q502895))
action filter_type
action find
entity Q816578
relation P26
type Q502895
[ANSWER] is married to Ben Piazza
['Q816578', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q816578 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Dolores Dorn
Dolores Dorn is married to Ben Piazza
Dolores Dorn
action filter_type
action find
entity Ben Piazza
relation spouse
type common name
['Ben Piazza', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ben_Piazza property:spouse ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1236356
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q1236356,P106,c(Q12737077))
action filter_type
action find
entity Q1236356
relation P106
type Q12737077
['Q1236356', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1236356 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Dolores Dorn
action filter_type
action find
entity Dolores Dorn
relation occupation
type occupation
['Dolores Dorn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Dolores_Dorn property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q1236356,P106,c(Q12737077))
action filter_type
action find
entity Q1236356
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q1236356', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1236356 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
actor
The actor is the profession of that person
actor
action filter_type
action find
entity Dolores Dorn
relation occupation
type occupation
['Dolores Dorn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Dolores_Dorn property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q674043 Q1236356
P19
Q56061
USER
Which administrative territories were Dolores Dorn or Stephan Zünd born at ?
OR((Q1236356,P19,c(Q56061)), (Q674043,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1236356
relation P19
action find
entity Q674043
relation P19
type Q56061
{'OR': [['Q1236356', 'P19', {'concept': 'Q56061'}], ['Q674043', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . { { resource:Q1236356 property:P19 ?k } UNION { resource:Q674043 property:P19 ?k } } }
Stephan Zünd Dolores Dorn
action filter_type
action union
action find
entity Dolores Dorn
relation place of birth
action find
entity Stephan Zünd
relation place of birth
type administrative territorial entity
{'OR': [['Dolores Dorn', 'place of birth', {'concept': 'administrative territorial entity'}], ['Stephan Zünd', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . { { resource:Dolores_Dorn property:place_of_birth ?k } UNION { resource:Stephan_Zünd property:place_of_birth ?k } } }
[]
administrative territorial entity
Q1297 Q72
SYSTEM
Chicago, Zürich
Q1297 Q72
OR((Q1236356,P19,c(Q56061)), (Q674043,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1236356
relation P19
action find
entity Q674043
relation P19
type Q56061
Dolores Dorn or Stephan Zünd were born in [ANSWERS]
{'OR': [['Q1236356', 'P19', {'concept': 'Q56061'}], ['Q674043', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . { { resource:Q1236356 property:P19 ?k } UNION { resource:Q674043 property:P19 ?k } } }
Chicago Zürich
Dolores Dorn or Stephan Zünd were born in Chicago and Zürich
Chicago Zürich
action filter_type
action union
action find
entity Dolores Dorn
relation place of birth
action find
entity Stephan Zünd
relation place of birth
type administrative territorial entity
{'OR': [['Dolores Dorn', 'place of birth', {'concept': 'administrative territorial entity'}], ['Stephan Zünd', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . { { resource:Dolores_Dorn property:place_of_birth ?k } UNION { resource:Stephan_Zünd property:place_of_birth ?k } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1297 Q72
P190
Q13220204
USER
Which administrative country subdivisions are sister towns of those administrative territories ?
(Q1297,P190,c(Q13220204)) (Q72,P190,c(Q13220204))
action filter_type
action find
entity prev_answer
relation P190
type Q13220204
['Q1297', 'P190', {'concept': 'Q13220204'}] ['Q72', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q13220204 . ?h property:P190 ?u . VALUES ( ?h ) { ( resource:Q1297 ) ( resource:Q72 ) } }
Chicago Zürich
action filter_type
action find
entity prev_answer
relation sister city
type second-level administrative country subdivision
['Chicago', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Zürich', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:second-level_administrative_country_subdivision . ?h property:sister_city ?u . VALUES ( ?h ) { ( resource:Chicago ) ( resource:Zürich ) } }
[]
second-level administrative country subdivision
Q7903 Q2841 Q4191
SYSTEM
Casablanca, Bogotá, Lucerne
Q7903 Q4191 Q2841 Q157144
(Q1297,P190,c(Q13220204)) (Q72,P190,c(Q13220204))
action filter_type
action find
entity prev_answer
relation P190
type Q13220204
[ANSWERS] are sister towns of those administrative territories
['Q1297', 'P190', {'concept': 'Q13220204'}] ['Q72', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q13220204 . ?h property:P190 ?u . VALUES ( ?h ) { ( resource:Q1297 ) ( resource:Q72 ) } }
Casablanca Lucerne Bogotá Vinnytsia
Casablanca, Bogotá and Lucerne are sister towns of those administrative territories
Casablanca Bogotá Lucerne
action filter_type
action find
entity prev_answer
relation sister city
type second-level administrative country subdivision
['Chicago', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Zürich', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:second-level_administrative_country_subdivision . ?h property:sister_city ?u . VALUES ( ?h ) { ( resource:Chicago ) ( resource:Zürich ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7903 Q2841 Q4191
P127
Q483110
USER
Which stadia are owned by Casablanca, Bogotá and Lucerne ?
(c(Q483110),P127,Q7903) (c(Q483110),P127,Q2841) (c(Q483110),P127,Q4191)
action union
action filter_type
action find_reverse
entity Q7903
relation P127
type Q483110
action filter_type
action find_reverse
entity Q2841
relation P127
type Q483110
action filter_type
action find_reverse
entity Q4191
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q7903'] [{'concept': 'Q483110'}, 'P127', 'Q2841'] [{'concept': 'Q483110'}, 'P127', 'Q4191']
SELECT DISTINCT ?y WHERE { VALUES ( ?n ) { ( resource:Q7903 ) ( resource:Q2841 ) } . ?y property:P127 ?n }
Casablanca Bogotá Lucerne
action union
action filter_type
action find_reverse
entity Casablanca
relation owned by
type stadium
action filter_type
action find_reverse
entity Bogotá
relation owned by
type stadium
action filter_type
action find_reverse
entity Lucerne
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Casablanca'] [{'concept': 'stadium'}, 'owned by', 'Bogotá'] [{'concept': 'stadium'}, 'owned by', 'Lucerne']
SELECT DISTINCT ?y WHERE { VALUES ( ?n ) { ( resource:Casablanca ) ( resource:Bogotá ) } . ?y property:owned_by ?n }
[]
stadium
Q1783824 Q179027 Q678554
SYSTEM
Stade Mohamed V, Estadio El Campín, Stadion Allmend
Q1783824 Q179027 Q678554
(c(Q483110),P127,Q7903) (c(Q483110),P127,Q2841) (c(Q483110),P127,Q4191)
action union
action filter_type
action find_reverse
entity Q7903
relation P127
type Q483110
action filter_type
action find_reverse
entity Q2841
relation P127
type Q483110
action filter_type
action find_reverse
entity Q4191
relation P127
type Q483110
[ANSWERS] are owned by Casablanca, Bogotá and Lucerne
[{'concept': 'Q483110'}, 'P127', 'Q7903'] [{'concept': 'Q483110'}, 'P127', 'Q2841'] [{'concept': 'Q483110'}, 'P127', 'Q4191']
SELECT DISTINCT ?y WHERE { VALUES ( ?n ) { ( resource:Q7903 ) ( resource:Q2841 ) } . ?y property:P127 ?n }
Stade Mohamed V Estadio El Campín Stadion Allmend
Stade Mohamed V, Estadio El Campín and Stadion Allmend are owned by Casablanca, Bogotá and Lucerne
Stade Mohamed V Estadio El Campín Stadion Allmend
action union
action filter_type
action find_reverse
entity Casablanca
relation owned by
type stadium
action filter_type
action find_reverse
entity Bogotá
relation owned by
type stadium
action filter_type
action find_reverse
entity Lucerne
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Casablanca'] [{'concept': 'stadium'}, 'owned by', 'Bogotá'] [{'concept': 'stadium'}, 'owned by', 'Lucerne']
SELECT DISTINCT ?y WHERE { VALUES ( ?n ) { ( resource:Casablanca ) ( resource:Bogotá ) } . ?y property:owned_by ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4191
P138
Q17444909
USER
Which astronomical object type is named after Lucerne ?
(c(Q17444909),P138,Q4191)
action filter_type
action find_reverse
entity Q4191
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q4191']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q4191 . ?l rdf:type ontology:Q17444909 }
Lucerne
action filter_type
action find_reverse
entity Lucerne
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Lucerne']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Lucerne . ?l rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q146161
SYSTEM
1935 Lucerna
Q146161
(c(Q17444909),P138,Q4191)
action filter_type
action find_reverse
entity Q4191
relation P138
type Q17444909
[ANSWER] is named after Lucerne
[{'concept': 'Q17444909'}, 'P138', 'Q4191']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q4191 . ?l rdf:type ontology:Q17444909 }
1935 Lucerna
1935 Lucerna is named after Lucerne
1935 Lucerna
action filter_type
action find_reverse
entity Lucerne
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Lucerne']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Lucerne . ?l rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4191
P47
Q13220204
USER
Which administrative country subdivisions are bordered by that one ?
(Q146161,P47,c(Q13220204))
action filter_type
action find
entity Q4191
relation P47
type Q13220204
['Q146161', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?r WHERE { resource:Q4191 property:P47 ?r . ?r rdf:type ontology:Q13220204 }
Lucerne
action filter_type
action find
entity Lucerne
relation shares border with
type second-level administrative country subdivision
['1935 Lucerna', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?r WHERE { resource:Lucerne property:shares_border_with ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q14572 Q4225 Q14573
SYSTEM
Malters, Emmen, Meggen
Q4225 Q14563 Q14570 Q14571 Q14572 Q14566 Q7128 Q14573
(Q146161,P47,c(Q13220204))
action filter_type
action find
entity Q4191
relation P47
type Q13220204
[ANSWERS] are bordered by that one
['Q146161', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?r WHERE { resource:Q4191 property:P47 ?r . ?r rdf:type ontology:Q13220204 }
Emmen Adligenswil Horw Kriens Malters Ebikon Neuenkirch Meggen
Malters, Emmen and Meggen are bordered by that one
Malters Emmen Meggen
action filter_type
action find
entity Lucerne
relation shares border with
type second-level administrative country subdivision
['1935 Lucerna', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?r WHERE { resource:Lucerne property:shares_border_with ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q146317
P1376
Q13220204 Q515
USER
Which cities are the county seat of approximately the same number of administrative country subdivisions as Veszprém ?
(c(Q515),P1376,c(Q13220204))
action approx
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_type
action find
entity Q146317
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?y ) WHERE { ?i property:P1376 ?u . ?i rdf:type ontology:Q515 . ?u rdf:type ontology:Q13220204 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q146317 property:P1376 ?e . ?e rdf:type ontology:Q515 } } . FILTER ( ?y = ?c ) }
Veszprém
action approx
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_type
action find
entity Veszprém
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?y ) WHERE { ?i property:capital_of ?u . ?i rdf:type ontology:city . ?u rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Veszprém property:capital_of ?e . ?e rdf:type ontology:city } } . FILTER ( ?y = ?c ) }
[]
second-level administrative country subdivision city
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q15826 Q373542 Q780731 Q39738 Q3572 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q19689 Q873377 Q853746 Q8131 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q27860 Q240504 Q3806 Q281371 Q258884 Q3624 Q592338 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q3926 Q11462 Q834567 Q851675 Q3214 Q842908 Q1000336 Q911530 Q5838 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q1899 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q793405 Q665 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q1461 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q16959 Q1844 Q10389 Q650015 Q30340 Q23430 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q8684 Q270704 Q3838 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q14819 Q5285 Q14182 Q740810 Q1069007 Q861221 Q911667 Q7568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q19660 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q1953 Q124375 Q933641 Q854940 Q2180 Q335427 Q9005 Q2337 Q633789 Q1330294 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q2973 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1854 Q1856 Q855016 Q3787 Q855011 Q308657 Q4007 Q480421 Q14168 Q823907 Q7070 Q3826 Q642031 Q55598 Q498011 Q214948 Q214945 Q182852 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q2936 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q7929221 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q11194 Q386682 Q63145 Q2119 Q390796 Q5972 Q1720 Q1721 Q1645 Q7578 Q390798 Q11443 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q183584 Q2907 Q15847 Q843014 Q2844 Q11725 Q604516 Q73156 Q732300 Q789510 Q20073 Q1863 Q1865 Q2209 Q2200 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q72778 Q1355 Q146363 Q208818 Q187136 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q187821 Q203344 Q107401 Q71159 Q3355306 Q57944 Q189761 Q189769 Q1761 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q489147 Q755701 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q3931 Q726993 Q3919 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515),P1376,c(Q13220204))
action approx
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_type
action find
entity Q146317
relation P1376
type Q515
[ANSWERS] are the county seat of approximately the same number of administrative country subdivisions as Veszprém
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?y ) WHERE { ?i property:P1376 ?u . ?i rdf:type ontology:Q515 . ?u rdf:type ontology:Q13220204 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q146317 property:P1376 ?e . ?e rdf:type ontology:Q515 } } . FILTER ( ?y = ?c ) }
Palu Szigetvár Szeghalom Laoag Tunis Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Tirana Dumaguete Bátonyterenye Palembang Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Jayapura Makó Tübingen Jászberény Bélapátfalva Addis Ababa Marawi Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou 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 Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Pretoria Surabaya Bonyhád Takahashi Cottbus Gyál Tandil Hajdúhadház Kabul Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Kyiv Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Berettyóújfalu Lugdunum Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Manila Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Ulaanbaatar Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Seoul Třebíč Kinshasa Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Freiberg Tarlac Banjarmasin Békés Washukanni Nakatsu Elek Yogyakarta Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Bucharest Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Yerevan Hódmezővásárhely Martonvásár Dabas Malolos Kisarazu Brussels Smolensk Dombóvár Jiankang Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Darmstadt Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Ho Chi Minh City Malaybalay Csurgó Abuja Heves Minas Tirith Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Muscat Gárdony Palayan Sakura Cegléd Pápa Kunming Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Oldenburg Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Vijaya Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Sarajevo Khost Imus Mannheim Orosháza Medan Mainz Wiesbaden Cagayan de Oro Jambi Szentendre Kediri Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Lanzhou Sucre Manado Szarvas Brasília Chongqing Szentgotthárd Linfen Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Kuala Lumpur Roxas Tuguegarao Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Taiyuan Bangalore Most Fuchū Luoyang Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Tatabánya Baja Sivas Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Dublin Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Edoras Kaposvár Bacolod Lenti Catbalogan Schmalkalden Ráckeve Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Brandenburg an der Havel Cotabato City Gaborone Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Baghdad Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj 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 Würzburg Nanjing
Buenos Aires, Riga and Kyiv are the county seat of approximately the same number of administrative country subdivisions as Veszprém
Buenos Aires Riga Kyiv
action approx
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_type
action find
entity Veszprém
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?y ) WHERE { ?i property:capital_of ?u . ?i rdf:type ontology:city . ?u rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Veszprém property:capital_of ?e . ?e rdf:type ontology:city } } . FILTER ( ?y = ?c ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1486 Q1773 Q1899
P36
Q15617994
USER
Which administrative territories consists of those cities as their capital ?
(c(Q15617994),P36,Q1486) (c(Q15617994),P36,Q1773) (c(Q15617994),P36,Q1899)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q1486'] [{'concept': 'Q15617994'}, 'P36', 'Q1773'] [{'concept': 'Q15617994'}, 'P36', 'Q1899']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . ?v property:P36 ?w . VALUES ( ?w ) { ( resource:Q15826 ) ( resource:Q373542 ) ( resource:Q780731 ) } }
Buenos Aires Riga Kyiv
action filter_type
action find_reverse
entity prev_answer
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Buenos Aires'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Riga'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Kyiv']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:capital ?w . VALUES ( ?w ) { ( resource:Palu ) ( resource:Szigetvár ) ( resource:Szeghalom ) } }
[]
designation for an administrative territorial entity
Q414 Q211 Q212
SYSTEM
Argentina, Latvia, Ukraine
Q414 Q211 Q212
(c(Q15617994),P36,Q1486) (c(Q15617994),P36,Q1773) (c(Q15617994),P36,Q1899)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q15617994
[ANSWERS] consist of those cities as their capital
[{'concept': 'Q15617994'}, 'P36', 'Q1486'] [{'concept': 'Q15617994'}, 'P36', 'Q1773'] [{'concept': 'Q15617994'}, 'P36', 'Q1899']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . ?v property:P36 ?w . VALUES ( ?w ) { ( resource:Q15826 ) ( resource:Q373542 ) ( resource:Q780731 ) } }
Argentina Latvia Ukraine
Argentina, Latvia and Ukraine consist of those cities as their capital
Argentina Latvia Ukraine
action filter_type
action find_reverse
entity prev_answer
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Buenos Aires'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Riga'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Kyiv']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:capital ?w . VALUES ( ?w ) { ( resource:Palu ) ( resource:Szigetvár ) ( resource:Szeghalom ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q414 Q211 Q212
P17
Q34442
USER
Which roads are present in Argentina, Latvia and Ukraine ?
(c(Q34442),P17,Q414) (c(Q34442),P17,Q211) (c(Q34442),P17,Q212)
action union
action filter_type
action find_reverse
entity Q414
relation P17
type Q34442
action filter_type
action find_reverse
entity Q211
relation P17
type Q34442
action filter_type
action find_reverse
entity Q212
relation P17
type Q34442
[{'concept': 'Q34442'}, 'P17', 'Q414'] [{'concept': 'Q34442'}, 'P17', 'Q211'] [{'concept': 'Q34442'}, 'P17', 'Q212']
SELECT DISTINCT ?r WHERE { VALUES ( ?h ) { ( resource:Q414 ) ( resource:Q211 ) } . ?r property:P17 ?h }
Argentina Latvia Ukraine
action union
action filter_type
action find_reverse
entity Argentina
relation country
type road
action filter_type
action find_reverse
entity Latvia
relation country
type road
action filter_type
action find_reverse
entity Ukraine
relation country
type road
[{'concept': 'road'}, 'country', 'Argentina'] [{'concept': 'road'}, 'country', 'Latvia'] [{'concept': 'road'}, 'country', 'Ukraine']
SELECT DISTINCT ?r WHERE { VALUES ( ?h ) { ( resource:Argentina ) ( resource:Latvia ) } . ?r property:country ?h }
[]
road
Q19839521 Q19588457 Q13635658
SYSTEM
Katerynynska Street, Hretska Street, Pushkinska Street, Odessa
Q1027207 Q4828107 Q761673 Q5713779 Q1029566 Q5740739 Q5021843 Q790500 Q790488 Q1407379 Q777052 Q790479 Q790460 Q790466 Q790458 Q790451 Q790452 Q15197323 Q4472927 Q4471530 Q16709768 Q6350545 Q27493768 Q16709723 Q27825121 Q16272383 Q2687278 Q16709846 Q27495561 Q18857363 Q18857361 Q18857355 Q4472157 Q26828144 Q4471402 Q27862018 Q12743 Q17563041 Q17562744 Q27668680 Q27668688 Q16274131 Q17563000 Q6355695 Q27810242 Q27704199 Q16272422 Q16351513 Q27749076 Q16357347 Q27670199 Q3817740 Q21011152 Q21011150 Q13634529 Q16273342 Q17495063 Q17462383 Q17384368 Q16352179 Q16709691 Q12092622 Q16695220 Q3394397 Q22158317 Q12091689 Q22443157 Q12091695 Q22712568 Q16695210 Q2068472 Q18808198 Q7896838 Q6436261 Q20988085 Q12091859 Q16695597 Q12112391 Q12091823 Q16713237 Q1345145 Q12092643 Q12154420 Q12091818 Q7620855 Q24798577 Q12091627 Q22081055 Q12091413 Q12091639 Q19712815 Q12091473 Q3400240 Q12091251 Q3406831 Q12091799 Q12091790 Q12091783 Q12091292 Q12091494 Q4446038 Q1975755 Q23010078 Q16102159 Q1076911 Q12091301 Q12076347 Q12091513 Q12141020 Q12091709 Q20850445 Q12092060 Q12092019 Q4471472 Q12153960 Q12092453 Q12092313 Q12091061 Q4361165 Q12091079 Q4472614 Q22158847 Q4096336 Q24414 Q19847303 Q12092166 Q21665536 Q23069682 Q12092379 Q4473888 Q4471325 Q21711272 Q21096515 Q23835915 Q18509097 Q3024290 Q13635658 Q12092323 Q12092327 Q11919028 Q19839521 Q4480884 Q23070179 Q23005569 Q16695107 Q12092602 Q12076501 Q18575482 Q18575478 Q12091915 Q12076318 Q4272309 Q12092276 Q3087661 Q12091920 Q3400114 Q16719330 Q24817225 Q19588457 Q12091964 Q11235527 Q5923928 Q12092204 Q12092207 Q19816581
(c(Q34442),P17,Q414) (c(Q34442),P17,Q211) (c(Q34442),P17,Q212)
action union
action filter_type
action find_reverse
entity Q414
relation P17
type Q34442
action filter_type
action find_reverse
entity Q211
relation P17
type Q34442
action filter_type
action find_reverse
entity Q212
relation P17
type Q34442
[ANSWERS]
[{'concept': 'Q34442'}, 'P17', 'Q414'] [{'concept': 'Q34442'}, 'P17', 'Q211'] [{'concept': 'Q34442'}, 'P17', 'Q212']
SELECT DISTINCT ?r WHERE { VALUES ( ?h ) { ( resource:Q414 ) ( resource:Q211 ) } . ?r property:P17 ?h }
Florida Street Avenida Coronel Díaz Avenida Leandro N. Alem Avenida Juan de Garay Caminito Calle San Martín Calle Agüero Avenida del Libertador Avenida Rivadavia National Routes of Argentina 9 de Julio Avenue Avenida Roque Sáenz Peña Avenida Córdoba Avenida Figueroa Alcorta Avenida Callao Avenida Alvear Avenida Belgrano Elizabetes iela (Riga) Lomonosova iela (Riga) Brīvības iela Mārstaļu iela (Riga) Krišjāņa Valdemāra iela (Riga) Braslas street (Riga) Kalēju iela (Riga) Zileņu street (Riga) Antonijas iela (Riga) Albert Street Šķūņu iela (Riga) Purvciema street (Riga) Stabu iela Marijas iela (Riga) Raiņa bulvāris (Riga) Jēkaba iela (Riga) Narva street Bauskas iela (Riga) Pūces street (Riga) ford Mazā Trokšņu iela (Riga) Mūku iela (Riga) Vairoga street (Riga) Saktas street Skārņu iela (Riga) Rozena iela (Riga) Kalnciema iela (Riga) Viršu street (Riga) Mārcienas street Audēju iela (Riga) Rīgas iela (Rēzekne) Vēsmas street (Riga) Gustava Zemgala gatve Varžu street (Riga) 13. janvāra iela (Riga) Kastrānes street Stirnu street Vīlandes iela (Riga) Kungu iela (Riga) Arsenāla iela (Riga) Teātra iela (Riga) Riharda Vāgnera iela (Riga) Aurenieku iela (Riga) Vecpilsētas iela (Riga) Chkalova Street Bohdan Khmelnytsky Street Prorizna Street Velyka Arnautska Street Taras Bulba Street Prospekt Sobornyi, Bolhrad Mykoly Zaludiaka Street Krasnyi Provulok Betonna Street Bankova Street Khmelnytske Highway, Vinnytsya Universytetska street Krasnodonska Street Osipova Street Leonova Street Yarmakova Street Konoplianska Street Andriya Hurycheva Street Oleg Koshevoy Lane Lesya Ukrainka street Shevchenko Street Solomyanska street Kyoto Street (Kyiv) Strachenykh Street Koblevska Street Ihoria Serdiuka Street Alchevskykh Street Haharina Street Zaliznychna Street Rishelievska Street Heroiv Stalingrada Street Volodymyrska Street, Kiev Bohdan Khmelnytsky Street Velyka Vasylkivska Street Solomiya Krushelnytska Street Troitska Street Kotsiubynskoho Street Ivana Mazepy Street Hoholia Street Sumska Street Deribasivska Street Mechnykova Street, Odessa Mount Herzl Plaza Khreshchatyk Boyka Street T1012 road Horkoho Street 95th Block Kyivska Street Chornomorskogo Kozatstva Street Michurina Street Myru Street Bohdan Khmelnytsky Street Smolenska street Suvorova Street Maslova Street 1905 Year Street Peter's Alley Yelyzavety Chavdar Street Kostandi street Mala Arnautska Street Brest-Lytovske Highway Florence Street Skovoroda Street in Poltava Pavlova Street Kaczyńskogo Street Svishtovska Street Ivana Mykolaichuka Street, Kiev Saksahanskoho Street A. Kuindzhi street Bazarna Street Otamana Holovatoho Street Karantynna Street Ruska Street, Ternopil‎ descent Pushkinska Street, Odessa Yuri Kondratyuk Street Respublikanska Steet Mykhaila Omelianovycha-Pavlenka Street, Kiev Katerynynska Street Faleevska Street Ivana Mazepy Street Myasoyidivska Street Velyka Naberegna Street Arkhangelska Street in Kropyvnytskyi T2614 road Taras Shevchenko Street, Buchach‎ Stepan Bandera Street (Buchach) Makarenka Street T0739 road Lyuteranska Street Proletarska Street Sheptytsky Square Maxima Zaliznyak Street Hrushevskoho Street, Kiev Teatralnyi maidan Nizhynska Street, Odessa Hretska Street Yevhena Chykalenka Street Independence Street (Ivano-Frankivsk) Hrushevsky Street Peremohy Street Pershotravneva sreet Lanzheronivska Street
Katerynynska Street, Hretska Street and Pushkinska Street, Odessa are present in Argentina, Latvia and Ukraine
Katerynynska Street Hretska Street Pushkinska Street, Odessa
action union
action filter_type
action find_reverse
entity Argentina
relation country
type road
action filter_type
action find_reverse
entity Latvia
relation country
type road
action filter_type
action find_reverse
entity Ukraine
relation country
type road
[{'concept': 'road'}, 'country', 'Argentina'] [{'concept': 'road'}, 'country', 'Latvia'] [{'concept': 'road'}, 'country', 'Ukraine']
SELECT DISTINCT ?r WHERE { VALUES ( ?h ) { ( resource:Argentina ) ( resource:Latvia ) } . ?r property:country ?h }
[]