Simple Question (Direct)
Simple Question
Q201784
P47
Q20667921
USER
Which french administrative divisions are adjacent to Saint-Loubès ?
(Q201784,P47,c(Q20667921))
action filter_type
action find
entity Q201784
relation P47
type Q20667921
['Q201784', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q201784 property:P47 ?h . ?h rdf:type ontology:Q20667921 }
Saint-Loubès
action filter_type
action find
entity Saint-Loubès
relation shares border with
type type of french administrative division
['Saint-Loubès', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Saint-Loubès property:shares_border_with ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q243586 Q194434 Q1004094
SYSTEM
Ambarès-et-Lagrave, Saint-Vincent-de-Paul, Lugon-et-l'Île-du-Carney
Q501807 Q243586 Q194434 Q1004094 Q736202 Q948921 Q380490 Q1007706 Q188789 Q187537
(Q201784,P47,c(Q20667921))
action filter_type
action find
entity Q201784
relation P47
type Q20667921
[ANSWERS] are adjacent to Saint-Loubès
['Q201784', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q201784 property:P47 ?h . ?h rdf:type ontology:Q20667921 }
Saint-Sulpice-et-Cameyrac Ambarès-et-Lagrave Saint-Vincent-de-Paul Lugon-et-l'Île-du-Carney Sainte-Eulalie Izon Yvrac Montussan Asques Saint-Romain-la-Virvée
Ambarès-et-Lagrave, Saint-Vincent-de-Paul and Lugon-et-l'Île-du-Carney are adjacent to Saint-Loubès
Ambarès-et-Lagrave Saint-Vincent-de-Paul Lugon-et-l'Île-du-Carney
action filter_type
action find
entity Saint-Loubès
relation shares border with
type type of french administrative division
['Saint-Loubès', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Saint-Loubès property:shares_border_with ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201784
P190
Q20667921
USER
Which french administrative division is twin city of Saint-Loubès ?
(Q201784,P190,c(Q20667921))
action filter_type
action find
entity Q201784
relation P190
type Q20667921
['Q201784', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . resource:Q201784 property:P190 ?o }
Saint-Loubès
action filter_type
action find
entity Saint-Loubès
relation sister city
type type of french administrative division
['Saint-Loubès', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . resource:Saint-Loubès property:sister_city ?o }
[]
type of french administrative division
Q207614
SYSTEM
Figeac
Q207614
(Q201784,P190,c(Q20667921))
action filter_type
action find
entity Q201784
relation P190
type Q20667921
[ANSWER] is twin city of Saint-Loubès
['Q201784', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . resource:Q201784 property:P190 ?o }
Figeac
Figeac is twin city of Saint-Loubès
Figeac
action filter_type
action find
entity Saint-Loubès
relation sister city
type type of french administrative division
['Saint-Loubès', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . resource:Saint-Loubès property:sister_city ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q35418
Q20667921
USER
And also tell me about Saint-Pierre?
(Q35418,P190,c(Q20667921))
action filter_type
action find
entity Q35418
relation P190
type Q20667921
['Q35418', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q35418 property:P190 ?z . ?z rdf:type ontology:Q20667921 }
Saint-Pierre
action filter_type
action find
entity Saint-Pierre
relation sister city
type type of french administrative division
['Saint-Pierre', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Saint-Pierre property:sister_city ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q519495
SYSTEM
Saint-Pierre-en-Faucigny
Q519495
(Q35418,P190,c(Q20667921))
action filter_type
action find
entity Q35418
relation P190
type Q20667921
[ANSWER]
['Q35418', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q35418 property:P190 ?z . ?z rdf:type ontology:Q20667921 }
Saint-Pierre-en-Faucigny
Saint-Pierre-en-Faucigny
action filter_type
action find
entity Saint-Pierre
relation sister city
type type of french administrative division
['Saint-Pierre', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Saint-Pierre property:sister_city ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q1267889 Q355304 Q20667921
USER
Which french administrative divisions are situated in the neighbourhood of min number of waterways or watercourses ?
(c(Q20667921),P206,c(Q1267889)|c(Q355304))
action argmin
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?m ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?z rdf:type ?m } GROUP BY ?f } } . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?d ) WHERE { { ?r property:P206 ?t . ?r rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q1267889 } UNION { ?r property:P206 ?t . ?r rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q355304 } } GROUP BY ?r } . FILTER ( ?d = ?u ) }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?m ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?z rdf:type ?m } GROUP BY ?f } } . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?d ) WHERE { { ?r property:located_next_to_body_of_water ?t . ?r rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:waterway } UNION { ?r property:located_next_to_body_of_water ?t . ?r rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:watercourse } } GROUP BY ?r } . FILTER ( ?d = ?u ) }
[]
waterway watercourse type of french administrative division
Q47045 Q249884 Q44401
SYSTEM
Saint-Denis, Saint-Pierre, Cayenne
Q3769 Q665411 Q1649363 Q467030 Q956943 Q842027 Q71356 Q147606 Q429770 Q266886 Q380224 Q1014763 Q652100 Q1326390 Q751619 Q14112 Q47045 Q1066836 Q391365 Q926768 Q1649370 Q1617681 Q654000 Q249884 Q769160 Q513962 Q1014814 Q662942 Q323399 Q70491 Q231180 Q191765 Q26583 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q752535 Q1165029
(c(Q20667921),P206,c(Q1267889)|c(Q355304))
action argmin
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q355304
[ANSWERS] are situated in the neighbourhood of min number of waterways or watercourses
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?m ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?z rdf:type ?m } GROUP BY ?f } } . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?d ) WHERE { { ?r property:P206 ?t . ?r rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q1267889 } UNION { ?r property:P206 ?t . ?r rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q355304 } } GROUP BY ?r } . FILTER ( ?d = ?u ) }
French Guiana Leffrinckoucke Saint-Leu L'Île-Rousse Le Port Rogliano Île-aux-Moines Fort-Mahon-Plage La Possession Sisco Marck Trois-Bassins Saint-Philippe Petite-Île Sérignan Corsica Saint-Denis Grand-Fort-Philippe Bray-Dunes Tahaa Saint-André Saint-Louis Monticello Saint-Pierre Grande-Synthe Oye-Plage Les Avirons Sainte-Marie Gravelines Larmor-Baden Zuydcoote Anglet Béhuard Saint-Benoît Sainte-Suzanne L'Étang-Salé Sainte-Rose Cayenne Batz-sur-Mer Bras-Panon Valras-Plage Le Pouliguen
Saint-Denis, Saint-Pierre and Cayenne are situated in the neighbourhood of min number of waterways or watercourses
Saint-Denis Saint-Pierre Cayenne
action argmin
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?m ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?z rdf:type ?m } GROUP BY ?f } } . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?d ) WHERE { { ?r property:located_next_to_body_of_water ?t . ?r rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:waterway } UNION { ?r property:located_next_to_body_of_water ?t . ?r rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:watercourse } } GROUP BY ?r } . FILTER ( ?d = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q705
P1376
Q15617994 Q20667921
USER
How many administrative territories have around the same number of french administrative divisions as their capital as Zeeland ?
(c(Q20667921),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q705
relation P1376
type Q15617994
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q20667921 } GROUP BY ?e } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q705 property:P1376 ?z . ?z rdf:type ontology:Q15617994 } } }
Zeeland
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Zeeland
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:type_of_french_administrative_division } GROUP BY ?e } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Zeeland property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity type of french administrative division
SYSTEM
437
Q805 Q804 Q801 Q800 Q1098820 Q419 Q414 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q252 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q1974 Q2527360 Q699731 Q611074 Q2007299 Q1254171 Q220249 Q979470 Q1270648 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q1280 Q1282 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q815731 Q31074 Q31075 Q96 Q1050 Q311803 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q34020 Q541589 Q760 Q14762300 Q696651 Q3528124 Q2719360 Q948 Q1243 Q945 Q639100 Q731547 Q855327 Q328134 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q1090684 Q1263830 Q833 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q290739 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q1232680 Q889 Q884 Q1452646 Q881 Q231168 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q541095 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1101 Q1206596 Q3139 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q31067 Q31065 Q1270568 Q1773268 Q30835 Q30831 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q3044651 Q3044714 Q3044715 Q176 Q30682 Q30683 Q1951 Q2091235 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3044623 Q651394 Q30946 Q3044781 Q239502 Q712 Q711 Q710 Q717 Q3044777 Q12770 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q1508927 Q1948 Q511365 Q654849 Q2038939 Q311794 Q20 Q27 Q28 Q1366860 Q148 Q598193 Q227 Q225 Q30650 Q223 Q222 Q221 Q47261 Q311668 Q229 Q228 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q963 Q2921370 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q2380910 Q1438 Q686 Q30832 Q891165 Q817 Q810 Q811 Q813 Q18046648 Q819 Q29 Q617646 Q72670 Q12545 Q2309262 Q863 Q2023 Q869 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2003 Q2662372 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 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 Q30797 Q1904 Q347 Q3462133 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 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q8575586 Q672 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q20667921),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q705
relation P1376
type Q15617994
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q20667921 } GROUP BY ?e } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q705 property:P1376 ?z . ?z rdf:type ontology:Q15617994 } } }
Yemen Panama Israel Costa Rica Gênes Peru Argentina Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Indonesia Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde British Columbia Stura Wied Mopani District Municipality OR Tambo District Municipality Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Sieg Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Umbria Lazio 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 Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Swaziland Umgungundlovu District Municipality Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Niue Ems-Supérieur Saint Lucia single-tier municipality Saxe-Eisenach Tibre Duchy of Luxembourg Tunisia Veneto Togo Principality of Reuss-Gera Lippe Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Montserrat Frances Baard District Municipality Malaysia Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Sesia Portugal Turkey Greece El Salvador Haiti Iraq Iran Ithaque Afghanistan South Korea Montenotte Vietnam Zuyderzée Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Rhin-et-Moselle 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 French Southern and Antarctic Lands North Brabant Deux-Nèthes Alpes-Maritimes 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 West Coast District Municipality Dakahlia Governorate Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Gharbia Governorate Red Sea Governorate East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Louverture Ouest Ozama Quebec Matrouh Governorate Beni Suef Governorate Alberta Ugu District Municipality Xhariep District Municipality Nova Scotia Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Principality of Serbia Arno Cibao Ramensky District Kafr el-Sheikh Governorate Sud Kingdom of Galicia–Volhynia Fiji Mongolia Kiribati Venezuela Nord Somme 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 Cape Winelands District Municipality Duchy of Prussia Izabal Department Méditerranée Manitoba Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality 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 UThungulu District Municipality Cyprus Andorra Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat 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 Vanuatu Giza Governorate Bojanala Platinum District Municipality Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Spain Namakwa District Municipality Batumi Oblast Hérault Zululand District Municipality Tajikistan Nunavut Thailand 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 Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Newfoundland and Labrador Principality of Minsk Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality 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 Luxor Governorate Ontario Liechtenstein Saxe-Coburg and Gotha 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 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 Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
437
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Zeeland
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:type_of_french_administrative_division } GROUP BY ?e } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Zeeland property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1452646
P1376
Q15617994 Q20667921
USER
And how about Montenotte?
(c(Q20667921),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q1452646
relation P1376
type Q15617994
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P1376 ?v . ?v rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q20667921 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q1452646 property:P1376 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?x ) }
Montenotte
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Montenotte
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:capital_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:type_of_french_administrative_division } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Montenotte property:capital_of ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?x ) }
[]
designation for an administrative territorial entity type of french administrative division
SYSTEM
437
Q805 Q804 Q801 Q800 Q1098820 Q419 Q414 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q252 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q1974 Q2527360 Q699731 Q611074 Q2007299 Q1254171 Q220249 Q979470 Q1270648 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q1280 Q1282 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q815731 Q31074 Q31075 Q96 Q1050 Q311803 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q34020 Q541589 Q760 Q14762300 Q696651 Q3528124 Q2719360 Q948 Q1243 Q945 Q639100 Q731547 Q855327 Q328134 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q1090684 Q1263830 Q833 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q290739 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q1232680 Q889 Q884 Q1452646 Q881 Q231168 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q541095 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1101 Q1206596 Q3139 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q31067 Q31065 Q1270568 Q1773268 Q30835 Q30831 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q3044651 Q3044714 Q3044715 Q176 Q30682 Q30683 Q1951 Q2091235 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3044623 Q651394 Q30946 Q3044781 Q239502 Q712 Q711 Q710 Q717 Q3044777 Q12770 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q1508927 Q1948 Q511365 Q654849 Q2038939 Q311794 Q20 Q27 Q28 Q1366860 Q148 Q598193 Q227 Q225 Q30650 Q223 Q222 Q221 Q47261 Q311668 Q229 Q228 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q963 Q2921370 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q2380910 Q1438 Q686 Q30832 Q891165 Q817 Q810 Q811 Q813 Q18046648 Q819 Q29 Q617646 Q72670 Q12545 Q2309262 Q863 Q2023 Q869 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2003 Q2662372 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 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 Q30797 Q1904 Q347 Q3462133 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 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q8575586 Q672 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q20667921),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q1452646
relation P1376
type Q15617994
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P1376 ?v . ?v rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q20667921 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q1452646 property:P1376 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?x ) }
Yemen Panama Israel Costa Rica Gênes Peru Argentina Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Indonesia Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde British Columbia Stura Wied Mopani District Municipality OR Tambo District Municipality Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Sieg Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Umbria Lazio 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 Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Swaziland Umgungundlovu District Municipality Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Niue Ems-Supérieur Saint Lucia single-tier municipality Saxe-Eisenach Tibre Duchy of Luxembourg Tunisia Veneto Togo Principality of Reuss-Gera Lippe Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Montserrat Frances Baard District Municipality Malaysia Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Sesia Portugal Turkey Greece El Salvador Haiti Iraq Iran Ithaque Afghanistan South Korea Montenotte Vietnam Zuyderzée Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Rhin-et-Moselle 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 French Southern and Antarctic Lands North Brabant Deux-Nèthes Alpes-Maritimes 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 West Coast District Municipality Dakahlia Governorate Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Gharbia Governorate Red Sea Governorate East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Louverture Ouest Ozama Quebec Matrouh Governorate Beni Suef Governorate Alberta Ugu District Municipality Xhariep District Municipality Nova Scotia Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Principality of Serbia Arno Cibao Ramensky District Kafr el-Sheikh Governorate Sud Kingdom of Galicia–Volhynia Fiji Mongolia Kiribati Venezuela Nord Somme 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 Cape Winelands District Municipality Duchy of Prussia Izabal Department Méditerranée Manitoba Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality 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 UThungulu District Municipality Cyprus Andorra Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat 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 Vanuatu Giza Governorate Bojanala Platinum District Municipality Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Spain Namakwa District Municipality Batumi Oblast Hérault Zululand District Municipality Tajikistan Nunavut Thailand 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 Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Newfoundland and Labrador Principality of Minsk Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality 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 Luxor Governorate Ontario Liechtenstein Saxe-Coburg and Gotha 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 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 Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
437
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Montenotte
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:capital_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:type_of_french_administrative_division } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Montenotte property:capital_of ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q8170
P1376
Q1048835 Q20667921
USER
How many political territories have more number of french administrative divisions have their first city than Tübingen ?
(c(Q20667921),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q8170
relation P1376
type Q1048835
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P1376 ?d . ?b rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ontology:Q1048835 . resource:Q8170 property:P1376 ?x } } . FILTER ( ?q > ?o ) }
Tübingen
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Tübingen
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:capital_of ?d . ?b rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Tübingen property:capital_of ?x } } . FILTER ( ?q > ?o ) }
[]
political territorial entity type of french administrative division
SYSTEM
6
Q1122980 Q2485101 Q34617 Q642314 Q1232887 Q778266
(c(Q20667921),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q8170
relation P1376
type Q1048835
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P1376 ?d . ?b rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ontology:Q1048835 . resource:Q8170 property:P1376 ?x } } . FILTER ( ?q > ?o ) }
Comtat Venaissin County of Chiny Saint Pierre and Miquelon County of Burgundy County of Savoy County of Artois
6
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Tübingen
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:capital_of ?d . ?b rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Tübingen property:capital_of ?x } } . FILTER ( ?q > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3825439
P1376
Q1048835 Q20667921
USER
And what about Sancos District, Huanca Sancos?
(c(Q20667921),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q3825439
relation P1376
type Q1048835
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k rdf:type ontology:Q1048835 . resource:Q3825439 property:P1376 ?k } } . FILTER ( ?i > ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P1376 ?h . ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q20667921 } GROUP BY ?h } }
Sancos District, Huanca Sancos
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Sancos District, Huanca Sancos
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Sancos_District,_Huanca_Sancos property:capital_of ?k } } . FILTER ( ?i > ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:capital_of ?h . ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:type_of_french_administrative_division } GROUP BY ?h } }
[]
political territorial entity type of french administrative division
SYSTEM
6
Q1122980 Q2485101 Q34617 Q642314 Q1232887 Q778266
(c(Q20667921),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q3825439
relation P1376
type Q1048835
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k rdf:type ontology:Q1048835 . resource:Q3825439 property:P1376 ?k } } . FILTER ( ?i > ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P1376 ?h . ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q20667921 } GROUP BY ?h } }
Comtat Venaissin County of Chiny Saint Pierre and Miquelon County of Burgundy County of Savoy County of Artois
6
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Sancos District, Huanca Sancos
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Sancos_District,_Huanca_Sancos property:capital_of ?k } } . FILTER ( ?i > ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:capital_of ?h . ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:type_of_french_administrative_division } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2485101
P1376
Q1048835 Q20667921
USER
How many political territories have less number of french administrative divisions as their capital than County of Chiny ?
(c(Q20667921),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find_reverse
entity Q2485101
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P1376 resource:Q2485101 . ?g rdf:type ontology:Q20667921 } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P1376 ?o . ?o rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q20667921 } GROUP BY ?o } }
County of Chiny
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find_reverse
entity County of Chiny
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:capital_of resource:County_of_Chiny . ?g rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:capital_of ?o . ?o rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } }
[]
political territorial entity type of french administrative division
SYSTEM
648
Q7915647 Q7130037 Q132418 Q132410 Q13881 Q13882 Q13885 Q13884 Q13887 Q6318040 Q13889 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q785 Q13726 Q13727 Q2051 Q6317672 Q3891 Q3899 Q3321945 Q2175 Q938891 Q10298683 Q2271 Q849807 Q48060 Q10500690 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13900 Q13902 Q515343 Q753689 Q2058837 Q3317759 Q3825827 Q3825439 Q167859 Q43448 Q170390 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q8170 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q168651 Q3312907 Q3312902 Q173407 Q8517 Q2702993 Q3741 Q165956 Q2223 Q6949621 Q133083 Q22880 Q6156 Q2071352 Q1925048 Q210061 Q494354 Q13786 Q13785 Q9676 Q13869 Q13868 Q13867 Q13866 Q13865 Q13864 Q13863 Q13862 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10547 Q10469 Q7290462 Q10462 Q1334322 Q10466 Q10465 Q628370 Q104891 Q4863230 Q1890 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q971457 Q746558 Q8560844 Q664 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q12741 Q6339 Q5082 Q3312493 Q3824385 Q3678587 Q2967 Q5065 Q5067 Q5061 Q5062 Q6317167 Q5068 Q13737 Q408 Q2096228 Q13730 Q2846059 Q13739 Q599448 Q40 Q3312467 Q7931 Q7932 Q13861 Q240 Q6319070 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q2140 Q539231 Q13827 Q13826 Q13825 Q13829 Q2698844 Q383734 Q953068 Q35 Q38610 Q3313291 Q3312974 Q2718534 Q7137570 Q3826135 Q170036 Q9648 Q5926575 Q7686343 Q3125978 Q5262649 Q192959 Q3321924 Q5455586 Q8566 Q6319759 Q13857 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3313430 Q3825983 Q2342207 Q5088519 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q757 Q13772 Q5164916 Q90027 Q3313822 Q3656379 Q6318695 Q6308 Q632108 Q5096392 Q6301 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q7890 Q2917 Q7896 Q1399432 Q933179 Q5945 Q3916 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13794 Q13791 Q13792 Q13812 Q13813 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q3826003 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q48079 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q5093 Q18288148 Q5095 Q5096 Q3653113 Q23635 Q6321909 Q671742 Q6317899 Q450521 Q2621992 Q5075 Q3824597 Q834261 Q3557 Q5078 Q193619 Q13740 Q2632922 Q4804007 Q13744 Q5925410 Q1893486 Q3313278 Q2898 Q48094 Q5051137 Q48098 Q201162 Q168856 Q192697 Q178269 Q2772 Q13874 Q7928 Q46070 Q7258563 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q8050384 Q2703450 Q3313040 Q3314201 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q1468315 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q188373 Q2486455 Q48046 Q5048959 Q3826128 Q7414539 Q2379199 Q2101298 Q1823 Q1769672 Q13845 Q13844 Q13847 Q13846 Q13841 Q13840 Q13843 Q7421013 Q3825413 Q189974 Q193295 Q2594990 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q1229942 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q766 Q103672 Q650489 Q8195 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2110 Q48072 Q2718510 Q3586 Q18221 Q192184 Q13892 Q13893 Q13891 Q2875944 Q13895 Q13899 Q5444794 Q593806 Q3906 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q201697 Q505220 Q7827062 Q1866 Q3826249 Q4694508 Q209597 Q103093 Q7636360 Q13809 Q178084 Q2697268 Q13860 Q13807 Q13806 Q170672 Q240441 Q1230021 Q183 Q24174 Q10440 Q933576 Q49655 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q3824193 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q190930 Q13751 Q13750 Q13753 Q13752 Q13755 Q13759 Q8167 Q5657086 Q2697641 Q309460 Q571947 Q48089 Q7919 Q7917 Q7916 Q7914 Q7912 Q7911 Q7910 Q838690 Q48101 Q1233672 Q48106 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q2307775 Q7908 Q543868 Q16 Q3540 Q5856660 Q2697221 Q2697637 Q539094 Q205068 Q130840 Q6320495 Q10526 Q191091 Q10480 Q3321868 Q10483 Q10485 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13870 Q13871 Q13872 Q13873 Q3724 Q13875 Q13876 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q48057 Q211793 Q48054 Q6013498 Q211795 Q6328 Q6319125 Q3312431 Q10557 Q10554 Q10555 Q2909 Q2640062 Q862584 Q2902 Q10559 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q5924968 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q35086 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q20667921),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find_reverse
entity Q2485101
relation P1376
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P1376 resource:Q2485101 . ?g rdf:type ontology:Q20667921 } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P1376 ?o . ?o rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q20667921 } GROUP BY ?o } }
Vargas Guerra District Panao District Northern Cape Mpumalanga Sorsogon South Cotabato Sultan Kudarat Southern Leyte Sulu Paita District Surigao del Norte Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Jersey Albay Antique Jambi Province Ayabaca District Kalimantan Tengah Kalimantan Timur Acarí District Riau Province San Miguel District Huacrachuco South Sumatra Western Highlands Province Gera District San Miguel District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga del Sur Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Putumayo District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory County of Oldenburg Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Tübingen Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Landgraviate of Hesse-Kassel Checca District Coya District Ternopil Oblast Main-Tauber Haquira District Special Region of Yogyakarta North West Kepulauan Riau Máncora District Gauteng Electoral Palatinate Oberspreewald-Lausitz Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Cebu Cavite Isle of Man Palawan Oriental Mindoro Occidental Mindoro Nueva Vizcaya Nueva Ecija Northern Samar Negros Oriental Negros Occidental Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Lower Franconia Main-Spessart Ramón Castilla District Haßberge County of Toulouse Bad Kissingen Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Bengkulu Province Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Lunahuaná District Emirate of Bukhara Manseriche District New Zealand Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ilocos Sur Erzgebirgskreis West Sulawesi Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara Tambopata North Sulawesi Province Basilan Australia Tornquist Aurora Andahuaylillas District Bataan Chimbu Province Austria Tacna District Giessen Government Region Darmstadt Government Region Mountain Province Brussels Magdalena de Cao District Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla North Sumatra Province Ambo District Kalinga Isabela Iloilo La Union Chimbote District Iquitos District South-West Africa Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Lurigancho Pariñas District Puquio District Kiev Oblast Falkland Islands Huaytará District Tarma District Bali Jauja District Minsk Region Arequipa Fitzcarrald Alzey-Worms Sicaya District Misamis Occidental Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Antioquia District Tarata San Cayetano Chavinillo District Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Saint Vincent and the Grenadines Capiz Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental Pimentel Leipzig Lincoln Partido Chiclayo District Nordsachsen Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Kassel Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Kalimantan Barat Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Davao del Sur Cotabato Davao del Norte Ifugao Ilocos Norte Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chucuito District Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Leipzig District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Maluku Province Metropolitan City of Florence Papua West Papua Kingdom of Syunik Bermuda Río Tambo District General Pueyrredón Moyobamba District Magdeburg Government Region Villarino South East Sulawesi Province Moho District Bolívar Partido Central Java Province South Sulawesi Union of South Africa Batanes Chancay District Ascope District Batangas Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Potsdam District Catacaos Rostock District Amazonas Region Chernivtsi Oblast South Moravian Region Ivano-Frankivsk Oblast West Sumatra Rizal Kassel  Government Region Plzeň Region Puerto Inca District Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Yavari District Chalhuanca District Yucay District Achoma District Huaraz District Walloon Region Värmland County Urubamba District Callería Pozuzo District Mala District Zlín Region Bellavista District Quinua District Cusco Region South Bohemia Region Manantay Cottbus Casitas Huancabamba District San José de Sisa District politics of Edinburgh Tandil Aceh La Sotonera Maguindanao Leyte Masbate Marinduque Lanao del Norte Laguna Lanao del Sur Saposoa District Pausa District Jõgeva County Hradec Králové Region Dominion of New Zealand Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon La Jalca District Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis Jamaica Jönköping County Margraviate of Baden Breisgau-Hochschwarzwald Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Lampung Province Karl-Marx-Stadt District Abancay District East Java Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tarlac Tawi-Tawi Surigao del Sur Omate District Zambales Zamboanga del Norte Fernando Lores District Llata District Kalimantan Selatan North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District Leimebamba District Huancavelica Region Torres Causana District Bangka–Belitung Islands Chuschi District Aguas Verdes Tumbes department Västra Götaland County Sullana District Eastern Samar Ilkhanate Chavín de Huantar District Misamis Oriental Dinagat Islands Davao Oriental Dnipropetrovsk Oblast General Alvarado Partido Nieva District Germany Dresden Government Region Coburg Santa Cruz District Schellenberg Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Querobamba District Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Vysočina Region Biliran Benguet Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Manú Pamparomas District County of Hainaut Bautzen Neubrandenburg District Odenwaldkreis Kreis Bergstraße Darmstadt-Dieburg Groß-Gerau Offenbach Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Suhl District Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Sepahua Hochtaunuskreis Chaupimarca District Canada Banten Province Mito District Corongo District San Marcos District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Rosenheim Karlovy Vary Region Dingolfing-Landau Samuel Pastor District Regen Deggendorf Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pampanga Pangasinan Quezon Quirino West Java Province Romblon Samar Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region Frankfurt (Oder) San Martín Region Erfurt Inambari Lima Region Mittelsachsen Pacasmayo District Cajamarca Swabia Upper Franconia Upper Palatinate Vorpommern-Rügen District Aramango District Enga Province Mecklenburgische Seenplatte District Lower Bavaria Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Huacaybamba Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome South Georgia and the South Sandwich Islands Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
648
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find_reverse
entity County of Chiny
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:capital_of resource:County_of_Chiny . ?g rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:capital_of ?o . ?o rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q140619 Q249884
P6 P802
Q502895
USER
Which people do Saint-Pierre serve as the head of government for or were Nadia Boulanger a notable student of ?
OR((Q249884,P6,c(Q502895)), (Q140619,P802,c(Q502895)))
action filter_type
action union
action find
entity Q249884
relation P6
action find
entity Q140619
relation P802
type Q502895
{'OR': [['Q249884', 'P6', {'concept': 'Q502895'}], ['Q140619', 'P802', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q249884 property:P6 ?h } UNION { resource:Q140619 property:P802 ?h } } . ?h rdf:type ontology:Q502895 }
Nadia Boulanger Saint-Pierre
action filter_type
action union
action find
entity Saint-Pierre
relation head of government
action find
entity Nadia Boulanger
relation student
type common name
{'OR': [['Saint-Pierre', 'head of government', {'concept': 'common name'}], ['Nadia Boulanger', 'student', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Saint-Pierre property:head_of_government ?h } UNION { resource:Nadia_Boulanger property:student ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q7343013 Q15485321 Q214388 Q1491224 Q3181876 Q2059146 Q1893286 Q346908 Q1239398 Q1706827
SYSTEM
Some of them are Robert Cogan, John Lambert, Joseph Horovitz, Gail Kubik, John Kirkpatrick, Paul Chihara, Marcelle de Manziarly, Julio Estrada, Don Paterson, Roger Matton
Q212762 Q7381883 Q278026 Q960716 Q263208 Q2602142 Q454677 Q1275093 Q1611373 Q1441466 Q7964414 Q270662 Q365999 Q4953354 Q5238208 Q958213 Q973747 Q313281 Q5596284 Q961193 Q172505 Q2158341 Q7174667 Q274652 Q721476 Q214388 Q2426455 Q15453098 Q418621 Q426391 Q706781 Q1378542 Q49815 Q436169 Q7343013 Q1293456 Q994568 Q514975 Q7361432 Q2059146 Q8054878 Q2082436 Q732252 Q715863 Q1103858 Q2754110 Q2232385 Q296828 Q12324332 Q6766892 Q563321 Q1489116 Q3350822 Q15485321 Q679092 Q17012522 Q1616171 Q6836519 Q4772946 Q739922 Q2134206 Q544344 Q329021 Q2920338 Q553560 Q5751662 Q441274 Q3431240 Q597101 Q346908 Q5301201 Q5606338 Q4709611 Q7172956 Q16149459 Q1249915 Q15486048 Q6990047 Q877092 Q544485 Q6213319 Q4952364 Q2260860 Q323394 Q3417331 Q318835 Q2054753 Q3309277 Q503355 Q2355601 Q7326912 Q452334 Q507940 Q8565166 Q5361163 Q230412 Q2644646 Q977546 Q362764 Q245372 Q7332280 Q1673631 Q958467 Q1706827 Q918359 Q332963 Q6145768 Q851613 Q324815 Q796345 Q123829 Q7329905 Q6523949 Q7346261 Q152768 Q7682040 Q539794 Q1911369 Q262078 Q6229717 Q464957 Q3180167 Q6779048 Q5536644 Q3181876 Q6183886 Q1491224 Q961581 Q7660958 Q6297584 Q6120843 Q1239398 Q5259268 Q15459406 Q544683 Q544469 Q322080 Q11938387 Q727821 Q324435 Q5294440 Q598077 Q3370229 Q5044530 Q711052 Q193645 Q5056413 Q5113476 Q3309639 Q959136 Q312825 Q746182 Q6688971 Q1342033 Q7183949 Q6264840 Q822678 Q17402703 Q4934165 Q192185 Q6181690 Q7176322 Q434392 Q652558 Q5056062 Q5921005 Q4309772 Q245348 Q519363 Q1344113 Q230978 Q3345857 Q461815 Q2331640 Q15097917 Q553493 Q2960275 Q1729163 Q7647988 Q120187 Q4193734 Q137739 Q1239841 Q6793693 Q5992616 Q5240519 Q3163233 Q7349705 Q1893286 Q5294491 Q284702 Q717687 Q6287958 Q1425389 Q1347993 Q3386313 Q1428724 Q5561072 Q17070156 Q5240827 Q362686 Q160325 Q39319 Q127018 Q5232529 Q16019576 Q3624270 Q2648389 Q1442250 Q189729 Q3171456 Q919140 Q3104295 Q7242524 Q319777 Q273916 Q7349753 Q8006531 Q6303551
OR((Q249884,P6,c(Q502895)), (Q140619,P802,c(Q502895)))
action filter_type
action union
action find
entity Q249884
relation P6
action find
entity Q140619
relation P802
type Q502895
[ANSWERS] Saint-Pierre serve as the head of government for or were Nadia Boulanger a notable student of
{'OR': [['Q249884', 'P6', {'concept': 'Q502895'}], ['Q140619', 'P802', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q249884 property:P6 ?h } UNION { resource:Q140619 property:P802 ?h } } . ?h rdf:type ontology:Q502895 }
Burt Bacharach Russell Woollen H. Wiley Hitchcock Miguel Ángel Estrella Vítězslava Kaprálová Yvar Mikhashoff Diane Bish Nicholas Maw Hermann Haller Francis Dhomont Walter Buczynski Gian Carlo Menotti Adolphus Hailstork James Yannatos David Ohanian Douglas Moore Ingolf Dahl Michel Legrand Grant Johannesen Clifford Curzon Astor Piazzolla Robert Nathaniel Dett Peter Hill Élie Hoarau Vilayat Inayat Khan Joseph Horovitz Thomas Pasatieri Harrison Kerr Akio Yashiro Dalton Baldwin Irving Fine Gerardo Guevara Rob Levin Narciso Yepes Robert Cogan Edward Salim Michael Normand Lockwood Lennox Randal Francis Berkeley Rolv Yttrehus Paul Chihara Yona Ettlinger Emile Naoumoff Laurence Rosenthal Elie Siegmeister Cláudio Santoro Julia Perry Robert Moevs Jacques Ibert Lester Trimble Mark Brunswick Kenneth Gilbert Gabriel Cusson Olivier Bernard John Lambert Soulima Stravinsky Marcelle Soulage John Beckwith Michel Perrault Anthony Lewis Nicolas Zourabichvili Raymond Loucheur Marion Bauer Serge Tcherepnin Oleg Caetani Harold Shapero Hidayat Inayat Khan Joanna Bruzdowicz Richard Stoker Ralph Kirkpatrick Julio Estrada Douglas Allanbrook Francis Chagrin Albert Alan Owen Peter Brewis Martin Amlin Ruth Anderson Vanraj Bhatia Nell Tangeman Henry-Louis de La Grange Virgil Thomson Joel Cohen Boyd McDonald Scott Fields Ross Lee Finney Raffaele D’Alessandro Elliott Carter Robert Russell Bennett Michel Ciry Igor Markevitch Robert Xavier Rodriguez Richard Johnston Maria Curcio Vladimir Cosma Fouzieh Majd Elinor Remick Warren Lili Boulanger Easley Blackwood, Jr. Errol Morris Donald Byrd Zygmunt Mycielski Rico Saccani Isabelle Delorme Leslie Bassett Roger Matton Marc Blitzstein William Sloane Coffin, Jr. James Wood Beveridge Webster Armand Marquiset John Chowning George Gershwin Richard Westenburg Leo Kraft Robert Kapilow Daniel Barenboim Tan Crone Thea Musgrave Maurice Journeau İdil Biret John Donald Robb Noor Inayat Khan Joe Raposo Mary Berry George Balch Wilson John Kirkpatrick Jerry Kirkbride Gail Kubik Stanisław Skrowaczewski Sylvia Marlowe Joyce Mekeel Mary Howe Don Paterson Denoe Leedy Willard Rhodes Noah Creshevsky Pierre Henry Dinu Lipatti Narcís Bonet Geirr Tveitt Andrew Imbrie Donald Grantham Antoni Wit Paul-Alfred Isautier Carol Rosenberger Walter Piston Quincy Jones Cecilia Clare Bocard Christopher Yavelow Michel Fontaine Roy Harris Henryk Szeryng Egberto Gismonti Louise Talma Marius Constant Philip Lasser John Woods Duke Bernard Rogers Dina Koston Bob Telson Aaron Copland Jeremy Menuhin Peter Paul Koprowski Per Nørgård Krzysztof Meyer Cecil Effinger Howard Swanson Daniel Pinkham Zygmunt Krauze Marta Ptaszynska Manuel Rosenthal Grażyna Bacewicz Noël Lee Erzsébet Szőnyi Stanley Bate John La Montaine Arthur Berger Charles Strouse Karel Husa Susan Hurley Hermann Haller Ronald Zollman George Antheil Donald Erb Maurine Stuart Manuel Castillo David Tunley Jay Gottlieb Robert Shafer Marcelle de Manziarly Donald Harris Ginette Neveu István Anhalt Joseph Willard Roosevelt George Walker Stavros Xarchakos Pierre Mollet Alexei Haieff Gilbert Levine Avi Schönfeld David Ward-Steinman José Antônio Rezende de Almeida Prado John Eliot Gardiner Jean Françaix Pierre Mercure David Conte James Stevens Arthur Frackenpohl Allen Shawn Francisco Zumaque Philip Glass Jean Coulthard David Diamond Gerre Hancock Priaulx Rainier Wojciech Kilar Peggy Glanville-Hicks Robert Sherlaw Johnson William Caplin Judith Malafronte
Robert Cogan, John Lambert, Joseph Horovitz, Gail Kubik, John Kirkpatrick, Paul Chihara, Marcelle de Manziarly, Julio Estrada, Don Paterson and Roger Matton Saint-Pierre serve as the head of government for or were Nadia Boulanger a notable student of
Robert Cogan John Lambert Joseph Horovitz Gail Kubik John Kirkpatrick Paul Chihara Marcelle de Manziarly Julio Estrada Don Paterson Roger Matton
action filter_type
action union
action find
entity Saint-Pierre
relation head of government
action find
entity Nadia Boulanger
relation student
type common name
{'OR': [['Saint-Pierre', 'head of government', {'concept': 'common name'}], ['Nadia Boulanger', 'student', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Saint-Pierre property:head_of_government ?h } UNION { resource:Nadia_Boulanger property:student ?h } } . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q140619
P802
Q502895
USER
Were those ones a student of Nadia Boulanger ?
(Q140619,P802,Q7343013) (Q140619,P802,Q15485321) (Q140619,P802,Q214388) (Q140619,P802,Q1491224) (Q140619,P802,Q3181876) (Q140619,P802,Q2059146) (Q140619,P802,Q1893286) (Q140619,P802,Q346908) (Q140619,P802,Q1239398) (Q140619,P802,Q1706827)
action is_in
entity prev_answer
action find
entity Q140619
relation P802
['Q140619', 'P802', 'Q7343013'] ['Q140619', 'P802', 'Q15485321'] ['Q140619', 'P802', 'Q214388'] ['Q140619', 'P802', 'Q1491224'] ['Q140619', 'P802', 'Q3181876'] ['Q140619', 'P802', 'Q2059146'] ['Q140619', 'P802', 'Q1893286'] ['Q140619', 'P802', 'Q346908'] ['Q140619', 'P802', 'Q1239398'] ['Q140619', 'P802', 'Q1706827']
ASK WHERE { resource:Q140619 property:P802 ?r . VALUES ( ?r ) { ( resource:Q212762 ) ( resource:Q7381883 ) ( resource:Q278026 ) } }
Nadia Boulanger
action is_in
entity prev_answer
action find
entity Nadia Boulanger
relation student
['Nadia Boulanger', 'student', 'Robert Cogan'] ['Nadia Boulanger', 'student', 'John Lambert'] ['Nadia Boulanger', 'student', 'Joseph Horovitz'] ['Nadia Boulanger', 'student', 'Gail Kubik'] ['Nadia Boulanger', 'student', 'John Kirkpatrick'] ['Nadia Boulanger', 'student', 'Paul Chihara'] ['Nadia Boulanger', 'student', 'Marcelle de Manziarly'] ['Nadia Boulanger', 'student', 'Julio Estrada'] ['Nadia Boulanger', 'student', 'Don Paterson'] ['Nadia Boulanger', 'student', 'Roger Matton']
ASK WHERE { resource:Nadia_Boulanger property:student ?r . VALUES ( ?r ) { ( resource:Burt_Bacharach ) ( resource:Russell_Woollen ) ( resource:H._Wiley_Hitchcock ) } }
[]
common name
SYSTEM
YES
(Q140619,P802,Q7343013) (Q140619,P802,Q15485321) (Q140619,P802,Q214388) (Q140619,P802,Q1491224) (Q140619,P802,Q3181876) (Q140619,P802,Q2059146) (Q140619,P802,Q1893286) (Q140619,P802,Q346908) (Q140619,P802,Q1239398) (Q140619,P802,Q1706827)
action is_in
entity prev_answer
action find
entity Q140619
relation P802
[ANSWER]
['Q140619', 'P802', 'Q7343013'] ['Q140619', 'P802', 'Q15485321'] ['Q140619', 'P802', 'Q214388'] ['Q140619', 'P802', 'Q1491224'] ['Q140619', 'P802', 'Q3181876'] ['Q140619', 'P802', 'Q2059146'] ['Q140619', 'P802', 'Q1893286'] ['Q140619', 'P802', 'Q346908'] ['Q140619', 'P802', 'Q1239398'] ['Q140619', 'P802', 'Q1706827']
ASK WHERE { resource:Q140619 property:P802 ?r . VALUES ( ?r ) { ( resource:Q212762 ) ( resource:Q7381883 ) ( resource:Q278026 ) } }
Yes
action is_in
entity prev_answer
action find
entity Nadia Boulanger
relation student
['Nadia Boulanger', 'student', 'Robert Cogan'] ['Nadia Boulanger', 'student', 'John Lambert'] ['Nadia Boulanger', 'student', 'Joseph Horovitz'] ['Nadia Boulanger', 'student', 'Gail Kubik'] ['Nadia Boulanger', 'student', 'John Kirkpatrick'] ['Nadia Boulanger', 'student', 'Paul Chihara'] ['Nadia Boulanger', 'student', 'Marcelle de Manziarly'] ['Nadia Boulanger', 'student', 'Julio Estrada'] ['Nadia Boulanger', 'student', 'Don Paterson'] ['Nadia Boulanger', 'student', 'Roger Matton']
ASK WHERE { resource:Nadia_Boulanger property:student ?r . VALUES ( ?r ) { ( resource:Burt_Bacharach ) ( resource:Russell_Woollen ) ( resource:H._Wiley_Hitchcock ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 3817 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3817
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?z <= 3817 ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?j } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3817
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?z <= 3817 ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?j } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3817
[ANSWERS] are played by atmost 3817 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?z <= 3817 ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?j } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by atmost 3817 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3817
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?z <= 3817 ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11158113 Q3181876
P86 P1066
Q502895
USER
Which people were the supervisors of John Kirkpatrick or were Blanda, oder die silberne Birke composed by ?
OR((Q3181876,P1066,c(Q502895)), (Q11158113,P86,c(Q502895)))
action filter_type
action union
action find
entity Q3181876
relation P1066
action find
entity Q11158113
relation P86
type Q502895
{'OR': [['Q3181876', 'P1066', {'concept': 'Q502895'}], ['Q11158113', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . { { resource:Q3181876 property:P1066 ?w } UNION { resource:Q11158113 property:P86 ?w } } }
Blanda, oder die silberne Birke John Kirkpatrick
action filter_type
action union
action find
entity John Kirkpatrick
relation student of
action find
entity Blanda, oder die silberne Birke
relation composer
type common name
{'OR': [['John Kirkpatrick', 'student of', {'concept': 'common name'}], ['Blanda, oder die silberne Birke', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . { { resource:John_Kirkpatrick property:student_of ?w } UNION { resource:Blanda,_oder_die_silberne_Birke property:composer ?w } } }
[]
common name
Q140619 Q642243
SYSTEM
Nadia Boulanger, Jan Kalivoda
Q140619 Q642243
OR((Q3181876,P1066,c(Q502895)), (Q11158113,P86,c(Q502895)))
action filter_type
action union
action find
entity Q3181876
relation P1066
action find
entity Q11158113
relation P86
type Q502895
[ANSWERS] were the supervisors of John Kirkpatrick or were Blanda, oder die silberne Birke composed by
{'OR': [['Q3181876', 'P1066', {'concept': 'Q502895'}], ['Q11158113', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . { { resource:Q3181876 property:P1066 ?w } UNION { resource:Q11158113 property:P86 ?w } } }
Nadia Boulanger Jan Kalivoda
Nadia Boulanger and Jan Kalivoda were the supervisors of John Kirkpatrick or were Blanda, oder die silberne Birke composed by
Nadia Boulanger Jan Kalivoda
action filter_type
action union
action find
entity John Kirkpatrick
relation student of
action find
entity Blanda, oder die silberne Birke
relation composer
type common name
{'OR': [['John Kirkpatrick', 'student of', {'concept': 'common name'}], ['Blanda, oder die silberne Birke', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . { { resource:John_Kirkpatrick property:student_of ?w } UNION { resource:Blanda,_oder_die_silberne_Birke property:composer ?w } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q140619 Q642243
P106
Q12737077
USER
What are the job of those people ?
(Q140619,P106,c(Q12737077)) (Q642243,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q140619', 'P106', {'concept': 'Q12737077'}] ['Q642243', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?m property:P106 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?m ) { ( resource:Q140619 ) ( resource:Q642243 ) } }
Nadia Boulanger Jan Kalivoda
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Nadia Boulanger', 'occupation', {'concept': 'occupation'}] ['Jan Kalivoda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?m property:occupation ?w . ?w rdf:type ontology:occupation . VALUES ( ?m ) { ( resource:Nadia_Boulanger ) ( resource:Jan_Kalivoda ) } }
[]
occupation
Q36834 Q1622272 Q36834
SYSTEM
composer for 1st, 3rd, university teacher for 2nd
Q16145150 Q36834 Q1231865 Q1622272 Q765778 Q14915627 Q158852 Q486748 Q16031530 Q158852 Q1259917 Q36834 Q486748
(Q140619,P106,c(Q12737077)) (Q642243,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q140619', 'P106', {'concept': 'Q12737077'}] ['Q642243', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?m property:P106 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?m ) { ( resource:Q140619 ) ( resource:Q642243 ) } }
music educator composer educationist university teacher organist musicologist conductor pianist music theorist conductor violinist composer pianist
The job of those people are a composer, university teacher and composer
composer university teacher composer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Nadia Boulanger', 'occupation', {'concept': 'occupation'}] ['Jan Kalivoda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?m property:occupation ?w . ?w rdf:type ontology:occupation . VALUES ( ?m ) { ( resource:Nadia_Boulanger ) ( resource:Jan_Kalivoda ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47045
P937
Q502895
USER
Who works at Saint-Denis ?
(c(Q502895),P937,Q47045)
action filter_type
action find_reverse
entity Q47045
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q47045']
SELECT DISTINCT ?v WHERE { ?v property:P937 resource:Q47045 . ?v rdf:type ontology:Q502895 }
Saint-Denis
action filter_type
action find_reverse
entity Saint-Denis
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Saint-Denis']
SELECT DISTINCT ?v WHERE { ?v property:work_location resource:Saint-Denis . ?v rdf:type ontology:common_name }
[]
common name
Q23906252
SYSTEM
Caf' Francisco
Q23906252
(c(Q502895),P937,Q47045)
action filter_type
action find_reverse
entity Q47045
relation P937
type Q502895
[ANSWER] works at Saint-Denis
[{'concept': 'Q502895'}, 'P937', 'Q47045']
SELECT DISTINCT ?v WHERE { ?v property:P937 resource:Q47045 . ?v rdf:type ontology:Q502895 }
Caf' Francisco
Caf' Francisco works at Saint-Denis
Caf' Francisco
action filter_type
action find_reverse
entity Saint-Denis
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Saint-Denis']
SELECT DISTINCT ?v WHERE { ?v property:work_location resource:Saint-Denis . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23906252
P551
Q20667921
USER
Where did that person live ?
(Q23906252,P551,c(Q20667921))
action filter_type
action find
entity Q23906252
relation P551
type Q20667921
['Q23906252', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q23906252 property:P551 ?e . ?e rdf:type ontology:Q20667921 }
Caf' Francisco
action filter_type
action find
entity Caf' Francisco
relation residence
type type of french administrative division
["Caf' Francisco", 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Caf'_Francisco property:residence ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q47045
SYSTEM
Saint-Denis
Q47045
(Q23906252,P551,c(Q20667921))
action filter_type
action find
entity Q23906252
relation P551
type Q20667921
That person lived in [ANSWER]
['Q23906252', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q23906252 property:P551 ?e . ?e rdf:type ontology:Q20667921 }
Saint-Denis
That person lived in Saint-Denis
Saint-Denis
action filter_type
action find
entity Caf' Francisco
relation residence
type type of french administrative division
["Caf' Francisco", 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Caf'_Francisco property:residence ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q47045 Q3105581
P6
Q502895
USER
Does Gilbert Annette have Saint-Denis as its head of government ?
(Q47045,P6,Q3105581)
action is_in
entity Q3105581
action find
entity Q47045
relation P6
['Q47045', 'P6', 'Q3105581']
ASK WHERE { resource:Q47045 property:P6 resource:Q3105581 }
Saint-Denis Gilbert Annette
action is_in
entity Gilbert Annette
action find
entity Saint-Denis
relation head of government
['Saint-Denis', 'head of government', 'Gilbert Annette']
ASK WHERE { resource:Saint-Denis property:head_of_government resource:Gilbert_Annette }
[]
common name
SYSTEM
YES
(Q47045,P6,Q3105581)
action is_in
entity Q3105581
action find
entity Q47045
relation P6
[ANSWER]
['Q47045', 'P6', 'Q3105581']
ASK WHERE { resource:Q47045 property:P6 resource:Q3105581 }
Yes
action is_in
entity Gilbert Annette
action find
entity Saint-Denis
relation head of government
['Saint-Denis', 'head of government', 'Gilbert Annette']
ASK WHERE { resource:Saint-Denis property:head_of_government resource:Gilbert_Annette }
[]