Simple Question (Direct)
Simple Question
Q6161572
P19
Q1048835
USER
Which political territory is the birthplace of Victoriano Bilbao ?
(Q6161572,P19,c(Q1048835))
action filter_type
action find
entity Q6161572
relation P19
type Q1048835
['Q6161572', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q6161572 property:P19 ?o . ?o rdf:type ontology:Q1048835 }
Victoriano Bilbao
action filter_type
action find
entity Victoriano Bilbao
relation place of birth
type political territorial entity
['Victoriano Bilbao', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Victoriano_Bilbao property:place_of_birth ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q913272
SYSTEM
Erandio
Q913272
(Q6161572,P19,c(Q1048835))
action filter_type
action find
entity Q6161572
relation P19
type Q1048835
[ANSWER] is the birthplace of Victoriano Bilbao
['Q6161572', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q6161572 property:P19 ?o . ?o rdf:type ontology:Q1048835 }
Erandio
Erandio is the birthplace of Victoriano Bilbao
Erandio
action filter_type
action find
entity Victoriano Bilbao
relation place of birth
type political territorial entity
['Victoriano Bilbao', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Victoriano_Bilbao property:place_of_birth ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q913272
P6
Q502895
USER
Who is the head of the government of that political territory ?
(Q913272,P6,c(Q502895))
action filter_type
action find
entity Q913272
relation P6
type Q502895
['Q913272', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q913272 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Erandio
action filter_type
action find
entity Erandio
relation head of government
type common name
['Erandio', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Erandio property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
common name
Q14132244
SYSTEM
Joseba Goikouria Zarraga
Q14132244
(Q913272,P6,c(Q502895))
action filter_type
action find
entity Q913272
relation P6
type Q502895
The head of the government of that political territory is the [ANSWER]
['Q913272', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q913272 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Joseba Goikouria Zarraga
The head of the government of that political territory is the Joseba Goikouria Zarraga
Joseba Goikouria Zarraga
action filter_type
action find
entity Erandio
relation head of government
type common name
['Erandio', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Erandio property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q913272
P47
Q1048835 Q56061
USER
How many political territories or administrative territories are bordered by Erandio ?
(c(Q1048835),P47,Q913272) (c(Q56061),P47,Q913272)
action count
action union
action filter_type
action find_reverse
entity Q913272
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q913272
relation P47
type Q56061
[{'concept': 'Q1048835'}, 'P47', 'Q913272'] [{'concept': 'Q56061'}, 'P47', 'Q913272']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } }
Erandio
action count
action union
action filter_type
action find_reverse
entity Erandio
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Erandio
relation shares border with
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Erandio'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Erandio']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
political territorial entity administrative territorial entity
SYSTEM
9
Q1242343 Q8692 Q1246777 Q492420 Q487801 Q734099 Q1228023 Q909707 Q530302
(c(Q1048835),P47,Q913272) (c(Q56061),P47,Q913272)
action count
action union
action filter_type
action find_reverse
entity Q913272
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q913272
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q913272'] [{'concept': 'Q56061'}, 'P47', 'Q913272']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } }
Berango Bilbao Laukiz Getxo Barakaldo Urduliz Loiu Sestao Leioa
9
action count
action union
action filter_type
action find_reverse
entity Erandio
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Erandio
relation shares border with
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Erandio'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Erandio']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1375434 Q6161572
P27
Q15617994
USER
Which administrative territories are the native countriesof Victoriano Bilbao or Pertti Ukkola ?
OR((Q6161572,P27,c(Q15617994)), (Q1375434,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6161572
relation P27
action find
entity Q1375434
relation P27
type Q15617994
{'OR': [['Q6161572', 'P27', {'concept': 'Q15617994'}], ['Q1375434', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q6161572 property:P27 ?k } UNION { resource:Q1375434 property:P27 ?k } } }
Pertti Ukkola Victoriano Bilbao
action filter_type
action union
action find
entity Victoriano Bilbao
relation country of citizenship
action find
entity Pertti Ukkola
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Victoriano Bilbao', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pertti Ukkola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Victoriano_Bilbao property:country_of_citizenship ?k } UNION { resource:Pertti_Ukkola property:country_of_citizenship ?k } } }
[]
designation for an administrative territorial entity
Q33 Q29
SYSTEM
Finland, Spain
Q33 Q29
OR((Q6161572,P27,c(Q15617994)), (Q1375434,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6161572
relation P27
action find
entity Q1375434
relation P27
type Q15617994
[ANSWERS] are the native countriesof Victoriano Bilbao or Pertti Ukkola
{'OR': [['Q6161572', 'P27', {'concept': 'Q15617994'}], ['Q1375434', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q6161572 property:P27 ?k } UNION { resource:Q1375434 property:P27 ?k } } }
Finland Spain
Finland and Spain are the native countriesof Victoriano Bilbao or Pertti Ukkola
Finland Spain
action filter_type
action union
action find
entity Victoriano Bilbao
relation country of citizenship
action find
entity Pertti Ukkola
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Victoriano Bilbao', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pertti Ukkola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Victoriano_Bilbao property:country_of_citizenship ?k } UNION { resource:Pertti_Ukkola property:country_of_citizenship ?k } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q261120 Q29
P463
Q484652
USER
Which international organizations were Spain or Margrete Auken a member of ?
OR((Q29,P463,c(Q484652)), (Q261120,P463,c(Q484652)))
action filter_type
action union
action find
entity Q29
relation P463
action find
entity Q261120
relation P463
type Q484652
{'OR': [['Q29', 'P463', {'concept': 'Q484652'}], ['Q261120', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?t ) { ( resource:Q29 ) ( resource:Q261120 ) } . ?t property:P463 ?v } . ?v rdf:type ontology:Q484652 }
Margrete Auken Spain
action filter_type
action union
action find
entity Spain
relation member of
action find
entity Margrete Auken
relation member of
type international organization
{'OR': [['Spain', 'member of', {'concept': 'international organization'}], ['Margrete Auken', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?t ) { ( resource:Spain ) ( resource:Margrete_Auken ) } . ?t property:member_of ?v } . ?v rdf:type ontology:international_organization }
[]
international organization
Q190008 Q81299 Q1065 Q939743 Q188822 Q7184 Q42262 Q1043527
SYSTEM
Central American Bank for Economic Integration, Organization for Security and Co-operation in Europe, United Nations, Parliamentary Assembly of the Council of Europe, Asian Development Bank, North Atlantic Treaty Organisation, European Space Agency, Multilateral Investment Guarantee Agency
Q190008 Q81299 Q1065 Q939743 Q188822 Q7184 Q42262 Q1043527
OR((Q29,P463,c(Q484652)), (Q261120,P463,c(Q484652)))
action filter_type
action union
action find
entity Q29
relation P463
action find
entity Q261120
relation P463
type Q484652
The [ANSWERS] were Spain or Margrete Auken a member of
{'OR': [['Q29', 'P463', {'concept': 'Q484652'}], ['Q261120', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?t ) { ( resource:Q29 ) ( resource:Q261120 ) } . ?t property:P463 ?v } . ?v rdf:type ontology:Q484652 }
Central American Bank for Economic Integration Organization for Security and Co-operation in Europe United Nations Parliamentary Assembly of the Council of Europe Asian Development Bank North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
The Central American Bank for Economic Integration, Organization for Security and Co-operation in Europe, United Nations, Parliamentary Assembly of the Council of Europe, Asian Development Bank, North Atlantic Treaty Organisation, European Space Agency and Multilateral Investment Guarantee Agency were Spain or Margrete Auken a member of
Central American Bank for Economic Integration Organization for Security and Co-operation in Europe United Nations Parliamentary Assembly of the Council of Europe Asian Development Bank North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
action filter_type
action union
action find
entity Spain
relation member of
action find
entity Margrete Auken
relation member of
type international organization
{'OR': [['Spain', 'member of', {'concept': 'international organization'}], ['Margrete Auken', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?t ) { ( resource:Spain ) ( resource:Margrete_Auken ) } . ?t property:member_of ?v } . ?v rdf:type ontology:international_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7184
P163
Q17335294
USER
Which coat of arms is associated with that international organization ?
(Q7184,P163,c(Q17335294))
action filter_type
action find
entity Q7184
relation P163
type Q17335294
['Q7184', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { resource:Q7184 property:P163 ?r . ?r rdf:type ontology:Q17335294 }
North Atlantic Treaty Organisation
action filter_type
action find
entity North Atlantic Treaty Organisation
relation flag
type flag or coat of arms
['North Atlantic Treaty Organisation', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { resource:North_Atlantic_Treaty_Organisation property:flag ?r . ?r rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Clarification for simple ques.
Q939743
SYSTEM
Did you mean Parliamentary Assembly of the Council of Europe ?
Q190008 Q81299 Q1065 Q939743 Q188822 Q7184 Q42262 Q1043527
(Q190008,P163,c(Q17335294)) (Q81299,P163,c(Q17335294)) (Q1065,P163,c(Q17335294)) (Q939743,P163,c(Q17335294)) (Q188822,P163,c(Q17335294)) (Q7184,P163,c(Q17335294)) (Q42262,P163,c(Q17335294)) (Q1043527,P163,c(Q17335294))
[ANSWER]
['Q190008', 'P163', {'concept': 'Q17335294'}] ['Q81299', 'P163', {'concept': 'Q17335294'}] ['Q1065', 'P163', {'concept': 'Q17335294'}] ['Q939743', 'P163', {'concept': 'Q17335294'}] ['Q188822', 'P163', {'concept': 'Q17335294'}] ['Q7184', 'P163', {'concept': 'Q17335294'}] ['Q42262', 'P163', {'concept': 'Q17335294'}] ['Q1043527', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { resource:Q7184 property:P163 ?r . ?r rdf:type ontology:Q17335294 }
Central American Bank for Economic Integration Organization for Security and Co-operation in Europe United Nations Parliamentary Assembly of the Council of Europe Asian Development Bank North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
Did you mean Parliamentary Assembly of the Council of Europe ?
Parliamentary Assembly of the Council of Europe
['Central American Bank for Economic Integration', 'flag', {'concept': 'flag or coat of arms'}] ['Organization for Security and Co-operation in Europe', 'flag', {'concept': 'flag or coat of arms'}] ['United Nations', 'flag', {'concept': 'flag or coat of arms'}] ['Parliamentary Assembly of the Council of Europe', 'flag', {'concept': 'flag or coat of arms'}] ['Asian Development Bank', 'flag', {'concept': 'flag or coat of arms'}] ['North Atlantic Treaty Organisation', 'flag', {'concept': 'flag or coat of arms'}] ['European Space Agency', 'flag', {'concept': 'flag or coat of arms'}] ['Multilateral Investment Guarantee Agency', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { resource:North_Atlantic_Treaty_Organisation property:flag ?r . ?r rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
USER
No, I meant North Atlantic Treaty Organisation. Could you tell me the answer for that?
(Q7184,P163,c(Q17335294))
Q7184
['Q7184', 'P163', {'concept': 'Q17335294'}]
['North Atlantic Treaty Organisation', 'flag', {'concept': 'flag or coat of arms'}]
[]
Q459788
SYSTEM
Flag of NATO
Q459788
(Q7184,P163,c(Q17335294))
action filter_type
action find
entity Q7184
relation P163
type Q17335294
NATO [ANSWER] is associated with that international organization
['Q7184', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { resource:Q7184 property:P163 ?r . ?r rdf:type ontology:Q17335294 }
Flag of NATO
NATO Flag of NATO is associated with that international organization
Flag of NATO
action filter_type
action find
entity North Atlantic Treaty Organisation
relation flag
type flag or coat of arms
['North Atlantic Treaty Organisation', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { resource:North_Atlantic_Treaty_Organisation property:flag ?r . ?r rdf:type ontology:flag_or_coat_of_arms }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P237
Q17335294 Q56061
USER
Which administrative territories are min number of coats of arms the coat of arms for ?
(c(Q56061),P237,c(Q17335294))
action argmin
action find_tuple_counts
relation P237
type Q56061
type Q17335294
[{'concept': 'Q56061'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:Q17335294 . ?f rdf:type ontology:Q56061 . ?f property:P237 ?z } GROUP BY ?f } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?d ) WHERE { ?q property:P237 ?n . ?q rdf:type ontology:Q56061 . ?n rdf:type ontology:Q17335294 } GROUP BY ?q } . FILTER ( ?d = ?t ) }
action argmin
action find_tuple_counts
relation coat of arms
type administrative territorial entity
type flag or coat of arms
[{'concept': 'administrative territorial entity'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:flag_or_coat_of_arms . ?f rdf:type ontology:administrative_territorial_entity . ?f property:coat_of_arms ?z } GROUP BY ?f } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?d ) WHERE { ?q property:coat_of_arms ?n . ?q rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?q } . FILTER ( ?d = ?t ) }
[]
flag or coat of arms administrative territorial entity
Q2280 Q1741 Q140147
SYSTEM
Minsk, Vienna, Brest
Q938820 Q3576259 Q990130 Q81076 Q367780 Q2235 Q7436 Q8802 Q2779809 Q894 Q891 Q748533 Q12273 Q38511 Q2269794 Q6023 Q214021 Q208293 Q819387 Q2280 Q953070 Q958685 Q266841 Q939758 Q1605184 Q3159 Q159501 Q1735037 Q952374 Q1019515 Q954914 Q656988 Q8692 Q1572234 Q744679 Q491603 Q322126 Q15688 Q750424 Q15684 Q1889562 Q613701 Q241475 Q12013374 Q216790 Q16069768 Q1001927 Q48329 Q9816 Q8378 Q26430 Q99151 Q935847 Q37013 Q1010188 Q259636 Q3025870 Q849934 Q520162 Q3030263 Q642696 Q3183251 Q334 Q6016 Q2778652 Q6157 Q12411 Q162615 Q543800 Q9580 Q3323 Q954812 Q10509 Q912952 Q134686 Q744704 Q2684 Q103717 Q502425 Q105413 Q3290407 Q956621 Q903595 Q186237 Q14328 Q990548 Q9911 Q763111 Q207294 Q954178 Q1615373 Q5992 Q2861 Q261024 Q425799 Q15468 Q196374 Q207753 Q987981 Q210987 Q214777 Q316211 Q2621918 Q208287 Q207999 Q1840 Q278743 Q15092 Q807901 Q3630 Q372075 Q8851 Q2754237 Q102217 Q1017129 Q984858 Q40840 Q141697 Q237 Q162279 Q1025748 Q734175 Q738777 Q145638 Q1741 Q690882 Q172608 Q690 Q73570 Q8745 Q1527795 Q622592 Q579722 Q2298676 Q19566 Q985459 Q985458 Q258447 Q2478237 Q11953 Q2690283 Q1025883 Q797495 Q200797 Q953081 Q785888 Q33345 Q1890410 Q198349 Q54898 Q915420 Q111048 Q429864 Q695425 Q2003434 Q6009 Q172 Q16515 Q1957 Q2470394 Q487786 Q939771 Q15678 Q15679 Q140147 Q175433 Q2791095 Q1025665 Q301415 Q939701 Q9832 Q2427079 Q2678 Q2893667 Q28911 Q180233 Q10305 Q14318 Q956159 Q134620 Q15095 Q959 Q781249 Q204382 Q216900 Q748513 Q154835 Q1076109 Q955474 Q608752 Q984927 Q956207 Q9867 Q26 Q956471 Q651555 Q722836 Q6172 Q175470 Q37792 Q12225 Q3500101 Q340 Q587173 Q2477587 Q664599 Q1614337 Q157134 Q244747 Q43070 Q10400 Q1183 Q955126 Q9789 Q915 Q1002717 Q104557 Q1615412 Q2582814 Q761 Q144234 Q2706319 Q181376 Q4454 Q990569 Q1415346 Q954114 Q735583 Q879406 Q143052 Q11967 Q954343 Q103789 Q2592 Q7038 Q8717 Q735133 Q1942428 Q2596991 Q2212600 Q742854 Q207891 Q237655 Q683512 Q14657 Q103255 Q2405988 Q2604194 Q2433994 Q157260 Q2797402 Q157065 Q2925960 Q735563 Q659642 Q10313 Q193367 Q727 Q954519 Q683525 Q955153 Q3646 Q485329 Q955013 Q15695 Q15088 Q633371 Q1669868 Q586 Q2659505 Q8757 Q628623 Q192155 Q3057422 Q986578 Q5449 Q9805 Q165285 Q739491 Q597156 Q958847 Q3116892 Q2504814 Q103565 Q10041 Q986409 Q956460 Q211020 Q181854 Q247128 Q939727 Q14336 Q192870 Q744167 Q82030 Q1016922 Q244692 Q8826 Q431779 Q502249 Q3025598 Q124919 Q215080 Q954421 Q127623 Q486792 Q203619 Q829851 Q446232 Q971130 Q139794 Q503862 Q286964 Q2208222 Q530309 Q990573
(c(Q56061),P237,c(Q17335294))
action argmin
action find_tuple_counts
relation P237
type Q56061
type Q17335294
[ANSWERS] are min number of coats of arms the coat of arms for
[{'concept': 'Q56061'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:Q17335294 . ?f rdf:type ontology:Q56061 . ?f property:P237 ?z } GROUP BY ?f } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?d ) WHERE { ?q property:P237 ?n . ?q rdf:type ontology:Q56061 . ?n rdf:type ontology:Q17335294 } GROUP BY ?q } . FILTER ( ?d = ?t ) }
Virrat Zuid-Scharwoude Hook of Holland Zierikzee Hamina Veliky Novgorod Gatchina Getafe Kats Samara Nizhny Novgorod Iisalmi Gijón Turku Zwaag Lapua Tornio Järvenpää Haapavesi Minsk Parkano Masty Miory Kalajoki Hengelo, Gelderland Kursk Muravlenko Kaskinen Outokumpu Schaesberg Krychaw Nurmes Bilbao Halshany Cadier Kitee Valkeakoski Ávila Navapolatsk Segovia Usquert Pieksämäki Lida Sint-Michielsgestel Hanko Margraten Sastamala Mariehamn Best Palencia Tilburg Ourense Viitasaari Rauma Scheemda Suonenjoki Zuidbroek Heinola Zhabinka Spaubeek Jämsä Poortvliet Singapore Kurikka Ohé en Laak Seinäjoki Pontevedra Cartagena Ylöjärvi Burgos Belgorod Horki Elche Pudasjärvi Gubkinsky Kemijärvi Vladimir Rovaniemi Horn Georgiyevsk Maren Davyd-Haradok Volendam Joensuu Santa Cruz de Tenerife Juankoski Den Helder Sijbekarspel Babruysk Novolukoml Maasbracht Kauhajoki Rostock Astravyets 's-Heer Hendrikskinderen Badalona Sovetskaya Gavan Hyvinkää Wojcieszów Salo Lohja Haapajärvi Druya Kauniainen Kuusamo Veenendaal Navahrudak Castelló de la Plana Laitila Jakarta Raisio Málaga Oude Niedorp Vitebsk Paimio Saarijärvi Tampere Izobilny Vatican City Kuopio Kaavi Arechaŭsk Iwye Kashira Vienna Sint Philipsland Neftekumsk Delft Geleen Vigo Lakhva Raahe Ossendrecht Spanbroek Simferopol Oulainen Nivala Äänekoski Yanovichi Guadalajara Nibbixwoud Dzyatlava Baarland Polotsk Orivesi Moguer Yevpatoria Kessel, North Brabant Shumerlya San Cristóbal de La Laguna Loimaa Veliky Ustyug Riihimäki Martos Aarle-Rixtel Kauhava Toronto Dobříš Vologda Voranava Orihuela Kuhmo Cáceres Badajoz Brest Novocheboksarsk Noorddijk, Groningen Eibergen Marken Orimattila Eindhoven Oudkarspel Gomel Beek en Donk Lahti Pori Zaragoza Vitoria-Gasteiz Pruzhany Jyväskylä Albacete Vladivostok Närpes Kouvola Kerava Loviisa Mogilyov Svislach Dobrush Lieksa Kannus Ivanava Sint-Oedenrode Northern Ireland Drahichyn Dzisna Ashmyany Ähtäri Novy Urengoy Sint-Truiden Murcia Deltuva Montreal Ivatsevichy Liudvinavas Nykarleby Mierlo Makiivka Tudela Donetsk Almería Puerto Rico Cherykaw Nederweert Perm Schoorl Balashikha Heythuysen Ransdorp Białystok Kanash Kwadijk Grodno Khabarovsk Kankaanpää Lyachchyzy Hlybokaye Ylivieska Biaroza Ipatovo Huesca Talachyn Arzamas Kostroma Girona Seville Ikaalinen Warffum Lubcha Graft, Netherlands Keuruu Kokkola Baranovichi Savonlinna Vyborg Alatyr Roden, Drenthe Oterleek Putte, Pays-Bas Horlivka Waardenburg Kerch Noord-Scharwoude Kaarina Kristinestad Donostia/San Sebastián Porvoo Amsterdam Syanno Varkaus Klichaw Krasnodar Ferrol Kastsyukovichy Salamanca Tarragona Raseborg Kozelets Bonn Sharkaushchyna A Coruña Braslaw Kotka Erp, Netherlands Harjavalta Yoshkar-Ola Beesel Huittinen Vawkavysk Nurmijärvi Skidzyel’ Groet Oosthuizen Angarsk Soest Kokemäki Byelaazyorsk Imatra Lappeenranta Ulvila Somero Teruel Nokia Mstsislaw Villarrobledo Mänttä-Vilppula Zwijndrecht Palma Shchuchyn Villena Wedde Kiuruvesi Machala Chashniki Vantaa Aranjuez Kemi Joutseno Petten Nieuwe Niedorp Zelenokumsk Naantali Baran De Rijp Karkkila Pyhäjärvi
Minsk, Vienna and Brest are min number of coats of arms the coat of arms for
Minsk Vienna Brest
action argmin
action find_tuple_counts
relation coat of arms
type administrative territorial entity
type flag or coat of arms
[{'concept': 'administrative territorial entity'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:flag_or_coat_of_arms . ?f rdf:type ontology:administrative_territorial_entity . ?f property:coat_of_arms ?z } GROUP BY ?f } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?d ) WHERE { ?q property:coat_of_arms ?n . ?q rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?q } . FILTER ( ?d = ?t ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2280 Q1741 Q140147
P190
Q56061
USER
Which administrative territories are twin cities of those ones ?
(Q2280,P190,c(Q56061)) (Q1741,P190,c(Q56061)) (Q140147,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
['Q2280', 'P190', {'concept': 'Q56061'}] ['Q1741', 'P190', {'concept': 'Q56061'}] ['Q140147', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . ?m property:P190 ?a . VALUES ( ?m ) { ( resource:Q938820 ) ( resource:Q3576259 ) ( resource:Q990130 ) } }
Minsk Vienna Brest
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Minsk', 'sister city', {'concept': 'administrative territorial entity'}] ['Vienna', 'sister city', {'concept': 'administrative territorial entity'}] ['Brest', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?m property:sister_city ?a . VALUES ( ?m ) { ( resource:Virrat ) ( resource:Zuid-Scharwoude ) ( resource:Hook_of_Holland ) } }
[]
administrative territorial entity
Q649 Q649 Q1781
SYSTEM
Moscow for 1st, 2nd, Budapest for 3rd
Q132572 Q12439 Q9365 Q42800 Q9832 Q898 Q1563 Q580 Q2801 Q586 Q21197 Q1874 Q85 Q1763 Q216 Q41262 Q956 Q49256 Q3640 Q883 Q1781 Q3711 Q33935 Q4656 Q649 Q472 Q270 Q1780 Q437 Q70 Q406 Q2746 Q649 Q1011062 Q102445 Q3118 Q5815 Q165420 Q1829 Q7550 Q98967 Q230104 Q15760 Q1874 Q3927 Q156726 Q6487 Q6832 Q171639 Q41183 Q1895
(Q2280,P190,c(Q56061)) (Q1741,P190,c(Q56061)) (Q140147,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS]
['Q2280', 'P190', {'concept': 'Q56061'}] ['Q1741', 'P190', {'concept': 'Q56061'}] ['Q140147', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . ?m property:P190 ?a . VALUES ( ?m ) { ( resource:Q938820 ) ( resource:Q3576259 ) ( resource:Q990130 ) } }
Tiraspol Detroit Dushanbe Belo Horizonte Eindhoven Omsk Havana Łódź Bryansk Bonn Chișinău Odessa Cairo Murmansk Vilnius Nottingham Beijing Bakersfield Ankara Novosibirsk Budapest Belgrade Tel Aviv Pula Moscow Sofia Warsaw Bratislava Ljubljana Bern Istanbul Ryazan Moscow Maldon Kovrov Oryol Tyumen Pleven Kaliningrad Lutsk Nizhny Tagil Nakhchivan Novorossiysk Odessa Astrakhan Ivano-Frankivsk Antalya Ravensburg Ashdod Aleppo Petrozavodsk
Moscow, Moscow and Budapest are twin cities of those ones
Moscow Moscow Budapest
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Minsk', 'sister city', {'concept': 'administrative territorial entity'}] ['Vienna', 'sister city', {'concept': 'administrative territorial entity'}] ['Brest', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?m property:sister_city ?a . VALUES ( ?m ) { ( resource:Virrat ) ( resource:Zuid-Scharwoude ) ( resource:Hook_of_Holland ) } }
[]