Simple Question (Direct)
Simple Question
Q20973618
P20
Q56061
USER
Where did Hans Holtermann Abel die ?
(Q20973618,P20,c(Q56061))
action filter_type
action find
entity Q20973618
relation P20
type Q56061
['Q20973618', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q20973618 property:P20 ?m }
Hans Holtermann Abel
action filter_type
action find
entity Hans Holtermann Abel
relation place of death
type administrative territorial entity
['Hans Holtermann Abel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Hans_Holtermann_Abel property:place_of_death ?m }
[]
administrative territorial entity
Q21711493
SYSTEM
Christiania
Q21711493
(Q20973618,P20,c(Q56061))
action filter_type
action find
entity Q20973618
relation P20
type Q56061
Hans Holtermann abelled i [ANSWER]
['Q20973618', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q20973618 property:P20 ?m }
Christiania
Hans Holtermann abelled i Christiania
Christiania
action filter_type
action find
entity Hans Holtermann Abel
relation place of death
type administrative territorial entity
['Hans Holtermann Abel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Hans_Holtermann_Abel property:place_of_death ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20973618
P26
Q502895
USER
Which person is the life partner of Hans Holtermann Abel ?
(Q20973618,P26,c(Q502895))
action filter_type
action find
entity Q20973618
relation P26
type Q502895
['Q20973618', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q20973618 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Hans Holtermann Abel
action filter_type
action find
entity Hans Holtermann Abel
relation spouse
type common name
['Hans Holtermann Abel', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Hans_Holtermann_Abel property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q15916446
SYSTEM
Louise Abel
Q15916446
(Q20973618,P26,c(Q502895))
action filter_type
action find
entity Q20973618
relation P26
type Q502895
[ANSWER] is the life partner of Hans Holtermann Abel
['Q20973618', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q20973618 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Louise Abel
Louise Abel is the life partner of Hans Holtermann Abel
Louise Abel
action filter_type
action find
entity Hans Holtermann Abel
relation spouse
type common name
['Hans Holtermann Abel', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Hans_Holtermann_Abel property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18116508
Q502895
USER
And what about Jean-Joseph Lepaute?
(Q18116508,P26,c(Q502895))
action filter_type
action find
entity Q18116508
relation P26
type Q502895
['Q18116508', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q18116508 property:P26 ?w }
Jean-Joseph Lepaute
action filter_type
action find
entity Jean-Joseph Lepaute
relation spouse
type common name
['Jean-Joseph Lepaute', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Jean-Joseph_Lepaute property:spouse ?w }
[]
common name
Q18116515
SYSTEM
Anne-Marie-Sophie Picot
Q18116515
(Q18116508,P26,c(Q502895))
action filter_type
action find
entity Q18116508
relation P26
type Q502895
[ANSWER]
['Q18116508', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q18116508 property:P26 ?w }
Anne-Marie-Sophie Picot
Anne-Marie-Sophie Picot
action filter_type
action find
entity Jean-Joseph Lepaute
relation spouse
type common name
['Jean-Joseph Lepaute', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Jean-Joseph_Lepaute property:spouse ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21711493
P17
Q7275
USER
Which states are Christiania located in ?
(Q21711493,P17,c(Q7275))
action filter_type
action find
entity Q21711493
relation P17
type Q7275
['Q21711493', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q21711493 property:P17 ?k . ?k rdf:type ontology:Q7275 }
Christiania
action filter_type
action find
entity Christiania
relation country
type state
['Christiania', 'country', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Christiania property:country ?k . ?k rdf:type ontology:state }
[]
state
Q62623 Q62589 Q62651
SYSTEM
Kalmar Union, Union between Sweden and Norway, Denmark-Norway
Q2196956 Q62589 Q62623 Q62651
(Q21711493,P17,c(Q7275))
action filter_type
action find
entity Q21711493
relation P17
type Q7275
Christiania are located in [ANSWERS]
['Q21711493', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q21711493 property:P17 ?k . ?k rdf:type ontology:Q7275 }
Norwegian Empire Union between Sweden and Norway Kalmar Union Denmark-Norway
Christiania are located in Kalmar Union, Union between Sweden and Norway and Denmark-Norway
Kalmar Union Union between Sweden and Norway Denmark-Norway
action filter_type
action find
entity Christiania
relation country
type state
['Christiania', 'country', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Christiania property:country ?k . ?k rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2487652
Q7275
USER
And what about National People's Party?
(Q2487652,P17,c(Q7275))
action filter_type
action find
entity Q2487652
relation P17
type Q7275
['Q2487652', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7275 . resource:Q2487652 property:P17 ?w }
National People's Party
action filter_type
action find
entity National People's Party
relation country
type state
["National People's Party", 'country', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:state . resource:National_People's_Party property:country ?w }
[]
state
Q25279
SYSTEM
Curaçao
Q25279
(Q2487652,P17,c(Q7275))
action filter_type
action find
entity Q2487652
relation P17
type Q7275
[ANSWER]
['Q2487652', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7275 . resource:Q2487652 property:P17 ?w }
Curaçao
Curaçao
action filter_type
action find
entity National People's Party
relation country
type state
["National People's Party", 'country', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:state . resource:National_People's_Party property:country ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have place of birth as that state ?
(c(Q502895),P19,Q25279)
action count
action filter_type
action find_reverse
entity Q25279
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q25279']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P19 resource:Q25279 . ?f rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Curaçao
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Curaçao']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:place_of_birth resource:Curaçao . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
46
Q441860 Q2203822 Q15140296 Q2270824 Q2293165 Q19518303 Q7914735 Q2781375 Q6099310 Q522935 Q1876824 Q7169395 Q13745866 Q2686529 Q2517152 Q6948379 Q7383531 Q3735158 Q13738591 Q2478697 Q3260676 Q18643608 Q1653071 Q1307541 Q1857738 Q3426864 Q2303304 Q552349 Q20877004 Q4353593 Q2206091 Q22958811 Q16031703 Q2050831 Q20113662 Q21934659 Q2945732 Q7982476 Q2265391 Q931775 Q1382147 Q13137124 Q3357770 Q463428 Q1917231 Q2805147
(c(Q502895),P19,Q25279)
action count
action filter_type
action find_reverse
entity Q25279
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q25279']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P19 resource:Q25279 . ?f rdf:type ontology:Q502895 }
Daisy Dee Patrick van der Eem Lucille George-Wout Eugènie Herlaar Bill Canword Liandro Martis Vanessa van Arendonk Luis de Lannoy Ivonne Witteveen Dyanne Bito Walter Palm Pernell Saturnino Kris Berry Orin de Waard Delfincio Navarro Myrna Anselma Rutsel Martha Evalina Van Putten Joke Dierdorp Abe Knoop Louis-Julien Clarchies Marcel Gumbs Wim Statius Muller Reginald de Windt Myra Römer René Römer Raymond Heerenveen Jean-Julien Rojer Jamie Burrows Albert Cristina Philip Elhage Joceline Clemencia Jan Helenus Ferguson Pappa Bear Sanne Landvreugd José Jardim Frank Martinus Arion Wendell Roche Luis Brión Daniel De Leon Juancho Evertsz Milouska Meulens Otti Roethof Izaline Calister Marshall Godschalk Etienne Ys
46
action count
action filter_type
action find_reverse
entity Curaçao
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Curaçao']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:place_of_birth resource:Curaçao . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q7275 Q515
USER
Which cities are the county seat for min number of states ?
(c(Q515),P1376,c(Q7275))
action argmin
action find_tuple_counts
relation P1376
type Q515
type Q7275
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?z ) WHERE { ?l property:P1376 ?c . ?l rdf:type ontology:Q515 . ?c rdf:type ontology:Q7275 } GROUP BY ?l } } . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?j ) WHERE { ?x property:P1376 ?a . ?x rdf:type ontology:Q515 . ?a rdf:type ontology:Q7275 } GROUP BY ?x } . FILTER ( ?j = ?p ) }
action argmin
action find_tuple_counts
relation capital of
type city
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?z ) WHERE { ?l property:capital_of ?c . ?l rdf:type ontology:city . ?c rdf:type ontology:state } GROUP BY ?l } } . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?j ) WHERE { ?x property:capital_of ?a . ?x rdf:type ontology:city . ?a rdf:type ontology:state } GROUP BY ?x } . FILTER ( ?j = ?p ) }
[]
state city
Q1773 Q23482 Q456
SYSTEM
Riga, Marseille, Lyon
Q15826 Q373542 Q780731 Q39738 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q873377 Q853746 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q496667 Q240504 Q3806 Q281371 Q258884 Q592338 Q52607 Q766168 Q933645 Q214938 Q830394 Q205607 Q193050 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 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q11462 Q834567 Q851675 Q3214 Q842908 Q23482 Q505208 Q1000336 Q911530 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q793405 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q2966 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q270704 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q6602 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q305640 Q14819 Q5285 Q14182 Q740810 Q861221 Q911667 Q6807568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q124375 Q933641 Q854940 Q2180 Q714628 Q335427 Q177149 Q2337 Q633789 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 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1856 Q855016 Q3787 Q855011 Q4007 Q480421 Q14168 Q823907 Q7070 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q755681 Q214942 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q386682 Q63145 Q2119 Q390796 Q271917 Q5972 Q1720 Q1721 Q1645 Q7578 Q390798 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q2907 Q15847 Q843014 Q604516 Q3768 Q732300 Q789510 Q20073 Q1863 Q2209 Q2200 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q1355 Q146363 Q208818 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q6582 Q187821 Q502205 Q203344 Q71159 Q3355306 Q57944 Q189761 Q189769 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q184998 Q5217 Q854965 Q1020709 Q489147 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q7003 Q3931 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 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
(c(Q515),P1376,c(Q7275))
action argmin
action find_tuple_counts
relation P1376
type Q515
type Q7275
[ANSWERS] are the county seat for min number of states
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?z ) WHERE { ?l property:P1376 ?c . ?l rdf:type ontology:Q515 . ?c rdf:type ontology:Q7275 } GROUP BY ?l } } . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?j ) WHERE { ?x property:P1376 ?a . ?x rdf:type ontology:Q515 . ?a rdf:type ontology:Q7275 } GROUP BY ?x } . FILTER ( ?j = ?p ) }
Palu Szigetvár Szeghalom Laoag Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Dumaguete Bátonyterenye Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Makó Tübingen Jászberény Bélapátfalva Marawi 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 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 Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Surabaya Bonyhád Takahashi Cottbus Gyál Marseille Ouarzazate Tandil Hajdúhadház 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 Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Berettyóújfalu Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Heidelberg Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou 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 Třebíč Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Abashiri Freiberg Tarlac Banjarmasin Békés Nakatsu Elek Emmen Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Hódmezővásárhely Martonvásár Dabas Malolos Rumoi Kisarazu Obihiro Smolensk Dombóvár 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 Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Malaybalay Csurgó Abuja Heves Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Várpalota Kazincbarcika 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 Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Khost Imus Mannheim Orosháza Kushiro Medan Mainz Wiesbaden Cagayan de Oro Jambi Szentendre Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Sucre Manado Szarvas Szentgotthárd Yamoussoukro Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Roxas Tuguegarao České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Bangalore Most Fuchū Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Carcassonne Tatabánya Nemuro Baja Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Kaposvár Bacolod Lenti Catbalogan Schmalkalden Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Dijon Brandenburg an der Havel Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan 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
Riga, Marseille and Lyon are the county seat for min number of states
Riga Marseille Lyon
action argmin
action find_tuple_counts
relation capital of
type city
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?z ) WHERE { ?l property:capital_of ?c . ?l rdf:type ontology:city . ?c rdf:type ontology:state } GROUP BY ?l } } . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?j ) WHERE { ?x property:capital_of ?a . ?x rdf:type ontology:city . ?a rdf:type ontology:state } GROUP BY ?x } . FILTER ( ?j = ?p ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1773 Q23482 Q456
P740
Q2088357
USER
Which musical ensembles originated at those cities ?
(c(Q2088357),P740,Q1773) (c(Q2088357),P740,Q23482) (c(Q2088357),P740,Q456)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q1773'] [{'concept': 'Q2088357'}, 'P740', 'Q23482'] [{'concept': 'Q2088357'}, 'P740', 'Q456']
SELECT DISTINCT ?k WHERE { ?k property:P740 ?r . ?k rdf:type ontology:Q2088357 . VALUES ( ?r ) { ( resource:Q15826 ) ( resource:Q373542 ) ( resource:Q780731 ) } }
Riga Marseille Lyon
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Riga'] [{'concept': 'musical ensemble'}, 'location of formation', 'Marseille'] [{'concept': 'musical ensemble'}, 'location of formation', 'Lyon']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation ?r . ?k rdf:type ontology:musical_ensemble . VALUES ( ?r ) { ( resource:Palu ) ( resource:Szigetvár ) ( resource:Szeghalom ) } }
[]
musical ensemble
Q1653033 Q3462854 Q1386287
SYSTEM
IAM, Aline, F.L.Y.
Q1386287 Q428284 Q1157349 Q534943 Q15053237 Q4548310 Q1653033 Q2944107 Q3462854 Q3292961 Q3231475 Q3051234
(c(Q2088357),P740,Q1773) (c(Q2088357),P740,Q23482) (c(Q2088357),P740,Q456)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q2088357
[ANSWERS] originated at those cities
[{'concept': 'Q2088357'}, 'P740', 'Q1773'] [{'concept': 'Q2088357'}, 'P740', 'Q23482'] [{'concept': 'Q2088357'}, 'P740', 'Q456']
SELECT DISTINCT ?k WHERE { ?k property:P740 ?r . ?k rdf:type ontology:Q2088357 . VALUES ( ?r ) { ( resource:Q15826 ) ( resource:Q373542 ) ( resource:Q780731 ) } }
F.L.Y. Eths Dagoba Galleon Eradikal Insane 123 Marseille IAM Celluloide Aline Marie et les Garçons Les Chics Types Kells
IAM, Aline and F.L.Y. originated at those cities
IAM Aline F.L.Y.
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Riga'] [{'concept': 'musical ensemble'}, 'location of formation', 'Marseille'] [{'concept': 'musical ensemble'}, 'location of formation', 'Lyon']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation ?r . ?k rdf:type ontology:musical_ensemble . VALUES ( ?r ) { ( resource:Palu ) ( resource:Szigetvár ) ( resource:Szeghalom ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1773
P163
Q17335294
USER
What has that city as its flag
(Q1773,P163,c(Q17335294))
action filter_type
action find
entity Q1773
relation P163
type Q17335294
['Q1773', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q17335294 . resource:Q1773 property:P163 ?k }
Riga
action filter_type
action find
entity Riga
relation flag
type flag or coat of arms
['Riga', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:flag_or_coat_of_arms . resource:Riga property:flag ?k }
[]
flag or coat of arms
Clarification for simple ques.
Q1773
SYSTEM
Did you mean Riga ?
Q1653033 Q3462854 Q1386287
(Q1653033,P163,c(Q17335294)) (Q3462854,P163,c(Q17335294)) (Q1386287,P163,c(Q17335294))
[ANSWER]
['Q1653033', 'P163', {'concept': 'Q17335294'}] ['Q3462854', 'P163', {'concept': 'Q17335294'}] ['Q1386287', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q17335294 . resource:Q1773 property:P163 ?k }
IAM Aline F.L.Y.
Did you mean Riga ?
Riga
['IAM', 'flag', {'concept': 'flag or coat of arms'}] ['Aline', 'flag', {'concept': 'flag or coat of arms'}] ['F.L.Y.', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:flag_or_coat_of_arms . resource:Riga property:flag ?k }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1773,P163,c(Q17335294))
['Q1773', 'P163', {'concept': 'Q17335294'}]
['Riga', 'flag', {'concept': 'flag or coat of arms'}]
[]
Q4487638
SYSTEM
flag of Riga
Q4487638
(Q1773,P163,c(Q17335294))
action filter_type
action find
entity Q1773
relation P163
type Q17335294
The [ANSWER] has that city as its flag
['Q1773', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q17335294 . resource:Q1773 property:P163 ?k }
flag of Riga
The flag of Riga has that city as its flag
flag of Riga
action filter_type
action find
entity Riga
relation flag
type flag or coat of arms
['Riga', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:flag_or_coat_of_arms . resource:Riga property:flag ?k }
[]