Simple Question (Direct)
Simple Question
Q6146752
P106
Q12737077
USER
What does Jamie Collins do for a living ?
(Q6146752,P106,c(Q12737077))
action filter_type
action find
entity Q6146752
relation P106
type Q12737077
['Q6146752', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q6146752 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Jamie Collins
action filter_type
action find
entity Jamie Collins
relation occupation
type occupation
['Jamie Collins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Jamie_Collins property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6146752,P106,c(Q12737077))
action filter_type
action find
entity Q6146752
relation P106
type Q12737077
[ANSWER] Jamie Collins does for a living
['Q6146752', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q6146752 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
association football player
Association football player Jamie Collins does for a living
association football player
action filter_type
action find
entity Jamie Collins
relation occupation
type occupation
['Jamie Collins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Jamie_Collins property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6146752
P21
Q290
USER
What is the sex of Jamie Collins ?
(Q6146752,P21,c(Q290))
action filter_type
action find
entity Q6146752
relation P21
type Q290
['Q6146752', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q6146752 property:P21 ?h . ?h rdf:type ontology:Q290 }
Jamie Collins
action filter_type
action find
entity Jamie Collins
relation gender
type sex
['Jamie Collins', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Jamie_Collins property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6146752,P21,c(Q290))
action filter_type
action find
entity Q6146752
relation P21
type Q290
The sex of Jamie Collins is a [ANSWER]
['Q6146752', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q6146752 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Jamie Collins is a male
male
action filter_type
action find
entity Jamie Collins
relation gender
type sex
['Jamie Collins', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Jamie_Collins property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6146752
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q6146752
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q6146752 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Jamie Collins
action filter_type
action find
entity Jamie Collins
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jamie_Collins property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q6146752
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q6146752 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person a civilian of
United Kingdom
action filter_type
action find
entity Jamie Collins
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jamie_Collins property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q5255025 Q191384
P463
Q43229
USER
Is that administrative territory a member of Demand Media and International Bank for Reconstruction and Development ?
(Q145,P463,Q5255025) (Q145,P463,Q191384)
action is_in
entity Q145
action intersection
action find_reverse
entity Q5255025
relation P463
action find_reverse
entity Q191384
relation P463
['Q145', 'P463', 'Q5255025'] ['Q145', 'P463', 'Q191384']
ASK WHERE { resource:Q145 property:P463 resource:Q5255025 . resource:Q145 property:P463 resource:Q191384 }
United Kingdom Demand Media International Bank for Reconstruction and Development
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Demand Media
relation member of
action find_reverse
entity International Bank for Reconstruction and Development
relation member of
['United Kingdom', 'member of', 'Demand Media'] ['United Kingdom', 'member of', 'International Bank for Reconstruction and Development']
ASK WHERE { resource:United_Kingdom property:member_of resource:Demand_Media . resource:United_Kingdom property:member_of resource:International_Bank_for_Reconstruction_and_Development }
[]
organization
SYSTEM
NO and YES respectively
(Q145,P463,Q5255025) (Q145,P463,Q191384)
action is_in
entity Q145
action intersection
action find_reverse
entity Q5255025
relation P463
action find_reverse
entity Q191384
relation P463
[ANSWER]
['Q145', 'P463', 'Q5255025'] ['Q145', 'P463', 'Q191384']
ASK WHERE { resource:Q145 property:P463 resource:Q5255025 . resource:Q145 property:P463 resource:Q191384 }
NO and YES respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Demand Media
relation member of
action find_reverse
entity International Bank for Reconstruction and Development
relation member of
['United Kingdom', 'member of', 'Demand Media'] ['United Kingdom', 'member of', 'International Bank for Reconstruction and Development']
ASK WHERE { resource:United_Kingdom property:member_of resource:Demand_Media . resource:United_Kingdom property:member_of resource:International_Bank_for_Reconstruction_and_Development }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6146752 Q105315 Q8026481
P19
Q56061
USER
Was Jamie Collins born at Bolokhovo and Winterland ?
(Q6146752,P19,Q105315) (Q6146752,P19,Q8026481)
action is_in
entity Q6146752
action intersection
action find_reverse
entity Q105315
relation P19
action find_reverse
entity Q8026481
relation P19
['Q6146752', 'P19', 'Q105315'] ['Q6146752', 'P19', 'Q8026481']
ASK WHERE { resource:Q6146752 property:P19 resource:Q105315 . resource:Q6146752 property:P19 resource:Q8026481 }
Jamie Collins Bolokhovo Winterland
action is_in
entity Jamie Collins
action intersection
action find_reverse
entity Bolokhovo
relation place of birth
action find_reverse
entity Winterland
relation place of birth
['Jamie Collins', 'place of birth', 'Bolokhovo'] ['Jamie Collins', 'place of birth', 'Winterland']
ASK WHERE { resource:Jamie_Collins property:place_of_birth resource:Bolokhovo . resource:Jamie_Collins property:place_of_birth resource:Winterland }
[]
administrative territorial entity
SYSTEM
NO
(Q6146752,P19,Q105315) (Q6146752,P19,Q8026481)
action is_in
entity Q6146752
action intersection
action find_reverse
entity Q105315
relation P19
action find_reverse
entity Q8026481
relation P19
[ANSWER]
['Q6146752', 'P19', 'Q105315'] ['Q6146752', 'P19', 'Q8026481']
ASK WHERE { resource:Q6146752 property:P19 resource:Q105315 . resource:Q6146752 property:P19 resource:Q8026481 }
No
action is_in
entity Jamie Collins
action intersection
action find_reverse
entity Bolokhovo
relation place of birth
action find_reverse
entity Winterland
relation place of birth
['Jamie Collins', 'place of birth', 'Bolokhovo'] ['Jamie Collins', 'place of birth', 'Winterland']
ASK WHERE { resource:Jamie_Collins property:place_of_birth resource:Bolokhovo . resource:Jamie_Collins property:place_of_birth resource:Winterland }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3852068
Q15617994
USER
And how about Matteo Belli?
(Q3852068,P27,c(Q15617994))
action filter_type
action find
entity Q3852068
relation P27
type Q15617994
['Q3852068', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q3852068 property:P27 ?f }
Matteo Belli
action filter_type
action find
entity Matteo Belli
relation country of citizenship
type designation for an administrative territorial entity
['Matteo Belli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Matteo_Belli property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3852068,P27,c(Q15617994))
action filter_type
action find
entity Q3852068
relation P27
type Q15617994
[ANSWER]
['Q3852068', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q3852068 property:P27 ?f }
Italy
Italy
action filter_type
action find
entity Matteo Belli
relation country of citizenship
type designation for an administrative territorial entity
['Matteo Belli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Matteo_Belli property:country_of_citizenship ?f }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with exactly 4 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 4
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?p ) WHERE { ?v property:P530 ?h . ?v rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?p = 4 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?p ) WHERE { ?v property:diplomatic_relation ?h . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?p = 4 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q32 Q34 Q884
SYSTEM
Luxembourg, Sweden, South Korea
Q889 Q884 Q881 Q32 Q34 Q423 Q843 Q227 Q1033
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 4
[ANSWERS] hold diplomatic relationship with exactly 4 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?p ) WHERE { ?v property:P530 ?h . ?v rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?p = 4 ) }
Afghanistan South Korea Vietnam Luxembourg Sweden North Korea Pakistan Azerbaijan Nigeria
Luxembourg, Sweden and South Korea hold diplomatic relationship with exactly 4 administrative territories
Luxembourg Sweden South Korea
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?p ) WHERE { ?v property:diplomatic_relation ?h . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?p = 4 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q639100
P1376
Q15617994 Q20667921 Q515
USER
Which administrative territories have lesser number of french administrative divisions and cities have their first city than Principality of Reuss-Gera ?
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q639100
relation P1376
type Q20667921
type Q515
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?u ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?p rdf:type ?u } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P1376 resource:Q639100 . { VALUES ( ?q ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?k rdf:type ?q } } } . FILTER ( ?v < ?i ) }
Principality of Reuss-Gera
action less
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Principality of Reuss-Gera
relation capital of
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?u ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?p rdf:type ?u } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:capital_of resource:Principality_of_Reuss-Gera . { VALUES ( ?q ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?k rdf:type ?q } } } . FILTER ( ?v < ?i ) }
[]
designation for an administrative territorial entity type of french administrative division city
Q38 Q30 Q230
SYSTEM
Italy, United States of America, Georgia
Q805 Q804 Q801 Q800 Q1098820 Q419 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q398 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q1974 Q2527360 Q699731 Q611074 Q2007299 Q1254171 Q220249 Q979470 Q1270648 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q1280 Q1282 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q815731 Q31074 Q31075 Q96 Q311803 Q29937 Q117 Q30786 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q34020 Q541589 Q760 Q14762300 Q3528124 Q2719360 Q1243 Q945 Q731547 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q1090684 Q1263830 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q290739 Q45 Q43 Q41 Q792 Q1232680 Q1452646 Q231168 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1101 Q1206596 Q3139 Q686312 Q902 Q1036 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q2562901 Q31068 Q31067 Q31065 Q1270568 Q1773268 Q30835 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q3044651 Q3044715 Q176 Q30682 Q30683 Q2091235 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3044623 Q651394 Q30946 Q3044781 Q239502 Q712 Q710 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 Q511365 Q654849 Q2038939 Q311794 Q20 Q28 Q1366860 Q148 Q598193 Q227 Q30650 Q223 Q221 Q311668 Q229 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q2921370 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q2380910 Q1438 Q686 Q30832 Q891165 Q817 Q810 Q811 Q813 Q18046648 Q819 Q29 Q617646 Q12545 Q2309262 Q863 Q2023 Q869 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q474421 Q2009 Q12820 Q265 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2003 Q2662372 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q770 Q1856181 Q1077283 Q921 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q30797 Q1904 Q30815 Q153402 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q8575586 Q672 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q639100
relation P1376
type Q20667921
type Q515
[ANSWERS] have lesser number of french administrative divisions and cities have their first city than Principality of Reuss-Gera
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?u ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?p rdf:type ?u } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P1376 resource:Q639100 . { VALUES ( ?q ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?k rdf:type ?q } } } . FILTER ( ?v < ?i ) }
Yemen Panama Israel Costa Rica Gênes Peru Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Bahrain Frise Uthukela District Municipality Prince Edward Island Russia 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 Umbria Lazio Abruzzo Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Belarus Mozambique Morocco Ems-Oriental Ourthe Calabria Basilicata Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Umgungundlovu District Municipality Aswan Governorate 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 Tibre Duchy of Luxembourg Veneto Togo Lippe Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Montserrat Frances Baard District Municipality Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Sesia Portugal Turkey Greece El Salvador Ithaque Montenotte 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 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 Niger Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen West Coast District Municipality Dakahlia Governorate Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Gharbia Governorate East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad Louverture Ozama Quebec Matrouh Governorate Beni Suef Governorate 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 Kiribati 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 Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Norway Hungary Escaut People's Republic of China Apennins Azerbaijan New Valley Governorate Greenland Republic of Macedonia UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Bouches-de-l'Èbre-Montserrat Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon 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 Hérault Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan 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 Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Luxor Governorate Ontario South Sinai Governorate Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Tonga Umayyad Caliphate Tuvalu Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
Italy, United States of America and Georgia have lesser number of french administrative divisions and cities have their first city than Principality of Reuss-Gera
Italy United States of America Georgia
action less
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Principality of Reuss-Gera
relation capital of
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?u ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?p rdf:type ?u } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:capital_of resource:Principality_of_Reuss-Gera . { VALUES ( ?q ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?k rdf:type ?q } } } . FILTER ( ?v < ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people are the heads of the government of United States of America ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Q30 property:P6 ?p . ?p rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:United_States_of_America property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Q30 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:United_States_of_America property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q502217
P6
Q502895
USER
And how about Lavangen?
(Q502217,P6,c(Q502895))
action count
action filter_type
action find
entity Q502217
relation P6
type Q502895
['Q502217', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q502217 property:P6 ?b }
Lavangen
action count
action filter_type
action find
entity Lavangen
relation head of government
type common name
['Lavangen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:common_name . resource:Lavangen property:head_of_government ?b }
[]
common name
SYSTEM
1
Q16179240
(Q502217,P6,c(Q502895))
action count
action filter_type
action find
entity Q502217
relation P6
type Q502895
[ANSWER]
['Q502217', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q502217 property:P6 ?b }
Erling Bratsberg
1
action count
action filter_type
action find
entity Lavangen
relation head of government
type common name
['Lavangen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:common_name . resource:Lavangen property:head_of_government ?b }
[]