Simple Question (Direct)
Simple Question
Q776426
P17
Q15617994
USER
Which administrative territory is Bučovice situated in ?
(Q776426,P17,c(Q15617994))
action filter_type
action find
entity Q776426
relation P17
type Q15617994
['Q776426', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q776426 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Bučovice
action filter_type
action find
entity Bučovice
relation country
type designation for an administrative territorial entity
['Bučovice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Bučovice property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q776426,P17,c(Q15617994))
action filter_type
action find
entity Q776426
relation P17
type Q15617994
Bučovice is situated in [ANSWER]
['Q776426', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q776426 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Czech Republic
Bučovice is situated in Czech Republic
Czech Republic
action filter_type
action find
entity Bučovice
relation country
type designation for an administrative territorial entity
['Bučovice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Bučovice property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q776426
P47
Q515
USER
Which city shares border with that one ?
(c(Q515),P47,Q213)
action filter_type
action find
entity Q776426
relation P47
type Q515
[{'concept': 'Q515'}, 'P47', 'Q213']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q515 . resource:Q776426 property:P47 ?b }
Bučovice
action filter_type
action find
entity Bučovice
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:city . resource:Bučovice property:shares_border_with ?b }
[]
city
Q393439
SYSTEM
Ždánice
Q393439
(c(Q515),P47,Q213)
action filter_type
action find
entity Q776426
relation P47
type Q515
[ANSWER] shares border with that one
[{'concept': 'Q515'}, 'P47', 'Q213']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q515 . resource:Q776426 property:P47 ?b }
Ždánice
Ždánice shares border with that one
Ždánice
action filter_type
action find
entity Bučovice
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:city . resource:Bučovice property:shares_border_with ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q355304 Q15617994
USER
How many administrative territories are situated in the neighbourhood of exactly 12 waterways and watercourses ?
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 12
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?g ) WHERE { { ?b property:P206 ?x . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1267889 } UNION { ?b property:P206 ?x . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q355304 } } GROUP BY ?b } . FILTER ( ?g = 12 ) }
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?g ) WHERE { { ?b property:located_next_to_body_of_water ?x . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:waterway } UNION { ?b property:located_next_to_body_of_water ?x . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:watercourse } } GROUP BY ?b } . FILTER ( ?g = 12 ) }
[]
waterway watercourse designation for an administrative territorial entity
SYSTEM
1
Q36
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 12
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?g ) WHERE { { ?b property:P206 ?x . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1267889 } UNION { ?b property:P206 ?x . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q355304 } } GROUP BY ?b } . FILTER ( ?g = 12 ) }
Poland
1
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?g ) WHERE { { ?b property:located_next_to_body_of_water ?x . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:waterway } UNION { ?b property:located_next_to_body_of_water ?x . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:watercourse } } GROUP BY ?b } . FILTER ( ?g = 12 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q355304 Q337567 Q515
USER
Which cities are situated in the neighbourhood of max number of watercourses and still waterss ?
(c(Q515),P206,c(Q355304)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?z WHERE { { ?z property:P206 ?g . ?z rdf:type ontology:Q515 . ?g rdf:type ontology:Q355304 } UNION { ?z property:P206 ?g . ?z rdf:type ontology:Q515 . ?g rdf:type ontology:Q337567 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) ?r WHERE { { ?r property:P206 ?w . ?r rdf:type ontology:Q515 . ?w rdf:type ontology:Q337567 } UNION { ?r rdf:type ontology:Q515 . ?w rdf:type ontology:Q355304 . ?r property:P206 ?w } } GROUP BY ?r } . FILTER ( ?a = ?m ) }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?z WHERE { { ?z property:located_next_to_body_of_water ?g . ?z rdf:type ontology:city . ?g rdf:type ontology:watercourse } UNION { ?z property:located_next_to_body_of_water ?g . ?z rdf:type ontology:city . ?g rdf:type ontology:still_waters } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) ?r WHERE { { ?r property:located_next_to_body_of_water ?w . ?r rdf:type ontology:city . ?w rdf:type ontology:still_waters } UNION { ?r rdf:type ontology:city . ?w rdf:type ontology:watercourse . ?r property:located_next_to_body_of_water ?w } } GROUP BY ?r } . FILTER ( ?a = ?m ) }
[]
watercourse still waters city
Q1711
SYSTEM
Potsdam
Q1711
(c(Q515),P206,c(Q355304)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
[ANSWER] is situated in the neighbourhood of max number of watercourses and still waterss
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?z WHERE { { ?z property:P206 ?g . ?z rdf:type ontology:Q515 . ?g rdf:type ontology:Q355304 } UNION { ?z property:P206 ?g . ?z rdf:type ontology:Q515 . ?g rdf:type ontology:Q337567 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) ?r WHERE { { ?r property:P206 ?w . ?r rdf:type ontology:Q515 . ?w rdf:type ontology:Q337567 } UNION { ?r rdf:type ontology:Q515 . ?w rdf:type ontology:Q355304 . ?r property:P206 ?w } } GROUP BY ?r } . FILTER ( ?a = ?m ) }
Potsdam
Potsdam is situated in the neighbourhood of max number of watercourses and still waterss
Potsdam
action argmax
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?z WHERE { { ?z property:located_next_to_body_of_water ?g . ?z rdf:type ontology:city . ?g rdf:type ontology:watercourse } UNION { ?z property:located_next_to_body_of_water ?g . ?z rdf:type ontology:city . ?g rdf:type ontology:still_waters } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) ?r WHERE { { ?r property:located_next_to_body_of_water ?w . ?r rdf:type ontology:city . ?w rdf:type ontology:still_waters } UNION { ?r rdf:type ontology:city . ?w rdf:type ontology:watercourse . ?r property:located_next_to_body_of_water ?w } } GROUP BY ?r } . FILTER ( ?a = ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q15617994 Q515
USER
Which administrative territories have atmost 2 cities as their capital ?
(c(Q515),P1376,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 2
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?k <= 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P1376 ?p . ?p rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q515 } GROUP BY ?p } }
action atmost
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 2
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?k <= 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:capital_of ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:city } GROUP BY ?p } }
[]
designation for an administrative territorial entity city
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1098820 Q12631 Q419 Q414 Q3368 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2998020 Q3044731 Q252 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1254171 Q220249 Q979470 Q3259 Q1270648 Q2528268 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q12574 Q12798 Q1280 Q1282 Q12792 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q1050 Q311803 Q298 Q29937 Q115 Q114 Q117 Q30786 Q12569 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q541589 Q760 Q12804 Q12808 Q14762300 Q3326 Q696651 Q3286 Q3528124 Q2719360 Q948 Q1243 Q945 Q3266 Q3105 Q639100 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q833 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q1232680 Q889 Q12789 Q884 Q1452646 Q881 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q541095 Q3148 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q12589 Q12584 Q12580 Q1101 Q1206596 Q3131 Q12788 Q12784 Q3139 Q12782 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q12730 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1270568 Q1773268 Q12657 Q30835 Q12652 Q30831 Q12556 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q3044651 Q3044714 Q3044715 Q176 Q12816 Q30682 Q30683 Q1951 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3278 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q239502 Q712 Q711 Q710 Q717 Q3044777 Q2900529 Q12770 Q12772 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q1508927 Q1948 Q511365 Q654849 Q2038939 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q598193 Q227 Q225 Q30650 Q223 Q222 Q221 Q47261 Q1270623 Q311668 Q229 Q228 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q963 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q72670 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q3240 Q2662372 Q3249 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q12717 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q347 Q3462133 Q12679 Q30815 Q17 Q153402 Q3207 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q515),P1376,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 2
[ANSWERS] have atmost 2 cities as their capital
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?k <= 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P1376 ?p . ?p rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q515 } GROUP BY ?p } }
Yemen Panama Israel Costa Rica Gênes Meuse Peru Argentina Essonne Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Corse Guyane Indonesia Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Cantal Sieg Mont-Blanc Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Loiret Vendée Umbria Lazio Vaucluse Abruzzo Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Ems-Oriental Ourthe Calabria Basilicata Hautes-Pyrénées Pyrénées-Atlantiques Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Swaziland Umgungundlovu District Municipality Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Loire Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Aveyron Aube Niue Ems-Supérieur Saint Lucia Vienne Haute-Vienne single-tier municipality Corrèze Saxe-Eisenach Cher Tibre Duchy of Luxembourg Tunisia Veneto Togo Charente Vosges Principality of Reuss-Gera Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Malaysia Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Haiti Iraq Iran Ithaque Afghanistan Var South Korea Montenotte Vietnam Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Rhin-et-Moselle Ardèche Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Bouches-du-Weser Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Manche Maine-et-Loire Lozère North Brabant Deux-Nèthes Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Alpes-Maritimes Territoire de Belfort Duchy of Amalfi Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia Haute-Saône West Coast District Municipality Dakahlia Governorate Saône-et-Loire Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Red Sea Governorate Indre-et-Loire East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Louverture Ouest Ozama Quebec Yonne Matrouh Governorate Beni Suef Governorate Alberta Ugu District Municipality Xhariep District Municipality Nova Scotia Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Principality of Serbia Arno Charente-Maritime Cibao Ramensky District Kafr el-Sheikh Governorate Ariège Sud Kingdom of Galicia–Volhynia Fiji Mongolia Kiribati Venezuela Nord Bezirk Lothringen Somme Tarn Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Méditerranée Manitoba Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Apennins Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Albania Republic of Macedonia Duchy of Bavaria Meurthe UThungulu District Municipality Cyprus Andorra Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Bojanala Platinum District Municipality Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Batumi Oblast Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côte-d'Or Oman Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Calvados Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate Bas-Rhin Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Lot Luxor Governorate Ontario Lot-et-Garonne Liechtenstein Saxe-Coburg and Gotha Orne South Sinai Governorate Japan Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
Italy, Brazil and United States of America have atmost 2 cities as their capital
Italy Brazil United States of America
action atmost
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 2
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?k <= 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:capital_of ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:city } GROUP BY ?p } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q2342494
USER
Which administrative territories did more number of releases or collectables originate than that administrative territory ?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?w property:P495 ?y . VALUES ( ?w ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?w property:country_of_origin ?y . VALUES ( ?w ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
designation for an administrative territorial entity release collectable
Comparative|More/Less|Mult. entity type|Clarification
Q155
SYSTEM
Did you mean Brazil ?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?w property:P495 ?y . VALUES ( ?w ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Did you mean Brazil ?
Brazil
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?w property:country_of_origin ?y . VALUES ( ?w ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q30 Q142
SYSTEM
Italy, United States of America, France
Q668 Q142 Q145 Q30 Q34 Q38 Q17 Q29
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[ANSWERS] more number of releases or collectables originated than that administrative territory
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
India France United Kingdom United States of America Sweden Italy Japan Spain
Italy, United States of America and France more number of releases or collectables originated than that administrative territory
Italy United States of America France
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q30 Q142
P17
Q18608583
USER
Which recurring sporting events are present in Italy, United States of America and France ?
(c(Q18608583),P17,Q38) (c(Q18608583),P17,Q30) (c(Q18608583),P17,Q142)
action union
action filter_type
action find_reverse
entity Q38
relation P17
type Q18608583
action filter_type
action find_reverse
entity Q30
relation P17
type Q18608583
action filter_type
action find_reverse
entity Q142
relation P17
type Q18608583
[{'concept': 'Q18608583'}, 'P17', 'Q38'] [{'concept': 'Q18608583'}, 'P17', 'Q30'] [{'concept': 'Q18608583'}, 'P17', 'Q142']
SELECT DISTINCT ?f WHERE { { ?f property:P17 resource:Q30 . ?f rdf:type ontology:Q18608583 } UNION { ?f property:P17 resource:Q38 . ?f rdf:type ontology:Q18608583 } }
Italy United States of America France
action union
action filter_type
action find_reverse
entity Italy
relation country
type recurring sporting event
action filter_type
action find_reverse
entity United States of America
relation country
type recurring sporting event
action filter_type
action find_reverse
entity France
relation country
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'country', 'Italy'] [{'concept': 'recurring sporting event'}, 'country', 'United States of America'] [{'concept': 'recurring sporting event'}, 'country', 'France']
SELECT DISTINCT ?f WHERE { { ?f property:country resource:United_States_of_America . ?f rdf:type ontology:recurring_sporting_event } UNION { ?f property:country resource:Italy . ?f rdf:type ontology:recurring_sporting_event } }
[]
recurring sporting event
Q22041575 Q18710416 Q22029432
SYSTEM
2011   Copper Basin 300, 2015 Milan – San Remo, 2016 Copper Basin 300
Q19019097 Q19826134 Q18621134 Q13506436 Q27626300 Q27626208 Q27626205 Q27626207 Q27626206 Q27626212 Q27626213 Q19660821 Q27625904 Q1675075 Q27626397 Q18936371 Q27626302 Q27626496 Q1346530 Q1526677 Q18710416 Q319496 Q1675077 Q1675072 Q26995182 Q21704653 Q1669156 Q18817319 Q27626211 Q19401979 Q27625805 Q27626495 Q19366591 Q1675035 Q1675039 Q1675038 Q15304870 Q1675044 Q1675046 Q1675047 Q1675040 Q1675042 Q1675043 Q1675048 Q23662651 Q1675078 Q1271048 Q1675080 Q1562617 Q15708031 Q27626296 Q27626294 Q27626299 Q1737742 Q1867402 Q2336065 Q2990598 Q2383328 Q461834 Q18342431 Q1966070 Q2199000 Q2656750 Q280441 Q2566882 Q1955047 Q1499536 Q307375 Q13481854 Q13481855 Q13481857 Q13481852 Q13481853 Q1821757 Q2471842 Q1915988 Q2804343 Q2486784 Q1082774 Q1050829 Q307358 Q2930507 Q10978710 Q1447232 Q299516 Q2023675 Q3173371 Q2527785 Q1246036 Q1911998 Q2604476 Q22093610 Q307392 Q741629 Q2137085 Q18889766 Q203273 Q2471709 Q16735772 Q2123141 Q2321369 Q2604624 Q1905862 Q2529273 Q2524000 Q1563427 Q16241854 Q2189634 Q21634293 Q2735855 Q11103189 Q1386652 Q2150816 Q2392930 Q307404 Q2251100 Q307321 Q1956828 Q2213250 Q1903466 Q2201484 Q1282642 Q16834957 Q17299291 Q15112537 Q1673585 Q1256168 Q2471846 Q2034591 Q2744944 Q2467910 Q2802149 Q1285714 Q2471830 Q2471833 Q1981135 Q1664243 Q13476201 Q15245133 Q15966430 Q2471826 Q2471825 Q1645827 Q2471818 Q2467864 Q2467866 Q44443 Q22041575 Q1279040 Q173033 Q173030 Q2467846 Q173546 Q15966431 Q1748110 Q2467853 Q2467859 Q173050 Q173052 Q1639283 Q2467827 Q16156387 Q1886897 Q2180567 Q2471804 Q22695817 Q2467836 Q2467835 Q2230891 Q2046384 Q2467871 Q2467874 Q2718381 Q1089488 Q1849722 Q1308905 Q1859857 Q2132917 Q2490159 Q2467931 Q2467939 Q173534 Q2125957 Q2130569 Q2137762 Q19355368 Q1926587 Q1816098 Q2467843 Q173726 Q1926597 Q1926595 Q1926593 Q1926598 Q2467992 Q2467886 Q2467884 Q2739321 Q1631677 Q173027 Q2467989 Q2467980 Q2467986 Q2467984 Q1050469 Q2467897 Q2467890 Q2467899 Q2471776 Q299706 Q1947450 Q267139 Q2369568 Q3133566 Q1906045 Q2718068 Q2022361 Q2467880 Q2471722 Q2111258 Q2467851 Q2546300 Q2471730 Q2147900 Q2337911 Q1677640 Q2099238 Q1859981 Q2471701 Q2471706 Q2471704 Q1949943 Q2488853 Q2152671 Q2471719 Q2471715 Q2471713 Q307340 Q2394457 Q2471698 Q2471692 Q2184159 Q2166431 Q3513667 Q2467905 Q19358283 Q19428421 Q2317580 Q2467935 Q2467933 Q1945701 Q2471779 Q19521252 Q11775487 Q2467922 Q2467925 Q2467924 Q2467958 Q2467954 Q2467957 Q2467952 Q1661259 Q2467944 Q13442675 Q13442674 Q13442676 Q13442671 Q13442679 Q13442678 Q1668519 Q2467947 Q2467973 Q2467976 Q2467975 Q2471697 Q2471781 Q2471784 Q13442677 Q1110770 Q2193707 Q1235982 Q2372439 Q2471689 Q2471687 Q2471684 Q2471795 Q2471797 Q2471792 Q1775055 Q974505 Q18889451 Q2125445 Q1835111 Q15966428 Q1297461 Q431360 Q15966433 Q15966434 Q15966436 Q1839332 Q2793019 Q2387355 Q2296219 Q299622 Q22029432 Q15966424 Q2410906 Q1614085 Q1588880 Q2349355 Q1287685 Q2653834 Q1167365 Q1926607 Q1926605 Q1926603 Q1926600 Q2467966 Q2467962 Q2467969 Q1722549 Q478420 Q21008429 Q21008428 Q2696288 Q2696287 Q2696281 Q898077 Q1318218 Q849864 Q21008432 Q21008433 Q21008431 Q21008436 Q2696290 Q2696292 Q2696294 Q2696296 Q2696298 Q903211 Q635703 Q581491 Q17280493 Q655118 Q2696278 Q846722 Q21008427 Q21008426 Q639587 Q733200 Q3153409 Q731881 Q2138403 Q1859404 Q389982 Q855475 Q15987187 Q833247 Q853300 Q21008455 Q916617 Q2738830 Q1048825 Q833232 Q217263 Q523011 Q16064718 Q476459 Q842401 Q849885 Q849882 Q924070 Q832157 Q924083 Q21074298 Q21008434 Q19598853 Q18411787 Q849867 Q924092 Q855439 Q2696277 Q19951763 Q379467 Q849871 Q840727 Q827953 Q19749284 Q248438 Q608144 Q614452 Q1318159 Q299561 Q546356 Q261798 Q20978947 Q843749 Q687902 Q924121 Q744066 Q2696385 Q2696383 Q2696381 Q2696380 Q277655 Q915911 Q915918 Q580122 Q910171 Q19366592 Q842396 Q915903 Q826215 Q45664 Q2365228 Q1450507 Q1450504 Q2696351 Q2696353 Q2696355 Q2696358 Q2696342 Q2696346 Q2696345 Q2696344 Q2696348 Q911810 Q785601 Q776876 Q2696374 Q2696375 Q2696373 Q2696370 Q2696371 Q832497 Q591206 Q766874 Q752416 Q13506390 Q2696369 Q2696361 Q2696363 Q2696365 Q2696364 Q2696367 Q924193 Q221428 Q2696318 Q2696314 Q2696316 Q2696317 Q2696310 Q2696313 Q241162 Q249097 Q2696309 Q2696306 Q2696304 Q2696303 Q2696302 Q2696301 Q278715 Q21008435 Q660527 Q846695 Q746701 Q729763 Q2696333 Q2696337 Q2696334 Q2696335 Q2696339 Q586915 Q754491 Q220683 Q381118 Q15700964 Q2696325 Q2696326 Q2696320 Q2696323 Q2696322 Q2696328 Q1964307 Q608649 Q249109 Q452842 Q842186 Q260299 Q922533 Q1042006 Q517546 Q1137344 Q3775241 Q2696360 Q762876 Q15708419 Q754426 Q531422 Q224723 Q836884 Q513819 Q924214 Q506911 Q546013 Q260615 Q8161717 Q1140576 Q843953 Q847630 Q907308 Q174590 Q907316 Q847615 Q368629 Q21008430 Q580682 Q523804 Q734077 Q681694 Q643108 Q219413 Q219414 Q378886 Q1318059 Q374222 Q221530 Q249157 Q754990 Q754994 Q612937 Q910610 Q19818801 Q1230166 Q20738950 Q367546 Q654890 Q924987 Q17725532 Q1140584 Q1140580 Q15846480 Q907282 Q730402 Q1629020 Q907272 Q2516020 Q20647465 Q249102 Q925004 Q1866267 Q16910285 Q22690923 Q20199280 Q329877 Q329871 Q749914 Q2223070 Q847775 Q244427 Q207743 Q279235 Q916886 Q384895 Q669669 Q2696331 Q827936 Q971169 Q1065480 Q577246 Q1318496 Q27031015 Q667432 Q579685 Q730396 Q835582 Q4255509 Q737905 Q634350 Q2014330 Q591438 Q966832 Q10575793 Q653712 Q18926867 Q895853 Q738118 Q757405 Q644632 Q217287 Q202226 Q909545 Q924161 Q899379 Q830097 Q736720 Q18937567 Q682253 Q303422
(c(Q18608583),P17,Q38) (c(Q18608583),P17,Q30) (c(Q18608583),P17,Q142)
action union
action filter_type
action find_reverse
entity Q38
relation P17
type Q18608583
action filter_type
action find_reverse
entity Q30
relation P17
type Q18608583
action filter_type
action find_reverse
entity Q142
relation P17
type Q18608583
[ANSWERS]
[{'concept': 'Q18608583'}, 'P17', 'Q38'] [{'concept': 'Q18608583'}, 'P17', 'Q30'] [{'concept': 'Q18608583'}, 'P17', 'Q142']
SELECT DISTINCT ?f WHERE { { ?f property:P17 resource:Q30 . ?f rdf:type ontology:Q18608583 } UNION { ?f property:P17 resource:Q38 . ?f rdf:type ontology:Q18608583 } }
2015 Gran Premio della Costa Etruschi 2015 Giro del Trentino 2014 Italian International Badminton Championships 2013 Italian Badminton Championships 1984 Italian Badminton Championships 1992 Italian Badminton Championships 1989 Italian Badminton Championships 1991 Italian Badminton Championships 1990 ItaIian Badminton Championships 1994 Italian Badminton Championships 1995 Italian Badminton Championships 2015 Settimana Internazionale di Coppi e Bartali 1978 Italian Badminton Championships 2007 Italian Badminton Championships 1987 Italian Badminton Championships 2015 Italian Badminton Championships 1985 Italian Badminton Championships 1980 ItaIian Badminton Championships 2011 Italian Badminton Championships 2011 Italian International Badminton Championships 2015 Milan – San Remo Italian Open 2008 Italian Badminton Championships 2006 Italian Badminton Championships 2016 Italian Badminton Championships 2015 Italian International Badminton Championships 2010 Italian International Badminton Championships 1977 Italian Badminton Championships 1993 Italian Badminton Championships 2015 Strade Bianche 1986 Italian Badminton Championships 1979 Italian Badminton Championships 2015 Trofeo Laigueglia 1994 Italian International Badminton Championships 1999 Italian International Badminton Championships 1995 Italian International Badminton Championships 2013 Italian International Badminton Championships 2004 Italian International Badminton Championships 2005 Italian International Badminton Championships 2006 Italian International Badminton Championships 2001 Italian International Badminton Championships 2002 Italian International Badminton Championships 2003 Italian International Badminton Championships 2008 Italian International Badminton Championships 2016 Giro d'Italia Femminile 2009 Italian Badminton Championships 2007 Italian International Badminton Championships 2012 Italian Badminton Championships 2010 Italian Badminton Championships 2014 Italian Badminton Championships 1982 Italian Badminton Championships 1981 Italian Badminton Championships 1983 Italian Badminton Championships 1971 US Open Badminton Championships 1934 Boston Marathon 1954 Boston Marathon 1983 Boston Marathon 1941 Boston Marathon Cincinnati Masters 2014 USA International Badminton Championships 1935 Boston Marathon 1982 Boston Marathon 1998 Boston Marathon 1976 Indianapolis 500 1942 Boston Marathon 1951 Boston Marathon 1961 US Open Badminton Championships 1958 Indianapolis 500 1983 US Open Badminton Championships 1985 US Open Badminton Championships 1987 US Open Badminton Championships 1972 US Open Badminton Championships 1976 US Open Badminton Championships 1903 Boston Marathon 2009 US Open Badminton Championships 1937 Boston Marathon 2007 US Open Badminton Championships 1939 Boston Marathon 2009 Indianapolis 500 1995 Indianapolis 500 1957 Indianapolis 500 1990 Boston Marathon 2013 Tour of California 2010 US Badminton Championships Tennis Channel Open 1940 Boston Marathon 1994 World Rowing Championships 1965 Boston Marathon 1988 US Open Badminton Championships 1949 Boston Marathon 1905 Boston Marathon 2016 Kuskokwim 300 1959 Indianapolis 500 Badminton at the 1996 Summer Olympics 1981 Boston Marathon 2015 Kuskokwim 300 Connecticut Open 1965 US Open Badminton Championships 2014 US Badminton Championships 1948 Boston Marathon 1958 Boston Marathon 1910 Boston Marathon 1907 Boston marathon 2002 Boston Marathon 1927 Boston Marathon 2003 Miami PanAm International Badminton Championships 2014 Boston Marathon 1961 Boston Marathon 2015 USA International Badminton Championships 2004 Boston Marathon 2013 Boston Marathon 1973 US Open Badminton Championships 1963 Boston Marathon 1964 Boston Marathon 1960 Indianapolis 500 1996 Boston Marathon 1955 Indianapolis 500 1991 Boston Marathon 1950 Boston Marathon 1974 Boston Marathon 1953 Boston Marathon 2002 Miami PanAm International Badminton Championships 2014 Tour of California 2014 US Open Badminton Championships 2013 US Badminton Championships 1948 US Badminton Championships 2000 US Open Badminton Championships 2011 US Open Badminton Championships 1971 Boston Marathon 1995 Boston Marathon 1980 US Badminton Championships 1936 Boston Marathon 1993 US Open Badminton Championships 2005 US Open Badminton Championships 2006 US Open Badminton Championships 1955 Boston Marathon 1950 US Badminton Championships 2013 US Open Badminton Championships 2013 USA International Badminton Championships 2009 Dave Freeman Open Badminton Championships 2004 US Open Badminton Championships 2003 US Open Badminton Championships 2009 Miami PanAm International Badminton Championships 2002 US Open Badminton Championships 1951 US Badminton Championships 1952 US Badminton Championships 2012 US Open Badminton Championships 2011   Copper Basin 300 2008 US Open Badminton Championships 1950 Indianapolis 500 1951 Indianapolis 500 1941 US Badminton Championships 2008 Indianapolis 500 2013 Dave Freeman Open Badminton Championships 2009 US Badminton Championships 1943 US Badminton Championships 1949 US Badminton Championships 1953 Indianapolis 500 1954 Indianapolis 500 1999 Miami PanAm International Badminton Championships 1937 US Badminton Championships 2014 Motorcycle Grand Prix of the Americas Boston Marathon 1924 1966 Boston Marathon 1999 US Open Badminton Championships 2016 USA International Badminton Championships 1939 US Badminton Championships 1938 US Badminton Championships 1898 Boston Marathon 1897 Boston Marathon 1953 US Badminton Championships 1970 US Badminton Championships 1976 Boston Marathon 2011 Indianapolis 500 1989 Boston Marathon 2001 US Open Badminton Championships 1908 Boston Marathon 2005 Boston Marathon 1968 Boston Marathon 1986 US Badminton Championships 1988 US Badminton Championships 2012 Indianapolis 500 1967 Boston Marathon 1906 Boston Marathon 1960 Boston Marathon 2013 Washington State Open Badminton Championships 1998 Miami PanAm International Badminton Championships 1972 Boston Marathon 1940 US Badminton Championships 1961 Indianapolis 500 2005 Miami PanAm International Badminton Championships 2001 Miami PanAm International Badminton Championships 2000 Miami PanAm International Badminton Championships 2006 Miami PanAm International Badminton Championships 2011 US Badminton Championships 1975 US Badminton Championships 1974 US Badminton Championships 1947 Boston Marathon 2007 Miami PanAm International Badminton Championships 1952 Indianapolis 500 2008 US Badminton Championships 2004 US Badminton Championships 2006 US Badminton Championships 2005 US Badminton Championships 2004 Indianapolis 500 1977 US Badminton Championships 1976 US Badminton Championships 1978 US Badminton Championships 1984 US Open Badminton Championships SAP Open 1959 Boston Marathon 1914 Indianapolis 500 2011 Boston Marathon 1980 Boston Marathon 2012 Boston Marathon 1997 Boston Marathon 1952 Boston Marathon 1972 US Badminton Championships 1969 US Open Badminton Championships 1969 Boston Marathon 1942 US Badminton Championships 1992 Boston Marathon 1970 US Open Badminton Championships 1985 Boston Marathon 1900 Boston Marathon 1981 US Badminton Championships 1993 Boston Marathon 1999 Boston Marathon 1960 US Open Badminton Championships 1964 US Open Badminton Championships 1963 US Open Badminton Championships 2008 Boston Marathon 1978 Boston Marathon 1901 Boston Marathon 1968 US Open Badminton Championships 1967 US Open Badminton Championships 1966 US Open Badminton Championships 1956 Indianapolis 500 1977 Boston Marathon 1959 US Open Badminton Championships 1957 US Open Badminton Championships 2007 Boston Marathon 2006 Boston Marathon 1932 Boston Marathon 1979 US Badminton Championships 2015 Boston Marathon Tennis tournament Newport, US 1944 Boston Marathon 1987 US Badminton Championships 1985 US Badminton Championships 1933 Boston Marathon 1990 US Open Badminton Championships 2015 Motorcycle Grand Prix of the Americas 2013 Motorcycle Grand Prix of the Americas 1982 US Badminton Championships 1984 US Badminton Championships 1983 US Badminton Championships 1994 US Badminton Championships 1992 US Badminton Championships 1993 US Badminton Championships 1991 US Badminton Championships 1986 US Open Badminton Championships 1989 US Badminton Championships 1973 Boston Marathon 1943 Boston Marathon 1975 Boston Marathon 1902 Boston Marathon 2001 Boston Marathon 2000 Boston Marathon 1962 US Open Badminton Championships 1990 US Badminton Championships 1998 US Badminton Championships 2002 US Badminton Championships 1999 US Badminton Championships 1958 US Open Badminton Championships 1991 US Open Badminton Championships 1992 US Open Badminton Championships 1987 Boston Marathon 2012 US Badminton Championships 1994 Boston Marathon 2003 US Badminton Championships 1962 Boston Marathon 1956 US Open Badminton Championships 1955 US Open Badminton Championships 1954 US Open Badminton Championships 1996 US Open Badminton Championships 1997 US Open Badminton Championships 1995 US Open Badminton Championships 2000 US Badminton Championships Indian Wells Masters 2014 Junior Iditarod 1945 Boston Marathon 1930 Boston Marathon 2008 Dave Freeman Open Badminton Championships 2001 US Badminton Championships Miami Open 2011 Dave Freeman Open Badminton Championships 2012 Dave Freeman Open Badminton Championships 2010 Dave Freeman Open Badminton Championships 1988 Boston Marathon 1928 Boston Marathon 1946 Boston Marathon 1984 Boston Marathon Hall of Fame Tennis Championships 2016 Copper Basin 300 2006 Dave Freeman Open Badminton Championships 1929 Boston Marathon 2007 US Badminton Championships 1971 US Badminton Championships 1931 Boston Marathon 1998 US Open Badminton Championships 1900 Boston Marathon 1994 US Open Badminton Championships 2012 Miami PanAm International Badminton Championships 2011 Miami PanAm International Badminton Championships 2010 Miami PanAm International Badminton Championships 2008 Miami PanAm International Badminton Championships 1996 US Badminton Championships 1995 US Badminton Championships 1997 US Badminton Championships 2010 US Open Badminton Championships 1987 Tour de France 1962 Grand Prix de Denain 1961 Grand Prix de Denain 1954 French Badminton Championships 1953 French Badminton Championships 1952 French Badminton Championships 1994 Tour de France 1964 European Figure Skating Championships 1922 Tour de France 1965 Grand Prix de Denain 1966 Grand Prix de Denain 1964 Grand Prix de Denain 1969 Grand Prix de Denain 1955 French Badminton Championships 1956 French Badminton Championships 1957 French Badminton Championships 1958 French Badminton Championships 1959 French Badminton Championships 1949 Tour de France 1924 Tour de France 1975 Tour de France 2014 Route du Sud 2005 Tour de France 1951 French Badminton Championships 1999 French Open 1960 Grand Prix de Denain 1959 Grand Prix de Denain 1988 Tour de France 1929 Tour de France 2013 French Open 1987 French Open 2009 GP Ouest-France 1926 European Allround Speed Skating Championships 1919 Tour de France 1997 French Open 2014 Critérium International 1998 Tour de France 1921 Tour de France 1988 Grand Prix de Denain 1939 Tour de France 2005 GP Ouest-France 1974 French Open 1984 Tour de France 2009 Tour de France 2011 GP Ouest-France Route Adélie de Vitré 2014 2006 French Road Cycling Cup 1972 Tour de France 1913 Tour de France 1911 Tour de France 1981 French Open 2003 French Open 1985 French Open 2016 Classic Sud-Ardèche 1967 Grand Prix de Denain 2015 GP Ouest-France 2015 French Open 1951 Tour de France 1976 French Open 1996 French Open 1950 French Badminton Championships 1920 European Rowing Championships 1931 Tour de France 1950 Tour de France 1981 Tour de France 2002 Tour de France 2015 Route Adélie 2010 French Open 1977 French Open 1995 Tour de France 1956 European Figure Skating Championships Open 13 1980 French Open 1932 Tour de France Boucles de l'Aulne 2015 2004 French Open 1914 Tour de France 1991 French Open 1979 Tour de France 2011 French Badminton Championships 2010 French Badminton Championships 2009 French Badminton Championships 2008 French Badminton Championships 2008 French Open 1930 Tour de France 1937 Tour de France 1959 Tour de France 1925 Tour de France 2015 Classic Sud-Ardèche 1970 Tour de France 1934 Tour de France 2006 French Open 2003 Tour de France 2007 GP Ouest-France 2012 French Badminton Championships 2005 French Badminton Championships 1990 French Badminton Championships 1991 French Badminton Championships 1992 French Badminton Championships 1993 French Badminton Championships 1984 French Badminton Championships 1988 French Badminton Championships 1987 French Badminton Championships 1986 French Badminton Championships 1989 French Badminton Championships 1968 French Open 2001 French Open 2000 Tour de France 2004 French Badminton Championships 2006 French Badminton Championships 2003 French Badminton Championships 2001 French Badminton Championships 2002 French Badminton Championships 2005 French Open 2006 European Figure Skating Championships 2008 GP Ouest-France 1999 Tour de France 2013 French Badminton Championships 2000 French Badminton Championships 1995 French Badminton Championships 1996 French Badminton Championships 1998 French Badminton Championships 1997 French Badminton Championships 1999 French Badminton Championships 1984 French Open 1954 Tour de France 1971 French Badminton Championships 1968 French Badminton Championships 1969 French Badminton Championships 1970 French Badminton Championships 1966 French Badminton Championships 1967 French Badminton Championships 1989 French Open 1906 Tour de France 1965 French Badminton Championships 1964 French Badminton Championships 1963 French Badminton Championships 1962 French Badminton Championships 1961 French Badminton Championships 1960 French Badminton Championships 1985 Tour de France 1968 Grand Prix de Denain 1983 French Open 2000 French Open 2007 French Open 2004 Tour de France 1979 French Badminton Championships 1982 French Badminton Championships 1980 French Badminton Championships 1981 French Badminton Championships 1983 French Badminton Championships 1948 Tour de France 2012 French Open 1947 Tour de France 2009 French Open 2014 French Open 1975 French Badminton Championships 1976 French Badminton Championships 1972 French Badminton Championships 1974 French Badminton Championships 1973 French Badminton Championships 1977 French Badminton Championships 2001 European Judo Championships 1983 Tour de France 1907 Tour de France World Championship Mountain Bike 2004 1971 Tour de France 1986 Tour de France 1970 French Open 1995 French Open 1993 French Open Coupe de France 1998 Grand Prix de Denain 1994 French Badminton Championships 1973 French Open 2014 French Badminton Championships 1974 Tour de France 1963 Tour de France 1992 Tour de France 1969 Tour de France 1935 Tour de France 1986 French Open 1903 Tour de France 1996 Tour de France 1978 French Open 2013 Critérium International Critérium International 2010 1998 French Open 1957 Tour de France 1953 Tour de France 1979 French Open 1956 Tour de France 1964 Tour de France 1967 Tour de France 1963 Grand Prix de Denain 1992 French Open 1952 Tour de France 1905 Tour de France 1926 Tour de France 1920 Tour de France 2011 Tour de France 2012 Tour de France 1968 Tour de France 1932 European Figure Skating Championships 1982 Tour de France 2008 Tour de France 1909 Tour de France 1991 Tour de France 1989 Tour de France 1973 Tour de France 1927 Tour de France 2015 Paris–Camembert Paris Masters Tour Alsace 2016 1971 French Open 1966 Tour de France 1988 French Open 2014 GP Ouest-France 2012 Critérium International 2011 Critérium International Classic Sud Ardèche 2014 1960 Tour de France 1965 Tour de France 2011 Tour du Haut Var 1961 Tour de France 2012 GP Ouest-France 2015 Indian Ocean Island Games 1908 Tour de France 1990 French Open 1973 European Allround Speed Skating Championships for men 2014 Tour de Picardie 2016 French Open 2015 Route du Sud 2007 Tour de France 2006 Tour de France 1977 Tour de France 2006 GP Ouest-France 1933 Tour de France 2011 French Open 1938 European Athletics Championships 1980 Tour de France 1938 Tour de France 1936 Tour de France 1923 Tour de France 1978 French Badminton Championships 1990 Tour de France 1982 European Figure Skating Championships 2013 Tour de France 1904 Tour de France 1997 European Figure Skating Championships 2016 French Badminton Championships 2007 French Badminton Championships 1912 Tour de France 1978 European Figure Skating Championships 1978 Tour de France Tour Méditerranéen 2013 2002 French Open 1910 Tour de France 1997 World Rowing Championships 1958 Tour de France 1975 French Open 2013 GP Ouest-France 2010 GP Ouest-France 2015 Étoile de Bessèges 2014 Tour de France 1972 French Open 1997 Tour de France 2001 Tour de France 2010 Tour de France 1969 French Open 1994 French Open 1982 French Open 1976 Tour de France 1993 Tour de France 1962 Tour de France 2015 French Badminton Championships 1955 Tour de France 1928 Tour de France
2011 Copper Basin 300, 2015 Milan – San Remo and 2016 Copper Basin 300 are present in Italy, United States of America and France
2011   Copper Basin 300 2015 Milan – San Remo 2016 Copper Basin 300
action union
action filter_type
action find_reverse
entity Italy
relation country
type recurring sporting event
action filter_type
action find_reverse
entity United States of America
relation country
type recurring sporting event
action filter_type
action find_reverse
entity France
relation country
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'country', 'Italy'] [{'concept': 'recurring sporting event'}, 'country', 'United States of America'] [{'concept': 'recurring sporting event'}, 'country', 'France']
SELECT DISTINCT ?f WHERE { { ?f property:country resource:United_States_of_America . ?f rdf:type ontology:recurring_sporting_event } UNION { ?f property:country resource:Italy . ?f rdf:type ontology:recurring_sporting_event } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22041575
P276
Q27686
USER
Where is that recurring sporting event situated ?
(Q22041575,P276,c(Q27686))
action filter_type
action find
entity Q22041575
relation P276
type Q27686
['Q22041575', 'P276', {'concept': 'Q27686'}]
SELECT DISTINCT ?p WHERE { resource:Q22041575 property:P276 ?p . ?p rdf:type ontology:Q27686 }
2011   Copper Basin 300
action filter_type
action find
entity 2011   Copper Basin 300
relation location
type hotel
['2011   Copper Basin 300', 'location', {'concept': 'hotel'}]
SELECT DISTINCT ?p WHERE { resource:2011___Copper_Basin_300 property:location ?p . ?p rdf:type ontology:hotel }
[]
hotel
Clarification for simple ques.
Q22041575
SYSTEM
Did you mean 2011   Copper Basin 300 ?
Q22041575 Q18710416 Q22029432
(Q22041575,P276,c(Q27686)) (Q18710416,P276,c(Q27686)) (Q22029432,P276,c(Q27686))
[ANSWER]
['Q22041575', 'P276', {'concept': 'Q27686'}] ['Q18710416', 'P276', {'concept': 'Q27686'}] ['Q22029432', 'P276', {'concept': 'Q27686'}]
SELECT DISTINCT ?p WHERE { resource:Q22041575 property:P276 ?p . ?p rdf:type ontology:Q27686 }
2011   Copper Basin 300 2015 Milan – San Remo 2016 Copper Basin 300
Did you mean 2011   Copper Basin 300 ?
2011   Copper Basin 300
['2011   Copper Basin 300', 'location', {'concept': 'hotel'}] ['2015 Milan – San Remo', 'location', {'concept': 'hotel'}] ['2016 Copper Basin 300', 'location', {'concept': 'hotel'}]
SELECT DISTINCT ?p WHERE { resource:2011___Copper_Basin_300 property:location ?p . ?p rdf:type ontology:hotel }
[]
Simple Question (Coreferenced)
USER
Yes
(Q22041575,P276,c(Q27686))
['Q22041575', 'P276', {'concept': 'Q27686'}]
['2011   Copper Basin 300', 'location', {'concept': 'hotel'}]
[]
Q22032240
SYSTEM
Meiers Lake Roadhouse
Q22032240
(Q22041575,P276,c(Q27686))
action filter_type
action find
entity Q22041575
relation P276
type Q27686
That recurring sporting event is situated at [ANSWER]
['Q22041575', 'P276', {'concept': 'Q27686'}]
SELECT DISTINCT ?p WHERE { resource:Q22041575 property:P276 ?p . ?p rdf:type ontology:Q27686 }
Meiers Lake Roadhouse
That recurring sporting event is situated at Meiers Lake Roadhouse
Meiers Lake Roadhouse
action filter_type
action find
entity 2011   Copper Basin 300
relation location
type hotel
['2011   Copper Basin 300', 'location', {'concept': 'hotel'}]
SELECT DISTINCT ?p WHERE { resource:2011___Copper_Basin_300 property:location ?p . ?p rdf:type ontology:hotel }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1435
Q2065736 Q27686
USER
How many cultural properties represent the heritage status given to atleast 2 hotels ?
(c(Q27686),P1435,c(Q2065736))
action count
action atleast
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
value 2
[{'concept': 'Q27686'}, 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P1435 ?g . ?f rdf:type ontology:Q27686 . ?g rdf:type ontology:Q2065736 } GROUP BY ?g } . FILTER ( ?i >= 2 ) }
action count
action atleast
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
value 2
[{'concept': 'hotel'}, 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:heritage_status ?g . ?f rdf:type ontology:hotel . ?g rdf:type ontology:cultural_property } GROUP BY ?g } . FILTER ( ?i >= 2 ) }
[]
cultural property hotel
SYSTEM
3
Q19558910 Q15632117 Q1568567
(c(Q27686),P1435,c(Q2065736))
action count
action atleast
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
value 2
[ANSWER]
[{'concept': 'Q27686'}, 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P1435 ?g . ?f rdf:type ontology:Q27686 . ?g rdf:type ontology:Q2065736 } GROUP BY ?g } . FILTER ( ?i >= 2 ) }
place listed on the National Register of Historic Places Baudenkmal national historic site of Canada
3
action count
action atleast
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
value 2
[{'concept': 'hotel'}, 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:heritage_status ?g . ?f rdf:type ontology:hotel . ?g rdf:type ontology:cultural_property } GROUP BY ?g } . FILTER ( ?i >= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18710416
P1444
Q15617994
USER
Which administrative territory is the end point of 2015 Milan – San Remo ?
(Q18710416,P1444,c(Q15617994))
action filter_type
action find
entity Q18710416
relation P1444
type Q15617994
['Q18710416', 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q18710416 property:P1444 ?v }
2015 Milan – San Remo
action filter_type
action find
entity 2015 Milan – San Remo
relation destination point
type designation for an administrative territorial entity
['2015 Milan – San Remo', 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:2015_Milan_–_San_Remo property:destination_point ?v }
[]
designation for an administrative territorial entity
Q33962
SYSTEM
Sanremo
Q33962
(Q18710416,P1444,c(Q15617994))
action filter_type
action find
entity Q18710416
relation P1444
type Q15617994
[ANSWER] is the end point of 2015 Milan – San Remo
['Q18710416', 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q18710416 property:P1444 ?v }
Sanremo
Sanremo is the end point of 2015 Milan – San Remo
Sanremo
action filter_type
action find
entity 2015 Milan – San Remo
relation destination point
type designation for an administrative territorial entity
['2015 Milan – San Remo', 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:2015_Milan_–_San_Remo property:destination_point ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12342241
Q15617994
USER
And what about 2013 Giro d'Italia, Stage 5?
(Q12342241,P1444,c(Q15617994))
action filter_type
action find
entity Q12342241
relation P1444
type Q15617994
['Q12342241', 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q12342241 property:P1444 ?t . ?t rdf:type ontology:Q15617994 }
2013 Giro d'Italia, Stage 5
action filter_type
action find
entity 2013 Giro d'Italia, Stage 5
relation destination point
type designation for an administrative territorial entity
["2013 Giro d'Italia, Stage 5", 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:2013_Giro_d'Italia,_Stage_5 property:destination_point ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q13616
SYSTEM
Matera
Q13616
(Q12342241,P1444,c(Q15617994))
action filter_type
action find
entity Q12342241
relation P1444
type Q15617994
[ANSWER]
['Q12342241', 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q12342241 property:P1444 ?t . ?t rdf:type ontology:Q15617994 }
Matera
Matera
action filter_type
action find
entity 2013 Giro d'Italia, Stage 5
relation destination point
type designation for an administrative territorial entity
["2013 Giro d'Italia, Stage 5", 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:2013_Giro_d'Italia,_Stage_5 property:destination_point ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22041575
P276
Q486972
USER
Which human settlements are the place where 2011   Copper Basin 300 are located ?
(Q22041575,P276,c(Q486972))
action filter_type
action find
entity Q22041575
relation P276
type Q486972
['Q22041575', 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q486972 . resource:Q22041575 property:P276 ?u }
2011   Copper Basin 300
action filter_type
action find
entity 2011   Copper Basin 300
relation location
type human settlement
['2011   Copper Basin 300', 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:human_settlement . resource:2011___Copper_Basin_300 property:location ?u }
[]
human settlement
Q5685380 Q730642 Q1640374
SYSTEM
Chistochina, Glennallen, Paxson
Q5685380 Q730642 Q1640374
(Q22041575,P276,c(Q486972))
action filter_type
action find
entity Q22041575
relation P276
type Q486972
[ANSWERS] are the place where 2011 Copper Basin 300 are located
['Q22041575', 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q486972 . resource:Q22041575 property:P276 ?u }
Chistochina Glennallen Paxson
Chistochina, Glennallen and Paxson are the place where 2011 Copper Basin 300 are located
Chistochina Glennallen Paxson
action filter_type
action find
entity 2011   Copper Basin 300
relation location
type human settlement
['2011   Copper Basin 300', 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:human_settlement . resource:2011___Copper_Basin_300 property:location ?u }
[]