Simple Question (Direct)
Simple Question
Q116017
P1412
Q34770
USER
Which language can Conrad Dasypodius understand ?
(Q116017,P1412,c(Q34770))
action filter_type
action find
entity Q116017
relation P1412
type Q34770
['Q116017', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q116017 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Conrad Dasypodius
action filter_type
action find
entity Conrad Dasypodius
relation languages spoken, written or signed
type language
['Conrad Dasypodius', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Conrad_Dasypodius property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q116017,P1412,c(Q34770))
action filter_type
action find
entity Q116017
relation P1412
type Q34770
Conrad Dasypodius can understand in [ANSWER]
['Q116017', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q116017 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Latin
Conrad Dasypodius can understand in Latin
Latin
action filter_type
action find
entity Conrad Dasypodius
relation languages spoken, written or signed
type language
['Conrad Dasypodius', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Conrad_Dasypodius property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q116017
P937
Q515
USER
Which is the work location of that person ?
(Q397,P937,c(Q515))
action filter_type
action find
entity Q116017
relation P937
type Q515
['Q397', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . resource:Q116017 property:P937 ?m }
Conrad Dasypodius
action filter_type
action find
entity Conrad Dasypodius
relation work location
type city
['Latin', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . resource:Conrad_Dasypodius property:work_location ?m }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q397,P937,c(Q515))
action filter_type
action find
entity Q116017
relation P937
type Q515
The work location of that person is in [ANSWER]
['Q397', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . resource:Q116017 property:P937 ?m }
Strasbourg
The work location of that person is in Strasbourg
Strasbourg
action filter_type
action find
entity Conrad Dasypodius
relation work location
type city
['Latin', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . resource:Conrad_Dasypodius property:work_location ?m }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q889
P1376
Q15617994 Q515
USER
Which administrative territories have lesser number of cities as their capital than Afghanistan ?
(c(Q515),P1376,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find_reverse
entity Q889
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P1376 ?i . ?h rdf:type ontology:Q515 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?u < ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P1376 resource:Q889 . ?z rdf:type ontology:Q515 } } }
Afghanistan
action less
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find_reverse
entity Afghanistan
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:capital_of ?i . ?h rdf:type ontology:city . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?u < ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:capital_of resource:Afghanistan . ?z rdf:type ontology:city } } }
[]
designation for an administrative territorial entity city
Q38 Q30 Q230
SYSTEM
Italy, United States of America, Georgia
Q805 Q804 Q801 Q800 Q1098820 Q12631 Q419 Q3368 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2998020 Q3044731 Q398 Q1465069 Q1324549 Q1979 Q159 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 Q12574 Q12798 Q1280 Q1282 Q12792 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q311803 Q29937 Q117 Q30786 Q12569 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q541589 Q760 Q12804 Q12808 Q14762300 Q3326 Q3286 Q3528124 Q2719360 Q1243 Q945 Q3266 Q3105 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q1232680 Q12789 Q1452646 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 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 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q12730 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1270568 Q1773268 Q12657 Q30835 Q12652 Q12556 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q3044651 Q3044715 Q176 Q12816 Q30682 Q30683 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3278 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q239502 Q712 Q710 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 Q511365 Q654849 Q2038939 Q311794 Q12661 Q20 Q28 Q1366860 Q148 Q598193 Q227 Q30650 Q223 Q221 Q1270623 Q311668 Q229 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q474421 Q2009 Q12820 Q265 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q2662372 Q3249 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q12679 Q30815 Q153402 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q515),P1376,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find_reverse
entity Q889
relation P1376
type Q515
[ANSWERS] have lesser number of cities as their capital than Afghanistan
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P1376 ?i . ?h rdf:type ontology:Q515 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?u < ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P1376 resource:Q889 . ?z rdf:type ontology:Q515 } } }
Yemen Panama Israel Costa Rica Gênes Meuse Peru Essonne Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Corse Guyane Bahrain Frise Uthukela District Municipality Prince Edward Island Russia 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 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 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 Umgungundlovu District Municipality Aswan Governorate 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 Cher Tibre Duchy of Luxembourg Veneto Togo Charente Vosges Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality 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 Ithaque Var Montenotte 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 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 Niger Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen 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 Indre-et-Loire East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad Louverture Ozama Quebec Yonne Matrouh Governorate Beni Suef Governorate 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 Kiribati 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 Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Hungary Escaut People's Republic of China Apennins Azerbaijan New Valley Governorate Greenland Republic of Macedonia Meurthe UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin 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 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 Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador 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 Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate 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 Orne South Sinai Governorate Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya 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, United States of America and Georgia have lesser number of cities as their capital than Afghanistan
Italy United States of America Georgia
action less
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find_reverse
entity Afghanistan
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:capital_of ?i . ?h rdf:type ontology:city . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?u < ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:capital_of resource:Afghanistan . ?z rdf:type ontology:city } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q717
P1376
Q15617994 Q515
USER
And what about Venezuela?
(c(Q515),P1376,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find_reverse
entity Q717
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P1376 ?a . ?a rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q515 } GROUP BY ?a } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ontology:Q515 . ?c property:P1376 resource:Q717 } } }
Venezuela
action less
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find_reverse
entity Venezuela
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:capital_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:city } GROUP BY ?a } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ontology:city . ?c property:capital_of resource:Venezuela } } }
[]
designation for an administrative territorial entity city
Q38 Q30 Q230
SYSTEM
Italy, United States of America, Georgia
Q805 Q804 Q801 Q800 Q1098820 Q12631 Q419 Q3368 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2998020 Q3044731 Q398 Q1465069 Q1324549 Q1979 Q159 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 Q12574 Q12798 Q1280 Q1282 Q12792 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q311803 Q29937 Q117 Q30786 Q12569 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q541589 Q760 Q12804 Q12808 Q14762300 Q3326 Q3286 Q3528124 Q2719360 Q1243 Q945 Q3266 Q3105 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q1232680 Q12789 Q1452646 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 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 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q12730 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1270568 Q1773268 Q12657 Q30835 Q12652 Q12556 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q3044651 Q3044715 Q176 Q12816 Q30682 Q30683 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3278 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q239502 Q712 Q710 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 Q511365 Q654849 Q2038939 Q311794 Q12661 Q20 Q28 Q1366860 Q148 Q598193 Q227 Q30650 Q223 Q221 Q1270623 Q311668 Q229 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q474421 Q2009 Q12820 Q265 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q2662372 Q3249 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q12679 Q30815 Q153402 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q515),P1376,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find_reverse
entity Q717
relation P1376
type Q515
[ANSWERS]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P1376 ?a . ?a rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q515 } GROUP BY ?a } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ontology:Q515 . ?c property:P1376 resource:Q717 } } }
Yemen Panama Israel Costa Rica Gênes Meuse Peru Essonne Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Corse Guyane Bahrain Frise Uthukela District Municipality Prince Edward Island Russia 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 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 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 Umgungundlovu District Municipality Aswan Governorate 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 Cher Tibre Duchy of Luxembourg Veneto Togo Charente Vosges Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality 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 Ithaque Var Montenotte 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 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 Niger Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen 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 Indre-et-Loire East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad Louverture Ozama Quebec Yonne Matrouh Governorate Beni Suef Governorate 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 Kiribati 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 Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Hungary Escaut People's Republic of China Apennins Azerbaijan New Valley Governorate Greenland Republic of Macedonia Meurthe UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin 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 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 Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador 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 Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate 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 Orne South Sinai Governorate Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya 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 United States of America Georgia
action less
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find_reverse
entity Venezuela
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:capital_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:city } GROUP BY ?a } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ontology:city . ?c property:capital_of resource:Venezuela } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P122
Q1307214 Q12737077 Q15617994
USER
Which administrative territories have max number of forms of government or occupations as the type of government ?
(c(Q15617994),P122,c(Q1307214)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?i ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?o ) WHERE { { ?j property:P122 ?f . ?j rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1307214 } UNION { ?j property:P122 ?f . ?f rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?j } } . { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1307214 ) ( ontology:Q12737077 ) } } GROUP BY ?e } . FILTER ( ?n = ?i ) }
action argmax
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?i ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?o ) WHERE { { ?j property:basic_form_of_government ?f . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:form_of_government } UNION { ?j property:basic_form_of_government ?f . ?f rdf:type ontology:occupation . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } } . { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:form_of_government ) ( ontology:occupation ) } } GROUP BY ?e } . FILTER ( ?n = ?i ) }
[]
form of government occupation designation for an administrative territorial entity
Q32 Q347 Q423
SYSTEM
Luxembourg, Liechtenstein, North Korea
Q154547 Q165116 Q208500 Q541991 Q794 Q889 Q32 Q423 Q280312 Q347 Q228 Q199688
(c(Q15617994),P122,c(Q1307214)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
[ANSWERS] have max number of forms of government or occupations as the type of government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?i ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?o ) WHERE { { ?j property:P122 ?f . ?j rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1307214 } UNION { ?j property:P122 ?f . ?f rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?j } } . { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1307214 ) ( ontology:Q12737077 ) } } GROUP BY ?e } . FILTER ( ?n = ?i ) }
duchy grand duchy principality Hummelfeld Iran Afghanistan Luxembourg North Korea Principality of Lüneburg Liechtenstein Andorra Almohad
Luxembourg, Liechtenstein and North Korea have max number of forms of government or occupations as the type of government
Luxembourg Liechtenstein North Korea
action argmax
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?i ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?o ) WHERE { { ?j property:basic_form_of_government ?f . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:form_of_government } UNION { ?j property:basic_form_of_government ?f . ?f rdf:type ontology:occupation . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } } . { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:form_of_government ) ( ontology:occupation ) } } GROUP BY ?e } . FILTER ( ?n = ?i ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the origins of more number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q423
SYSTEM
Did you mean North Korea ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean North Korea ?
North Korea
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
35
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
35
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2477402 Q116017
P937 P20
Q515
USER
Which cities did Conrad Dasypodius expire and are the locations where Ulrike Müller worked ?
AND((Q116017,P20,c(Q515)), (Q2477402,P937,c(Q515)))
action filter_type
action intersection
action find
entity Q116017
relation P20
action find
entity Q2477402
relation P937
type Q515
{'AND': [['Q116017', 'P20', {'concept': 'Q515'}], ['Q2477402', 'P937', {'concept': 'Q515'}]]}
SELECT DISTINCT ?b WHERE { resource:Q116017 property:P20 ?b . resource:Q2477402 property:P937 ?b . ?b rdf:type ontology:Q515 }
Ulrike Müller Conrad Dasypodius
action filter_type
action intersection
action find
entity Conrad Dasypodius
relation place of death
action find
entity Ulrike Müller
relation work location
type city
{'AND': [['Conrad Dasypodius', 'place of death', {'concept': 'city'}], ['Ulrike Müller', 'work location', {'concept': 'city'}]]}
SELECT DISTINCT ?b WHERE { resource:Conrad_Dasypodius property:place_of_death ?b . resource:Ulrike_Müller property:work_location ?b . ?b rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
AND((Q116017,P20,c(Q515)), (Q2477402,P937,c(Q515)))
action filter_type
action intersection
action find
entity Q116017
relation P20
action find
entity Q2477402
relation P937
type Q515
Conrad Dasypodius expired in [ANSWER] and are the locations where Ulrike Müller worked
{'AND': [['Q116017', 'P20', {'concept': 'Q515'}], ['Q2477402', 'P937', {'concept': 'Q515'}]]}
SELECT DISTINCT ?b WHERE { resource:Q116017 property:P20 ?b . resource:Q2477402 property:P937 ?b . ?b rdf:type ontology:Q515 }
Strasbourg
Conrad Dasypodius expired in Strasbourg and are the locations where Ulrike Müller worked
Strasbourg
action filter_type
action intersection
action find
entity Conrad Dasypodius
relation place of death
action find
entity Ulrike Müller
relation work location
type city
{'AND': [['Conrad Dasypodius', 'place of death', {'concept': 'city'}], ['Ulrike Müller', 'work location', {'concept': 'city'}]]}
SELECT DISTINCT ?b WHERE { resource:Conrad_Dasypodius property:place_of_death ?b . resource:Ulrike_Müller property:work_location ?b . ?b rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P6
Q502895 Q515
USER
Which cities are lesser number of people the head of the goverment of than that city ?
(c(Q515),P6,c(Q502895))
action less
action find_tuple_counts
relation P6
type Q515
type Q502895
action count
action filter_type
action find
entity Q6602
relation P6
type Q502895
[{'concept': 'Q515'}, 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q515 . ?k property:P6 ?f } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q6602 property:P6 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v < ?x ) }
action less
action find_tuple_counts
relation head of government
type city
type common name
action count
action filter_type
action find
entity Strasbourg
relation head of government
type common name
[{'concept': 'city'}, 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ontology:common_name . ?k rdf:type ontology:city . ?k property:head_of_government ?f } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Strasbourg property:head_of_government ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?v < ?x ) }
[]
common name city
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q944051 Q1711 Q1279557 Q392692 Q841296 Q739444 Q169127 Q835227 Q11736 Q341777 Q275645 Q275642 Q276128 Q850962 Q17042 Q732851 Q851048 Q571769 Q10396 Q664895 Q837968 Q1722954 Q837960 Q3624 Q320950 Q2092257 Q275810 Q1006796 Q518992 Q376233 Q14932 Q765841 Q1321460 Q1632454 Q1019349 Q590443 Q896422 Q276083 Q3573941 Q668695 Q917888 Q839796 Q502993 Q430864 Q1645575 Q743752 Q385070 Q197687 Q576804 Q1623 Q629776 Q147738 Q2135 Q43196 Q750220 Q851001 Q1456612 Q851007 Q1008686 Q11462 Q1744198 Q247807 Q275990 Q526019 Q375371 Q275997 Q16520 Q756593 Q756590 Q167792 Q276145 Q423371 Q756578 Q3104 Q394453 Q2910 Q373804 Q978707 Q1899 Q1410 Q899448 Q507846 Q3846983 Q1015933 Q9085 Q630358 Q248018 Q1486 Q2966 Q331577 Q1461 Q1010144 Q623549 Q265012 Q207196 Q751352 Q169135 Q5540 Q431111 Q1000078 Q641218 Q117676 Q1844 Q10389 Q986077 Q946893 Q168921 Q593157 Q167668 Q1519 Q8684 Q330302 Q999961 Q837154 Q837152 Q393426 Q6602 Q276137 Q638306 Q276132 Q23661 Q615138 Q313689 Q193721 Q1476819 Q104036 Q987496 Q8652 Q180379 Q276009 Q772576 Q166829 Q276004 Q341056 Q341053 Q548575 Q749283 Q7027 Q587746 Q383085 Q1000101 Q602184 Q1008696 Q275981 Q533078 Q596609 Q1935413 Q3958 Q1953 Q954808 Q954611 Q368796 Q253825 Q803706 Q383850 Q775799 Q771191 Q592497 Q1761692 Q325732 Q837167 Q488869 Q837161 Q556266 Q666373 Q591285 Q276168 Q221214 Q203929 Q930102 Q1475 Q1473 Q1773 Q1478 Q899427 Q3955 Q2079 Q6829 Q778516 Q143664 Q1000046 Q164471 Q325555 Q252061 Q912204 Q1258284 Q2002875 Q513417 Q610341 Q548502 Q75537 Q754721 Q597011 Q386651 Q746111 Q1826 Q1018863 Q850676 Q682361 Q191097 Q1231003 Q1023875 Q789233 Q594275 Q276120 Q1019365 Q2749 Q854597 Q193719 Q523469 Q325736 Q4007 Q210667 Q584531 Q158257 Q656603 Q987487 Q276156 Q3852 Q755698 Q191120 Q1008737 Q1643 Q1645 Q899551 Q386888 Q44244 Q850992 Q280364 Q283862 Q1676863 Q941061 Q2203 Q851056 Q292769 Q304189 Q639520 Q42622 Q1720340 Q7003 Q794200 Q386945 Q855187 Q923254 Q226000 Q10860283 Q855721 Q59100 Q740863 Q592480 Q837170 Q596043 Q837173 Q423441 Q276119 Q373707 Q612815 Q6343 Q276336 Q986082 Q843039 Q1564700 Q963829 Q855719 Q954569 Q570113 Q727383 Q890949 Q1001501 Q386988 Q508057 Q456 Q1022962 Q851013 Q898468 Q383306 Q485176 Q217131 Q924085 Q1013909 Q3616 Q75504 Q738013 Q518360 Q183111 Q651322 Q682544 Q292759 Q158245 Q169064 Q926163 Q1533 Q167121 Q275910 Q591823 Q1010667 Q23768 Q1641712 Q1641717 Q147816 Q392429 Q727421 Q276117 Q225100 Q423414 Q303478 Q386091 Q275904 Q508670 Q276141 Q1298137 Q276146 Q213296 Q16666
(c(Q515),P6,c(Q502895))
action less
action find_tuple_counts
relation P6
type Q515
type Q502895
action count
action filter_type
action find
entity Q6602
relation P6
type Q502895
[ANSWERS] are lesser number of people the head of the goverment of than that city
[{'concept': 'Q515'}, 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q515 . ?k property:P6 ?f } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q6602 property:P6 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v < ?x ) }
Horní Jiřetín Potsdam Rajhrad Šumperk Příbram Topoloveni Chitila Ineu Tianjin Čáslav Fierbinți-Târg Roznov Frasin Copșa Mică Oakland Mioveni Făget Boldești-Scăeni Depok Uherský Brod Băile Tușnad Kamenický Šenov Năvodari Addis Ababa Trutnov Rožmitál pod Třemšínem Cajvana Făurei Călan Săcueni Langen (Hessen) Urlați Králíky Hrotovice Olešnice Balș Boží Dar Potcoava Săliște Frenštát pod Radhoštěm Vinaròs Borsec Uherské Hradiště Nymburk Kostelec nad Orlicí Odobești Burriana Miercurea Sibiului Mărășești Valenzuela Vânju Mare Saint Helier Winnipeg Cincinnati Huedin Măcin Mladá Vožice Deta Ivančice Surabaya Kladruby Săveni Răcari Brezoi Călimănești Ardud Busan Târgu Neamț Comănești Sărmașu Vicovu de Sus Ștei Târgu Frumos Koblenz Žďár nad Sázavou Ludwigshafen Telč Hořovice Kyiv Gibraltar Negrești Sebiș Șimleu Silvaniei Moravský Beroun Mandaluyong Sedlčany Isaccea Buenos Aires Heidelberg Abrud Manila Hluboká nad Vltavou Puerto de la Cruz Bușteni Zlatna Plopeni Pantelimon Penza Nejdek Moravská Třebová Videle Viseu Vaduz Bandung Frýdlant Teiuș Bragadiru Murfatlar Liepāja Abu Dhabi Seoul Úsov Jaroměř Simeria Ocna Mureș Žatec Strasbourg Milișăuți Hranice Pecica Wellington Soběslav Agnita Tábor Valašské Klobouky Ventspils Kralupy nad Vltavou Miami Rēzekne Amara Negrești-Oaș Miercurea Nirajului Murgeni Česká Třebová Česká Skalice Aninoasa San Juan Straubing Siret Oravița Vlašim Solca Rožnov pod Radhoštěm Podu Iloaiei Baraolt Vișeu de Sus Nová Bystřice Neubrandenburg Yerevan Kaplice Jeseník Jilemnice Salcea Baia Sprie Litovel Baia de Arieș Berești Vălenii de Munte Osečná Gătaia Hațeg Benalmádena Sânnicolau Mare Târgu Ocna Seini Piatra-Olt Pătârlagele Cugir Zimnicea Tăuții-Măgherăuș Quezon City Davao City Riga Caloocan Iernut Weimar Leipzig Speyer Baia de Aramă Dvůr Králové nad Labem Kuřim Jiřetín pod Jedlovou Recaș Valea lui Mihai Lehliu Gară Raspenava Týniště nad Orlicí Vsetín Pogoanele Anina Oțelu Roșu Corabia Slušovice Iwata Pacov Tagbilaran Chýnov Blansko Uničov Tachov Cocentaina Hustopeče Balassagyarmat General Santos Ulmeni Hronov Augsburg Bečov nad Teplou Cheb Mariánské Lázně Ciacova Rosenheim Chōfu Bumbești-Jiu Hlučín Jičín Ostrov Berbești Worms Svitavy Jēkabpils Semily Taguig Cagayan de Oro Ianca Târgu Lăpuș Santa Fe Costești Titu Băicoi Jablonec nad Jizerou Bystřice pod Hostýnem Arica Cristuru Secuiesc Întorsura Buzăului Strážnice Voluntari Suzhou Rokytnice v Orlických horách Dijon Beclean Babadag Câmpeni Fundulea Jimbolia Broșteni Băile Olănești Shantou Česká Lípa Târgu Bujor Gura Humorului Ovidiu Cisnădie Țăndărei Liteni Luduș Garachico Carthage Livada Litvínov Veresegyház Lišov Mihăilești Băile Govora Vyškov Uricani Sokolov Bohumín Budišov nad Budišovkou Říčany Drăgănești-Olt Lyon Velká Bystřice Vașcău Brandýs nad Labem-Stará Boleslav Tismana Pasadena Buftea Horní Slavkov Slaný Tehran Bocșa Xàtiva Bílina Jihlava Năsăud Mikulov Însurăței Písek Sângeorgiu de Pădure Popești-Leordeni Caracas Ungheni Sântana Náchod Mšeno Las Vegas Spálené Poříčí Kostelec nad Černými lesy Harrachov Šternberk Otopeni Dolhasca Bicaz Țicleni Kravaře Novaci Flămânzi Chișineu-Criș Săliștea de Sus Sadská Bucecea Sinaia Nanjing
Buenos Aires, Riga and Kyiv are lesser number of people the head of the goverment of than that city
Buenos Aires Riga Kyiv
action less
action find_tuple_counts
relation head of government
type city
type common name
action count
action filter_type
action find
entity Strasbourg
relation head of government
type common name
[{'concept': 'city'}, 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ontology:common_name . ?k rdf:type ontology:city . ?k property:head_of_government ?f } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Strasbourg property:head_of_government ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?v < ?x ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q515 Q3839081 Q878123
USER
Which cities do around the same number of disasters or racings start as that city ?
(c(Q3839081)|c(Q878123),P1427,c(Q515))
[[{'concept': 'Q3839081'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q878123 }
[[{'concept': 'disaster'}, {'concept': 'racing'}], 'start point', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:disaster . ?y rdf:type ontology:city . ?x rdf:type ontology:racing }
[]
city disaster racing
Comparative|More/Less|Mult. entity type|Clarification
Q1773
SYSTEM
Did you mean Riga ?
(c(Q3839081)|c(Q878123),P1427,c(Q515))
[ANSWER]
[[{'concept': 'Q3839081'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q878123 }
Did you mean Riga ?
Riga
[[{'concept': 'disaster'}, {'concept': 'racing'}], 'start point', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:disaster . ?y rdf:type ontology:city . ?x rdf:type ontology:racing }
[]
Comparative Reasoning (All)
USER
No, I meant Buenos Aires. Could you tell me the answer for that?
(c(Q3839081)|c(Q878123),P1427,c(Q515))
Q1486
[[{'concept': 'Q3839081'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q515'}]
[[{'concept': 'disaster'}, {'concept': 'racing'}], 'start point', {'concept': 'city'}]
[]
Q1486 Q1794 Q11736
SYSTEM
Buenos Aires, Frankfurt, Tianjin
Q682361 Q505208 Q1794 Q117676 Q840610 Q1636 Q9005 Q3859 Q182378 Q1486 Q11736 Q2978 Q1761 Q1854 Q166282 Q235 Q17042 Q3861 Q16666 Q3826
(c(Q3839081)|c(Q878123),P1427,c(Q515))
[ANSWERS] do around the same number of disasters or racings start as that city
[[{'concept': 'Q3839081'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q878123 }
Uničov Ouarzazate Frankfurt Viseu Yamanashi Antipolo Brussels Kigali Putrajaya Buenos Aires Tianjin Regensburg Dublin Ho Chi Minh City Alghero Monaco Oakland Doha Nanjing Muscat
Buenos Aires, Frankfurt and Tianjin do around the same number of disasters or racings start as that city
Buenos Aires Frankfurt Tianjin
[[{'concept': 'disaster'}, {'concept': 'racing'}], 'start point', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:disaster . ?y rdf:type ontology:city . ?x rdf:type ontology:racing }
[]