Simple Question (Direct)
Simple Question
Q1031645
P102
Q7210356
USER
Which party is Jean-Louis Bianco affiliated with ?
(Q1031645,P102,c(Q7210356))
action filter_type
action find
entity Q1031645
relation P102
type Q7210356
['Q1031645', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q1031645 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Jean-Louis Bianco
action filter_type
action find
entity Jean-Louis Bianco
relation member of political party
type political organization
['Jean-Louis Bianco', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Jean-Louis_Bianco property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q1031645,P102,c(Q7210356))
action filter_type
action find
entity Q1031645
relation P102
type Q7210356
Jean-Louis Bianco is affiliated with [ANSWER]
['Q1031645', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q1031645 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Socialist Party
Jean-Louis Bianco is affiliated with Socialist Party
Socialist Party
action filter_type
action find
entity Jean-Louis Bianco
relation member of political party
type political organization
['Jean-Louis Bianco', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Jean-Louis_Bianco property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1031645
P6
Q20667921
USER
Which french administrative division is that person the head of the goverment of ?
(c(Q20667921),P6,Q170972)
action filter_type
action find_reverse
entity Q1031645
relation P6
type Q20667921
[{'concept': 'Q20667921'}, 'P6', 'Q170972']
SELECT DISTINCT ?u WHERE { ?u property:P6 resource:Q1031645 . ?u rdf:type ontology:Q20667921 }
Jean-Louis Bianco
action filter_type
action find_reverse
entity Jean-Louis Bianco
relation head of government
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'head of government', 'Socialist Party']
SELECT DISTINCT ?u WHERE { ?u property:head_of_government resource:Jean-Louis_Bianco . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q181306
SYSTEM
Digne-les-Bains
Q181306
(c(Q20667921),P6,Q170972)
action filter_type
action find_reverse
entity Q1031645
relation P6
type Q20667921
[ANSWER] is that person the head of the goverment of
[{'concept': 'Q20667921'}, 'P6', 'Q170972']
SELECT DISTINCT ?u WHERE { ?u property:P6 resource:Q1031645 . ?u rdf:type ontology:Q20667921 }
Digne-les-Bains
Digne-les-Bains is that person the head of the goverment of
Digne-les-Bains
action filter_type
action find_reverse
entity Jean-Louis Bianco
relation head of government
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'head of government', 'Socialist Party']
SELECT DISTINCT ?u WHERE { ?u property:head_of_government resource:Jean-Louis_Bianco . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q181306 Q1138854 Q867222
P47
Q20667921
USER
Does Digne-les-Bains share border with Theuville and Châteauredon ?
(Q181306,P47,Q1138854) (Q181306,P47,Q867222)
action is_in
entity Q181306
action intersection
action find_reverse
entity Q1138854
relation P47
action find_reverse
entity Q867222
relation P47
['Q181306', 'P47', 'Q1138854'] ['Q181306', 'P47', 'Q867222']
ASK WHERE { resource:Q181306 property:P47 resource:Q1138854 . resource:Q181306 property:P47 resource:Q867222 }
Digne-les-Bains Theuville Châteauredon
action is_in
entity Digne-les-Bains
action intersection
action find_reverse
entity Theuville
relation shares border with
action find_reverse
entity Châteauredon
relation shares border with
['Digne-les-Bains', 'shares border with', 'Theuville'] ['Digne-les-Bains', 'shares border with', 'Châteauredon']
ASK WHERE { resource:Digne-les-Bains property:shares_border_with resource:Theuville . resource:Digne-les-Bains property:shares_border_with resource:Châteauredon }
[]
type of french administrative division
SYSTEM
NO and YES respectively
(Q181306,P47,Q1138854) (Q181306,P47,Q867222)
action is_in
entity Q181306
action intersection
action find_reverse
entity Q1138854
relation P47
action find_reverse
entity Q867222
relation P47
[ANSWER]
['Q181306', 'P47', 'Q1138854'] ['Q181306', 'P47', 'Q867222']
ASK WHERE { resource:Q181306 property:P47 resource:Q1138854 . resource:Q181306 property:P47 resource:Q867222 }
NO and YES respectively
action is_in
entity Digne-les-Bains
action intersection
action find_reverse
entity Theuville
relation shares border with
action find_reverse
entity Châteauredon
relation shares border with
['Digne-les-Bains', 'shares border with', 'Theuville'] ['Digne-les-Bains', 'shares border with', 'Châteauredon']
ASK WHERE { resource:Digne-les-Bains property:shares_border_with resource:Theuville . resource:Digne-les-Bains property:shares_border_with resource:Châteauredon }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3334
P1376
Q15617994 Q20667921
USER
How many administrative territories have less number of french administrative divisions as their capital than Haute-Corse ?
(c(Q20667921),P1376,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find_reverse
entity Q3334
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P1376 ?z . ?k rdf:type ontology:Q20667921 . ?z rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P1376 resource:Q3334 . ?b rdf:type ontology:Q20667921 } } . FILTER ( ?n < ?i ) }
Haute-Corse
action count
action less
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_reverse
entity Haute-Corse
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:capital_of ?z . ?k rdf:type ontology:type_of_french_administrative_division . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:capital_of resource:Haute-Corse . ?b rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?n < ?i ) }
[]
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 less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find_reverse
entity Q3334
relation P1376
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P1376 ?z . ?k rdf:type ontology:Q20667921 . ?z rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P1376 resource:Q3334 . ?b rdf:type ontology:Q20667921 } } . FILTER ( ?n < ?i ) }
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 less
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_reverse
entity Haute-Corse
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:capital_of ?z . ?k rdf:type ontology:type_of_french_administrative_division . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:capital_of resource:Haute-Corse . ?b rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?n < ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q12765
P1376
Q15617994 Q20667921
USER
And how about Deux-Sèvres?
(c(Q20667921),P1376,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find_reverse
entity Q12765
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P1376 resource:Q12765 . ?c rdf:type ontology:Q20667921 } } . FILTER ( ?f < ?x ) . { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P1376 ?p . ?p rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q20667921 } GROUP BY ?p } }
Deux-Sèvres
action count
action less
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_reverse
entity Deux-Sèvres
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:capital_of resource:Deux-Sèvres . ?c rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?f < ?x ) . { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:capital_of ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:type_of_french_administrative_division } GROUP BY ?p } }
[]
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 less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find_reverse
entity Q12765
relation P1376
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P1376 resource:Q12765 . ?c rdf:type ontology:Q20667921 } } . FILTER ( ?f < ?x ) . { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P1376 ?p . ?p rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q20667921 } GROUP BY ?p } }
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 less
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_reverse
entity Deux-Sèvres
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:capital_of resource:Deux-Sèvres . ?c rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?f < ?x ) . { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:capital_of ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:type_of_french_administrative_division } GROUP BY ?p } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q7275 Q20667921
USER
Which states have approximately 1 french administrative division as their capital ?
(c(Q20667921),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
value 1
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ontology:Q20667921 . ?k rdf:type ontology:Q7275 . ?d property:P1376 ?k } GROUP BY ?k } }
action approx
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?k rdf:type ontology:state . ?d property:capital_of ?k } GROUP BY ?k } }
[]
state type of french administrative division
Q3456417 Q842091 Q112558
SYSTEM
Republic of Saint-Malo, Duchy of Normandy, Republic of Saugeais
Q3456417 Q842091 Q112558
(c(Q20667921),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
value 1
[ANSWERS] have approximately 1 french administrative division as their capital
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ontology:Q20667921 . ?k rdf:type ontology:Q7275 . ?d property:P1376 ?k } GROUP BY ?k } }
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
Republic of Saint-Malo, Duchy of Normandy and Republic of Saugeais have approximately 1 french administrative division as their capital
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
action approx
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?k rdf:type ontology:state . ?d property:capital_of ?k } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3456417
P36
Q20667921
USER
Which french administrative division is called the capital of Republic of Saint-Malo ?
(Q3456417,P36,c(Q20667921))
action filter_type
action find
entity Q3456417
relation P36
type Q20667921
['Q3456417', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q3456417 property:P36 ?h . ?h rdf:type ontology:Q20667921 }
Republic of Saint-Malo
action filter_type
action find
entity Republic of Saint-Malo
relation capital
type type of french administrative division
['Republic of Saint-Malo', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Republic_of_Saint-Malo property:capital ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q163108
SYSTEM
Saint-Malo
Q163108
(Q3456417,P36,c(Q20667921))
action filter_type
action find
entity Q3456417
relation P36
type Q20667921
[ANSWER] is called the capital of Republic of [ANSWER]
['Q3456417', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q3456417 property:P36 ?h . ?h rdf:type ontology:Q20667921 }
Saint-Malo
Saint-Malo is called the capital of Republic of Saint-Malo
Saint-Malo
action filter_type
action find
entity Republic of Saint-Malo
relation capital
type type of french administrative division
['Republic of Saint-Malo', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Republic_of_Saint-Malo property:capital ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q163108
P138
Q376799
USER
Which transport infrastructure is the eponym of that french administrative division ?
(c(Q376799),P138,Q163108)
action filter_type
action find_reverse
entity Q163108
relation P138
type Q376799
[{'concept': 'Q376799'}, 'P138', 'Q163108']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q163108 . ?q rdf:type ontology:Q376799 }
Saint-Malo
action filter_type
action find_reverse
entity Saint-Malo
relation named after
type transport infrastructure
[{'concept': 'transport infrastructure'}, 'named after', 'Saint-Malo']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Saint-Malo . ?q rdf:type ontology:transport_infrastructure }
[]
transport infrastructure
Q3449931
SYSTEM
rue Saint-Malo
Q3449931
(c(Q376799),P138,Q163108)
action filter_type
action find_reverse
entity Q163108
relation P138
type Q376799
[ANSWER] is the eponym of that french administrative division
[{'concept': 'Q376799'}, 'P138', 'Q163108']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q163108 . ?q rdf:type ontology:Q376799 }
rue Saint-Malo
Rue Saint-Malo is the eponym of that french administrative division
rue Saint-Malo
action filter_type
action find_reverse
entity Saint-Malo
relation named after
type transport infrastructure
[{'concept': 'transport infrastructure'}, 'named after', 'Saint-Malo']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Saint-Malo . ?q rdf:type ontology:transport_infrastructure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163108
P276
Q13219666
USER
What is located at Saint-Malo ?
(c(Q13219666),P276,Q163108)
action filter_type
action find_reverse
entity Q163108
relation P276
type Q13219666
[{'concept': 'Q13219666'}, 'P276', 'Q163108']
SELECT DISTINCT ?j WHERE { ?j property:P276 resource:Q163108 . ?j rdf:type ontology:Q13219666 }
Saint-Malo
action filter_type
action find_reverse
entity Saint-Malo
relation location
type tennis tournament
[{'concept': 'tennis tournament'}, 'location', 'Saint-Malo']
SELECT DISTINCT ?j WHERE { ?j property:location resource:Saint-Malo . ?j rdf:type ontology:tennis_tournament }
[]
tennis tournament
Q18087837
SYSTEM
2014 L'Open Emeraude Solaire de Saint-Malo
Q18087837
(c(Q13219666),P276,Q163108)
action filter_type
action find_reverse
entity Q163108
relation P276
type Q13219666
[ANSWER] is located at Saint-Malo
[{'concept': 'Q13219666'}, 'P276', 'Q163108']
SELECT DISTINCT ?j WHERE { ?j property:P276 resource:Q163108 . ?j rdf:type ontology:Q13219666 }
2014 L'Open Emeraude Solaire de Saint-Malo
2014 L'Open Emeraude Solaire de Saint-Malo is located at Saint-Malo
2014 L'Open Emeraude Solaire de Saint-Malo
action filter_type
action find_reverse
entity Saint-Malo
relation location
type tennis tournament
[{'concept': 'tennis tournament'}, 'location', 'Saint-Malo']
SELECT DISTINCT ?j WHERE { ?j property:location resource:Saint-Malo . ?j rdf:type ontology:tennis_tournament }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163108
P190
Q56061
USER
Which administrative territory is twin city of Saint-Malo ?
(Q163108,P190,c(Q56061))
action filter_type
action find
entity Q163108
relation P190
type Q56061
['Q163108', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q163108 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Saint-Malo
action filter_type
action find
entity Saint-Malo
relation sister city
type administrative territorial entity
['Saint-Malo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Saint-Malo property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3929
SYSTEM
Port Louis
Q3929
(Q163108,P190,c(Q56061))
action filter_type
action find
entity Q163108
relation P190
type Q56061
[ANSWER] is twin city of Saint-Malo
['Q163108', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q163108 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Port Louis
Port Louis is twin city of Saint-Malo
Port Louis
action filter_type
action find
entity Saint-Malo
relation sister city
type administrative territorial entity
['Saint-Malo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Saint-Malo property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21996819 Q1031645
P27 P495
Q15617994
USER
Which administrative territories are Jean-Louis Bianco a civilian of or are the origins of Wallander ?
OR((Q1031645,P27,c(Q15617994)), (Q21996819,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1031645
relation P27
action find
entity Q21996819
relation P495
type Q15617994
{'OR': [['Q1031645', 'P27', {'concept': 'Q15617994'}], ['Q21996819', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1031645 property:P27 ?b } UNION { resource:Q21996819 property:P495 ?b } } . ?b rdf:type ontology:Q15617994 }
Wallander Jean-Louis Bianco
action filter_type
action union
action find
entity Jean-Louis Bianco
relation country of citizenship
action find
entity Wallander
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Jean-Louis Bianco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wallander', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jean-Louis_Bianco property:country_of_citizenship ?b } UNION { resource:Wallander property:country_of_origin ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q34
SYSTEM
France, Sweden
Q142 Q34
OR((Q1031645,P27,c(Q15617994)), (Q21996819,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1031645
relation P27
action find
entity Q21996819
relation P495
type Q15617994
[ANSWERS] are Jean-Louis Bianco a civilian of or are the origins of Wallander
{'OR': [['Q1031645', 'P27', {'concept': 'Q15617994'}], ['Q21996819', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1031645 property:P27 ?b } UNION { resource:Q21996819 property:P495 ?b } } . ?b rdf:type ontology:Q15617994 }
France Sweden
France and Sweden are Jean-Louis Bianco a civilian of or are the origins of Wallander
France Sweden
action filter_type
action union
action find
entity Jean-Louis Bianco
relation country of citizenship
action find
entity Wallander
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Jean-Louis Bianco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wallander', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jean-Louis_Bianco property:country_of_citizenship ?b } UNION { resource:Wallander property:country_of_origin ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P551
Q5073797 Q502895
USER
How many Characterss in Disney's Beauty and the Beast and people lives in that administrative territory ?
(c(Q5073797),P551,Q142) (c(Q502895),P551,Q142) (c(Q5073797),P551,Q142) (c(Q502895),P551,Q142) (c(Q5073797),P551,Q34) (c(Q502895),P551,Q34)
[{'concept': 'Q5073797'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q5073797'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q5073797'}, 'P551', 'Q34'] [{'concept': 'Q502895'}, 'P551', 'Q34']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q27150063 resource:Q16275867 } UNION { ?y property:Q27150063 resource:Q16275867 } UNION { ?z property:Q27150063 resource:Q16275867 } UNION { ?y property:Q27150063 resource:Q16275867 } UNION { ?z property:Q27150063 resource:Q7654287 } UNION { ?y property:Q27150063 resource:Q7654287 } } . ?z rdf:type ontology:Q5073797 . ?y rdf:type ontology:Q502895 }
[{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'France'] [{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'France'] [{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'Sweden'] [{'concept': 'common name'}, 'residence', 'Sweden']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:residence resource:France } UNION { ?y property:residence resource:France } UNION { ?z property:residence resource:France } UNION { ?y property:residence resource:France } UNION { ?z property:residence resource:Sweden } UNION { ?y property:residence resource:Sweden } } . ?z rdf:type ontology:Characters_in_Disney's_Beauty_and_the_Beast . ?y rdf:type ontology:common_name }
[]
Characters in Disney's Beauty and the Beast common name
Quantitative|Count|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q27150063 resource:Q16275867 } UNION { ?y property:Q27150063 resource:Q16275867 } UNION { ?z property:Q27150063 resource:Q16275867 } UNION { ?y property:Q27150063 resource:Q16275867 } UNION { ?z property:Q27150063 resource:Q7654287 } UNION { ?y property:Q27150063 resource:Q7654287 } } . ?z rdf:type ontology:Q5073797 . ?y rdf:type ontology:Q502895 }
Did you mean France ?
France
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:residence resource:France } UNION { ?y property:residence resource:France } UNION { ?z property:residence resource:France } UNION { ?y property:residence resource:France } UNION { ?z property:residence resource:Sweden } UNION { ?y property:residence resource:Sweden } } . ?z rdf:type ontology:Characters_in_Disney's_Beauty_and_the_Beast . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q5073797),P551,Q142) (c(Q502895),P551,Q142) (c(Q5073797),P551,Q142) (c(Q502895),P551,Q142) (c(Q5073797),P551,Q34) (c(Q502895),P551,Q34)
[{'concept': 'Q5073797'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q5073797'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q5073797'}, 'P551', 'Q34'] [{'concept': 'Q502895'}, 'P551', 'Q34']
[{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'France'] [{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'France'] [{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'Sweden'] [{'concept': 'common name'}, 'residence', 'Sweden']
[]
SYSTEM
1 Characterss in Disney's Beauty and the Beast and 66 people
Q6072265 Q17141465 Q34248 Q7925920 Q1287583 Q23726522 Q5612768 Q42831 Q360312 Q2907955 Q1010504 Q2895607 Q16663593 Q18278048 Q20872764 Q20721 Q20203092 Q7348968 Q3131277 Q19845625 Q14943164 Q465681 Q22136999 Q26922710 Q18590538 Q17071396 Q18695634 Q7915490 Q557546 Q245363 Q2405968 Q2254007 Q683660 Q4768865 Q2269136 Q23843063 Q2947608 Q25865472 Q93166 Q102804 Q23888162 Q23888163 Q8006910 Q17486002 Q2646836 Q19629253 Q5671358 Q15429884 Q12888221 Q20730830 Q1399562 Q326449 Q2580510 Q2848090 Q16533765 Q2866245 Q3553283 Q3186257 Q16734991 Q333563 Q2877725 Q3218950 Q3275875 Q5398352 Q3436933 Q729117 Q23866372
(c(Q5073797),P551,Q142) (c(Q502895),P551,Q142) (c(Q5073797),P551,Q142) (c(Q502895),P551,Q142) (c(Q5073797),P551,Q34) (c(Q502895),P551,Q34)
[ANSWER]
[{'concept': 'Q5073797'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q5073797'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q5073797'}, 'P551', 'Q34'] [{'concept': 'Q502895'}, 'P551', 'Q34']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q27150063 resource:Q16275867 } UNION { ?y property:Q27150063 resource:Q16275867 } UNION { ?z property:Q27150063 resource:Q16275867 } UNION { ?y property:Q27150063 resource:Q16275867 } UNION { ?z property:Q27150063 resource:Q7654287 } UNION { ?y property:Q27150063 resource:Q7654287 } } . ?z rdf:type ontology:Q5073797 . ?y rdf:type ontology:Q502895 }
Pere Puig Subinyà Altantuya Shaaribuu Camila Giorgi Victor Garcia Momčilo Đujić Philippe Burin des Roziers Grégoire Burquier Ivan Turgenev Antoine-Augustin Parmentier Bobby Holcomb Gillian Hills Ben Zimet Marvin Jefferson Gabriel Spat Mark Moogalian Luigi Cherubini Victoria Muntean Robert Pope Henri Hiro Andra Waagmeester Alain Schneider Sophie, Countess of Ségur Nabil Canaan Aline Gohard-Radenkovic Esteban Pérez Pérez Mathias Bourgue Étienne Cornevin Varaz Samuelian Tran Anh Hung Zygmunt Mineyko Gianni Mina Avner W. Less Johann Gaudenz von Salis-Seewis Anne Villiers, Countess of Morton Gaston Leonardo D'Antoni Chahla Chafiq-Beski Michaël Magne Milan Kundera Henri Moissan Kim Tran-Nhut Thanh-Van Tran-Nhut William Close HJ Lim Alice Anderson Jacques Dessalines Carles Reig i Morell Mary Elizabeth Hawker Bruno Saura Marc Boudin Emil Grunzweig Abram Petrovich Gannibal Paul Haviland André Larivière Bruno Duthoit As Thiam Vahé Katcha José Cuneo Mark Rappaport Niccolò dell'Abbate Baba de Faucigny-Lucinge Laurence Vidal Adeline Dudlay Eslanda Goode Robeson Roberto Maria Grassi Edmund White Delphine Lehericey
1 Characterss in Disney's Beauty and the Beast and 66 people
[{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'France'] [{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'France'] [{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'Sweden'] [{'concept': 'common name'}, 'residence', 'Sweden']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:residence resource:France } UNION { ?y property:residence resource:France } UNION { ?z property:residence resource:France } UNION { ?y property:residence resource:France } UNION { ?z property:residence resource:Sweden } UNION { ?y property:residence resource:Sweden } } . ?z rdf:type ontology:Characters_in_Disney's_Beauty_and_the_Beast . ?y rdf:type ontology:common_name }
[]