Simple Question (Direct)
Simple Question
Q6245317
P19
Q56061
USER
Where was John Loughlan born ?
(Q6245317,P19,c(Q56061))
action filter_type
action find
entity Q6245317
relation P19
type Q56061
['Q6245317', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6245317 property:P19 ?r . ?r rdf:type ontology:Q56061 }
John Loughlan
action filter_type
action find
entity John Loughlan
relation place of birth
type administrative territorial entity
['John Loughlan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:John_Loughlan property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1018723
SYSTEM
Coatbridge
Q1018723
(Q6245317,P19,c(Q56061))
action filter_type
action find
entity Q6245317
relation P19
type Q56061
John Loughlan was born in [ANSWER]
['Q6245317', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6245317 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Coatbridge
John Loughlan was born in Coatbridge
Coatbridge
action filter_type
action find
entity John Loughlan
relation place of birth
type administrative territorial entity
['John Loughlan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:John_Loughlan property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1018723
P740
Q43229
USER
Which organization originated at that administrative territory ?
(c(Q43229),P740,Q1018723)
action filter_type
action find_reverse
entity Q1018723
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q1018723']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q1018723 . ?w rdf:type ontology:Q43229 }
Coatbridge
action filter_type
action find_reverse
entity Coatbridge
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Coatbridge']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Coatbridge . ?w rdf:type ontology:organization }
[]
organization
Q5929155
SYSTEM
Hue and Cry
Q5929155
(c(Q43229),P740,Q1018723)
action filter_type
action find_reverse
entity Q1018723
relation P740
type Q43229
In [ANSWER] originated at that administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q1018723']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q1018723 . ?w rdf:type ontology:Q43229 }
Hue and Cry
In Hue and Cry originated at that administrative territory
Hue and Cry
action filter_type
action find_reverse
entity Coatbridge
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Coatbridge']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Coatbridge . ?w rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q10532988 Q1018723
P740
Q43229
USER
Or Industrial Technology Research Institute?
OR((c(Q43229),P740,Q1018723), (c(Q43229),P740,Q10532988))
action filter_type
action union
action find_reverse
entity Q1018723
relation P740
action find_reverse
entity Q10532988
relation P740
type Q43229
{'OR': [[{'concept': 'Q43229'}, 'P740', 'Q1018723'], [{'concept': 'Q43229'}, 'P740', 'Q10532988']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P740 resource:Q1018723 } UNION { ?m property:P740 resource:Q10532988 } } . ?m rdf:type ontology:Q43229 }
Industrial Technology Research Institute Coatbridge
action filter_type
action union
action find_reverse
entity Coatbridge
relation location of formation
action find_reverse
entity Industrial Technology Research Institute
relation location of formation
type organization
{'OR': [[{'concept': 'organization'}, 'location of formation', 'Coatbridge'], [{'concept': 'organization'}, 'location of formation', 'Industrial Technology Research Institute']]}
SELECT DISTINCT ?m WHERE { { { ?m property:location_of_formation resource:Coatbridge } UNION { ?m property:location_of_formation resource:Industrial_Technology_Research_Institute } } . ?m rdf:type ontology:organization }
[]
organization
Q713418 Q5929155
SYSTEM
TSMC, Hue and Cry
Q713418 Q5929155
OR((c(Q43229),P740,Q1018723), (c(Q43229),P740,Q10532988))
action filter_type
action union
action find_reverse
entity Q1018723
relation P740
action find_reverse
entity Q10532988
relation P740
type Q43229
[ANSWERS]
{'OR': [[{'concept': 'Q43229'}, 'P740', 'Q1018723'], [{'concept': 'Q43229'}, 'P740', 'Q10532988']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P740 resource:Q1018723 } UNION { ?m property:P740 resource:Q10532988 } } . ?m rdf:type ontology:Q43229 }
TSMC Hue and Cry
TSMC Hue and Cry
action filter_type
action union
action find_reverse
entity Coatbridge
relation location of formation
action find_reverse
entity Industrial Technology Research Institute
relation location of formation
type organization
{'OR': [[{'concept': 'organization'}, 'location of formation', 'Coatbridge'], [{'concept': 'organization'}, 'location of formation', 'Industrial Technology Research Institute']]}
SELECT DISTINCT ?m WHERE { { { ?m property:location_of_formation resource:Coatbridge } UNION { ?m property:location_of_formation resource:Industrial_Technology_Research_Institute } } . ?m rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P414
Q43229 Q43229 Q1269299
USER
Which organizations are atleast 77 organizations or business organizations traded at ?
(c(Q43229)|c(Q1269299),P414,c(Q43229))
action atleast
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
value 77
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?w WHERE { { ?z property:P414 ?w . ?w rdf:type ontology:Q43229 . ?z rdf:type ontology:Q1269299 } UNION { ?z property:P414 ?w . ?w rdf:type ontology:Q43229 . ?z rdf:type ontology:Q43229 } } GROUP BY ?w } . FILTER ( ?g >= 77 ) }
action atleast
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
value 77
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?w WHERE { { ?z property:stock_exchange ?w . ?w rdf:type ontology:organization . ?z rdf:type ontology:type_of_business_entity } UNION { ?z property:stock_exchange ?w . ?w rdf:type ontology:organization . ?z rdf:type ontology:organization } } GROUP BY ?w } . FILTER ( ?g >= 77 ) }
[]
organization organization type of business entity
Q909158 Q496672
SYSTEM
Oslo Stock Exchange, Hong Kong Stock Exchange
Q909158 Q496672
(c(Q43229)|c(Q1269299),P414,c(Q43229))
action atleast
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
value 77
[ANSWERS] are atleast 77 organizations or business organizations traded at
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?w WHERE { { ?z property:P414 ?w . ?w rdf:type ontology:Q43229 . ?z rdf:type ontology:Q1269299 } UNION { ?z property:P414 ?w . ?w rdf:type ontology:Q43229 . ?z rdf:type ontology:Q43229 } } GROUP BY ?w } . FILTER ( ?g >= 77 ) }
Oslo Stock Exchange Hong Kong Stock Exchange
Oslo Stock Exchange and Hong Kong Stock Exchange are atleast 77 organizations or business organizations traded at
Oslo Stock Exchange Hong Kong Stock Exchange
action atleast
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
value 77
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?w WHERE { { ?z property:stock_exchange ?w . ?w rdf:type ontology:organization . ?z rdf:type ontology:type_of_business_entity } UNION { ?z property:stock_exchange ?w . ?w rdf:type ontology:organization . ?z rdf:type ontology:organization } } GROUP BY ?w } . FILTER ( ?g >= 77 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q909158 Q333780
P355
Q1269299
USER
How many business organizations are Oslo Stock Exchange or Yakovlev the subsidiary of ?
(c(Q1269299),P355,Q909158) (c(Q1269299),P355,Q333780)
action count
action union
action filter_type
action find_reverse
entity Q909158
relation P355
type Q1269299
action filter_type
action find_reverse
entity Q333780
relation P355
type Q1269299
[{'concept': 'Q1269299'}, 'P355', 'Q909158'] [{'concept': 'Q1269299'}, 'P355', 'Q333780']
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P355 ?o . VALUES ( ?o ) { ( resource:Q909158 ) ( resource:Q333780 ) } }
Oslo Stock Exchange Yakovlev
action count
action union
action filter_type
action find_reverse
entity Oslo Stock Exchange
relation subsidiary
type type of business entity
action filter_type
action find_reverse
entity Yakovlev
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', 'Oslo Stock Exchange'] [{'concept': 'type of business entity'}, 'subsidiary', 'Yakovlev']
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:subsidiary ?o . VALUES ( ?o ) { ( resource:Oslo_Stock_Exchange ) ( resource:Yakovlev ) } }
[]
type of business entity
SYSTEM
2
Q7107013 Q1136226
(c(Q1269299),P355,Q909158) (c(Q1269299),P355,Q333780)
action count
action union
action filter_type
action find_reverse
entity Q909158
relation P355
type Q1269299
action filter_type
action find_reverse
entity Q333780
relation P355
type Q1269299
[ANSWER]
[{'concept': 'Q1269299'}, 'P355', 'Q909158'] [{'concept': 'Q1269299'}, 'P355', 'Q333780']
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P355 ?o . VALUES ( ?o ) { ( resource:Q909158 ) ( resource:Q333780 ) } }
Oslo Børs Holding United Aircraft Corporation
2
action count
action union
action filter_type
action find_reverse
entity Oslo Stock Exchange
relation subsidiary
type type of business entity
action filter_type
action find_reverse
entity Yakovlev
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', 'Oslo Stock Exchange'] [{'concept': 'type of business entity'}, 'subsidiary', 'Yakovlev']
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:subsidiary ?o . VALUES ( ?o ) { ( resource:Oslo_Stock_Exchange ) ( resource:Yakovlev ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q561227 Q496672
P19 P17
Q15617994
USER
Which administrative territories are Hong Kong Stock Exchange situated in or are the places of birth of Paolo Negro ?
OR((Q496672,P17,c(Q15617994)), (Q561227,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q496672
relation P17
action find
entity Q561227
relation P19
type Q15617994
{'OR': [['Q496672', 'P17', {'concept': 'Q15617994'}], ['Q561227', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q496672 property:P17 ?l } UNION { resource:Q561227 property:P19 ?l } } . ?l rdf:type ontology:Q15617994 }
Paolo Negro Hong Kong Stock Exchange
action filter_type
action union
action find
entity Hong Kong Stock Exchange
relation country
action find
entity Paolo Negro
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Hong Kong Stock Exchange', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Paolo Negro', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Hong_Kong_Stock_Exchange property:country ?l } UNION { resource:Paolo_Negro property:place_of_birth ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q47342
SYSTEM
People's Republic of China, Arzignano
Q148 Q47342
OR((Q496672,P17,c(Q15617994)), (Q561227,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q496672
relation P17
action find
entity Q561227
relation P19
type Q15617994
[ANSWERS] are Hong Kong Stock Exchange situated in or are the places of birth of Paolo Negro
{'OR': [['Q496672', 'P17', {'concept': 'Q15617994'}], ['Q561227', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q496672 property:P17 ?l } UNION { resource:Q561227 property:P19 ?l } } . ?l rdf:type ontology:Q15617994 }
People's Republic of China Arzignano
People's Republic of China and Arzignano are Hong Kong Stock Exchange situated in or are the places of birth of Paolo Negro
People's Republic of China Arzignano
action filter_type
action union
action find
entity Hong Kong Stock Exchange
relation country
action find
entity Paolo Negro
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Hong Kong Stock Exchange', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Paolo Negro', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Hong_Kong_Stock_Exchange property:country ?l } UNION { resource:Paolo_Negro property:place_of_birth ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q271669 Q34442 Q15617994
USER
Which administrative territories have min number of landforms or roads as their toponym ?
(c(Q15617994),P138,c(Q271669)|c(Q34442))
action argmin
action union
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action find_tuple_counts
relation P138
type Q15617994
type Q34442
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?w WHERE { VALUES ( ?s ) { ( ontology:Q271669 ) ( ontology:Q34442 ) } . ?o rdf:type ?s } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?h WHERE { { ?h property:P138 ?a . ?h rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q271669 } UNION { ?h property:P138 ?a . ?h rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q34442 } } GROUP BY ?h } . FILTER ( ?i = ?x ) }
action argmin
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'landform'}, {'concept': 'road'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?w WHERE { VALUES ( ?s ) { ( ontology:landform ) ( ontology:road ) } . ?o rdf:type ?s } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?h WHERE { { ?h property:named_after ?a . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:landform } UNION { ?h property:named_after ?a . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:road } } GROUP BY ?h } . FILTER ( ?i = ?x ) }
[]
landform road designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q1011 Q1013 Q480103 Q12549 Q3266 Q12626 Q8575586 Q12543 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q271669)|c(Q34442))
action argmin
action union
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action find_tuple_counts
relation P138
type Q15617994
type Q34442
[ANSWERS] have min number of landforms or roads as their toponym
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?w WHERE { VALUES ( ?s ) { ( ontology:Q271669 ) ( ontology:Q34442 ) } . ?o rdf:type ?s } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?h WHERE { { ?h property:P138 ?a . ?h rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q271669 } UNION { ?h property:P138 ?a . ?h rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q34442 } } GROUP BY ?h } . FILTER ( ?i = ?x ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Cape Verde Lesotho Amt Volmarstein Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
Brazil, United States of America and Georgia have min number of landforms or roads as their toponym
Brazil United States of America Georgia
action argmin
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'landform'}, {'concept': 'road'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?w WHERE { VALUES ( ?s ) { ( ontology:landform ) ( ontology:road ) } . ?o rdf:type ?s } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?h WHERE { { ?h property:named_after ?a . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:landform } UNION { ?h property:named_after ?a . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:road } } GROUP BY ?h } . FILTER ( ?i = ?x ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q30 Q230
P17
Q15617994
USER
Which administrative territories do those ones belong to ?
(Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994)) (Q230,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}] ['Q230', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . VALUES ( ?u ) { ( resource:Q701 ) ( resource:Q158876 ) ( resource:Q968630 ) } . ?u property:P17 ?a }
Brazil United States of America Georgia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?u ) { ( resource:North_Holland ) ( resource:Reinickendorf ) ( resource:Taro ) } . ?u property:country ?a }
[]
designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q155 Q30 Q230
(Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994)) (Q230,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones belong to [ANSWERS]
['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}] ['Q230', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . VALUES ( ?u ) { ( resource:Q701 ) ( resource:Q158876 ) ( resource:Q968630 ) } . ?u property:P17 ?a }
Brazil United States of America Georgia
Those ones belong to Brazil, United States of America and Georgia
Brazil United States of America Georgia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?u ) { ( resource:North_Holland ) ( resource:Reinickendorf ) ( resource:Taro ) } . ?u property:country ?a }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q30 Q230
P36
Q56061
USER
Which administrative territories are the capitals of Brazil, United States of America and Georgia ?
(Q155,P36,c(Q56061)) (Q30,P36,c(Q56061)) (Q230,P36,c(Q56061))
action union
action filter_type
action find
entity Q155
relation P36
type Q56061
action filter_type
action find
entity Q30
relation P36
type Q56061
action filter_type
action find
entity Q230
relation P36
type Q56061
['Q155', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q56061'}] ['Q230', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?y ) { ( resource:Q30 ) ( resource:Q155 ) } . ?y property:P36 ?b }
Brazil United States of America Georgia
action union
action filter_type
action find
entity Brazil
relation capital
type administrative territorial entity
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
action filter_type
action find
entity Georgia
relation capital
type administrative territorial entity
['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}] ['Georgia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?y ) { ( resource:United_States_of_America ) ( resource:Brazil ) } . ?y property:capital ?b }
[]
administrative territorial entity
Q8678 Q60 Q994
SYSTEM
Rio de Janeiro, New York City, Tbilisi
Q8678 Q60 Q61 Q994 Q172415
(Q155,P36,c(Q56061)) (Q30,P36,c(Q56061)) (Q230,P36,c(Q56061))
action union
action filter_type
action find
entity Q155
relation P36
type Q56061
action filter_type
action find
entity Q30
relation P36
type Q56061
action filter_type
action find
entity Q230
relation P36
type Q56061
[ANSWERS] are the capitals of Brazil, United States of America and Georgia
['Q155', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q56061'}] ['Q230', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?y ) { ( resource:Q30 ) ( resource:Q155 ) } . ?y property:P36 ?b }
Rio de Janeiro New York City Washington, D.C. Tbilisi Kutaisi
Rio de Janeiro, New York City and Tbilisi are the capitals of Brazil, United States of America and Georgia
Rio de Janeiro New York City Tbilisi
action union
action filter_type
action find
entity Brazil
relation capital
type administrative territorial entity
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
action filter_type
action find
entity Georgia
relation capital
type administrative territorial entity
['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}] ['Georgia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?y ) { ( resource:United_States_of_America ) ( resource:Brazil ) } . ?y property:capital ?b }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8678 Q60 Q994
P17
Q15617994
USER
Which administrative territories are those administrative territories located in ?
(Q8678,P17,c(Q15617994)) (Q60,P17,c(Q15617994)) (Q994,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q8678', 'P17', {'concept': 'Q15617994'}] ['Q60', 'P17', {'concept': 'Q15617994'}] ['Q994', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?a ) { ( resource:Q8678 ) ( resource:Q60 ) ( resource:Q61 ) } . ?a property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Rio de Janeiro New York City Tbilisi
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Rio de Janeiro', 'country', {'concept': 'designation for an administrative territorial entity'}] ['New York City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tbilisi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?a ) { ( resource:Rio_de_Janeiro ) ( resource:New_York_City ) ( resource:Washington,_D.C. ) } . ?a property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q155 Q30 Q230
(Q8678,P17,c(Q15617994)) (Q60,P17,c(Q15617994)) (Q994,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those administrative territories are located in [ANSWERS]
['Q8678', 'P17', {'concept': 'Q15617994'}] ['Q60', 'P17', {'concept': 'Q15617994'}] ['Q994', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?a ) { ( resource:Q8678 ) ( resource:Q60 ) ( resource:Q61 ) } . ?a property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Brazil United States of America Georgia
Those administrative territories are located in Brazil, United States of America and Georgia
Brazil United States of America Georgia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Rio de Janeiro', 'country', {'concept': 'designation for an administrative territorial entity'}] ['New York City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tbilisi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?a ) { ( resource:Rio_de_Janeiro ) ( resource:New_York_City ) ( resource:Washington,_D.C. ) } . ?a property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q30 Q230
P530
Q1048835
USER
Which political territories have diplomatic relations with those administrative territories ?
(c(Q1048835),P530,Q155) (c(Q1048835),P530,Q30) (c(Q1048835),P530,Q230)
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q155'] [{'concept': 'Q1048835'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q230']
SELECT DISTINCT ?f WHERE { ?l property:P530 ?f . ?f rdf:type ontology:Q1048835 . VALUES ( ?l ) { ( resource:Q155 ) ( resource:Q30 ) ( resource:Q230 ) } }
Brazil United States of America Georgia
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Georgia']
SELECT DISTINCT ?f WHERE { ?l property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity . VALUES ( ?l ) { ( resource:Brazil ) ( resource:United_States_of_America ) ( resource:Georgia ) } }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q766 Q408 Q35 Q183 Q16 Q408 Q183 Q16 Q183
(c(Q1048835),P530,Q155) (c(Q1048835),P530,Q30) (c(Q1048835),P530,Q230)
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] have diplomatic relations with those administrative territories
[{'concept': 'Q1048835'}, 'P530', 'Q155'] [{'concept': 'Q1048835'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q230']
SELECT DISTINCT ?f WHERE { ?l property:P530 ?f . ?f rdf:type ontology:Q1048835 . VALUES ( ?l ) { ( resource:Q155 ) ( resource:Q30 ) ( resource:Q230 ) } }
Jamaica Australia Denmark Germany Canada Australia Germany Canada Germany
Germany, Germany and Germany have diplomatic relations with those administrative territories
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Georgia']
SELECT DISTINCT ?f WHERE { ?l property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity . VALUES ( ?l ) { ( resource:Brazil ) ( resource:United_States_of_America ) ( resource:Georgia ) } }
[]