Simple Question (Direct)
Simple Question
Q3190891
P39
Q12737077
USER
Which occupation was a position held by Jérôme Esnault ?
(Q3190891,P39,c(Q12737077))
action filter_type
action find
entity Q3190891
relation P39
type Q12737077
['Q3190891', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q3190891 property:P39 ?j }
Jérôme Esnault
action filter_type
action find
entity Jérôme Esnault
relation position held
type occupation
['Jérôme Esnault', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Jérôme_Esnault property:position_held ?j }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3190891,P39,c(Q12737077))
action filter_type
action find
entity Q3190891
relation P39
type Q12737077
The member of the French National Assembly was a position held by Jérôme Esnault
['Q3190891', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q3190891 property:P39 ?j }
member of the French National Assembly
The member of the French National Assembly was a position held by Jérôme Esnault
member of the French National Assembly
action filter_type
action find
entity Jérôme Esnault
relation position held
type occupation
['Jérôme Esnault', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Jérôme_Esnault property:position_held ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3190891
P166
Q618779
USER
What was won by Jérôme Esnault ?
(Q3190891,P166,c(Q618779))
action filter_type
action find
entity Q3190891
relation P166
type Q618779
['Q3190891', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q3190891 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Jérôme Esnault
action filter_type
action find
entity Jérôme Esnault
relation award received
type award
['Jérôme Esnault', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Jérôme_Esnault property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q3190891,P166,c(Q618779))
action filter_type
action find
entity Q3190891
relation P166
type Q618779
De [ANSWER] was won by Jérôme Esnault
['Q3190891', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q3190891 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Knight of the Legion of Honour
De Knight of the Legion of Honour was won by Jérôme Esnault
Knight of the Legion of Honour
action filter_type
action find
entity Jérôme Esnault
relation award received
type award
['Jérôme Esnault', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Jérôme_Esnault property:award_received ?w . ?w rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3190891
P19
Q20667921
USER
Which french administrative division is the birthplace of that person ?
(Q10855271,P19,c(Q20667921))
action filter_type
action find
entity Q3190891
relation P19
type Q20667921
['Q10855271', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q3190891 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Jérôme Esnault
action filter_type
action find
entity Jérôme Esnault
relation place of birth
type type of french administrative division
['Knight of the Legion of Honour', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Jérôme_Esnault property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q193306
SYSTEM
Falaise
Q193306
(Q10855271,P19,c(Q20667921))
action filter_type
action find
entity Q3190891
relation P19
type Q20667921
[ANSWER] is the birthplace of that person
['Q10855271', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q3190891 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Falaise
Falaise is the birthplace of that person
Falaise
action filter_type
action find
entity Jérôme Esnault
relation place of birth
type type of french administrative division
['Knight of the Legion of Honour', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Jérôme_Esnault property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3502013 Q3190891
P19
Q20667921
USER
Or Stéphane Plaza?
OR((Q3190891,P19,c(Q20667921)), (Q3502013,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3190891
relation P19
action find
entity Q3502013
relation P19
type Q20667921
{'OR': [['Q3190891', 'P19', {'concept': 'Q20667921'}], ['Q3502013', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3190891 property:P19 ?n } UNION { resource:Q3502013 property:P19 ?n } } . ?n rdf:type ontology:Q20667921 }
Stéphane Plaza Jérôme Esnault
action filter_type
action union
action find
entity Jérôme Esnault
relation place of birth
action find
entity Stéphane Plaza
relation place of birth
type type of french administrative division
{'OR': [['Jérôme Esnault', 'place of birth', {'concept': 'type of french administrative division'}], ['Stéphane Plaza', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Jérôme_Esnault property:place_of_birth ?n } UNION { resource:Stéphane_Plaza property:place_of_birth ?n } } . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q193306 Q193929
SYSTEM
Falaise, Suresnes
Q193306 Q193929
OR((Q3190891,P19,c(Q20667921)), (Q3502013,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3190891
relation P19
action find
entity Q3502013
relation P19
type Q20667921
[ANSWERS]
{'OR': [['Q3190891', 'P19', {'concept': 'Q20667921'}], ['Q3502013', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3190891 property:P19 ?n } UNION { resource:Q3502013 property:P19 ?n } } . ?n rdf:type ontology:Q20667921 }
Falaise Suresnes
Falaise Suresnes
action filter_type
action union
action find
entity Jérôme Esnault
relation place of birth
action find
entity Stéphane Plaza
relation place of birth
type type of french administrative division
{'OR': [['Jérôme Esnault', 'place of birth', {'concept': 'type of french administrative division'}], ['Stéphane Plaza', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Jérôme_Esnault property:place_of_birth ?n } UNION { resource:Stéphane_Plaza property:place_of_birth ?n } } . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q668294
P1376
Q7275 Q20667921
USER
Which states have approximately the same number of french administrative divisions as their county seat as Kamerun ?
(c(Q20667921),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q668294
relation P1376
type Q7275
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?t rdf:type ontology:Q20667921 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:Q7275 . resource:Q668294 property:P1376 ?x } } . FILTER ( ?u = ?y ) }
Kamerun
action approx
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Kamerun
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:capital_of ?c . ?c rdf:type ontology:state . ?t rdf:type ontology:type_of_french_administrative_division } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:state . resource:Kamerun property:capital_of ?x } } . FILTER ( ?u = ?y ) }
[]
state type of french administrative division
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q178665 Q46652 Q7559152 Q568523 Q18285930 Q788071 Q207162 Q572222 Q1275158 Q152855 Q174193 Q855044 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q210198 Q31454 Q834486 Q2006542 Q186096 Q133356 Q215530 Q912043 Q501684 Q164079 Q1649871 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q203493 Q523380 Q980 Q1574107 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q2361927 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q698089 Q83821 Q27260 Q249578 Q16410 Q953432 Q215643 Q212278 Q210542 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q2114397 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q220110 Q2670639 Q2412900 Q1414395 Q756895 Q190025 Q229411 Q49697 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q6500954 Q38872 Q107299 Q546282 Q274488 Q11876909 Q541455 Q216173 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q476757 Q1274468 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q234197 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q1108445 Q153080 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q16957 Q1617495 Q1194765 Q1154540 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q550374 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q19831559 Q172107 Q1048918 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q783489 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q618399 Q180573 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q216786 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q752662 Q797422 Q235030 Q1668970 Q320930 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q849623 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q139670 Q1136259 Q1138904 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q7352 Q2086608 Q733799 Q9903 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q941881 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q38060 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q844250 Q181254 Q738144 Q207521 Q2396442 Q1658411 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q157734 Q2088324 Q11909456 Q580188 Q1415585 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q146328 Q248452 Q552157 Q1508143 Q170770 Q30623 Q940821 Q248572 Q697084 Q225890 Q5157575 Q213586 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q11196 Q70972 Q187684 Q1143164 Q1324889 Q146713 Q1164500 Q427941 Q161036 Q2314907 Q2184 Q697837 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q747314 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q307069 Q28278 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q62454 Q1198071 Q889884 Q698239 Q1142179 Q1192067 Q4453003 Q2372248 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q505503 Q169705 Q212439 Q1751495 Q738264 Q153015 Q846670 Q386496 Q696241 Q696242 Q152420 Q11774 Q4843701 Q422065 Q1479726 Q467864 Q76236 Q209857 Q2712121 Q212056 Q13426199 Q964024 Q877155 Q777981 Q487829 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q3041595 Q146597 Q1072362 Q484104 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304 Q648297 Q149805
(c(Q20667921),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q668294
relation P1376
type Q7275
[ANSWERS] have approximately the same number of french administrative divisions as their county seat as Kamerun
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?t rdf:type ontology:Q20667921 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:Q7275 . resource:Q668294 property:P1376 ?x } } . FILTER ( ?u = ?y ) }
Kingdom of Scotland Wuyue Mitanni Malacca sultanate Somali Republic Nobatia German Empire of 1848/1849 Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Kingdom of Tungning United Kingdom of Great Britain and Ireland Bhopal State Hoysala Empire Kingdom of Essex Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Erivan Khanate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Gomma Kingdom of Hanover Kingdom of Poland Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Kingdom of Romania Republic of Central Lithuania Bavaria Han Zhao Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Duchy of Masovia Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Grand Duchy of Würzburg Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Couto Misto Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Yogyakarta Sultanate Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Rohan Powys Wenwynwyn Republic of Salé Republic of South Maluku Kediri Federal Republic of Central America Delhi Sultanate Liu Song dynasty Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Zaire Prussia Kingdom of Northumbria Xia Eastern Wu State of Brazil Anglo-Egyptian Sudan Free City of Danzig French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Kingdom of Redonda Srivijaya Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Kievan Rus' East Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa East Germany Kingdom of Jaén Kamarupa Later Jin Dynasty Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia South African Republic People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Oldenburg Polish–Lithuanian Commonwealth Suebic Kingdom of Galicia Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Later Liang dynasty Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Republic of the Congo South Vietnam Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys Champa First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory Dʿmt Sint Maarten Russian Republic Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Hafsid dynasty Republic of Upper Volta Principality of Antioch Western Qin Cao Wei Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Oyo Empire Western Yan Kara Koyunlu Northern Zhou Arthedain Buyeo kingdom Kingdom of Kongo Democratic Republic of Armenia Southwestern Somalia Kingdom of Afghanistan Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Jin dynasty Western Satraps Kingdom of the Hwicce Ming imperium empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Netherlands New Guinea Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Gaul Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Lordship of Ireland Empire of Nicea United Provinces of the Río de la Plata Abyssinia Kingdom of Galicia and Lodomeria Kingdom of Sarawak Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Islamic State of Afghanistan Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty Commonwealth of the Philippines British North America Nieuwe Republiek Ukrainian State Grand Duchy of Moscow Manchukuo People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Kingdom of Strathclyde Griqualand East Gondor Republic of Brescia Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Republika Srpska Kingdom of France Despotate of Epirus Western Wei Germiyanids Arab Federation Kingdom of Murcia Islamic Emirate of Afghanistan Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Mengjiang Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Bechuanaland Protectorate Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Bamana Empire Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Chen dynasty Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Min Tashkent State Free State of Oldenburg Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Cochinchina Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Saxony Danishmends Kingdom of Montenegro Khanate of Kokand Reorganized National Government of China Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Mongolian People's Republic Republic of China Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Chagatai Khanate Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Republic of Iraq Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam United States Army Military Government in Korea Principality of Lower Pannonia Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic Free State of Brunswick Kingdom of Iraq
Czechoslovakia, Soviet Union and Bavaria have approximately the same number of french administrative divisions as their county seat as Kamerun
Czechoslovakia Soviet Union Bavaria
action approx
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Kamerun
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:capital_of ?c . ?c rdf:type ontology:state . ?t rdf:type ontology:type_of_french_administrative_division } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:state . resource:Kamerun property:capital_of ?x } } . FILTER ( ?u = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q894030
P1376
Q7275 Q20667921
USER
And how about Bornu Empire?
(c(Q20667921),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q894030
relation P1376
type Q7275
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P1376 ?o . ?o rdf:type ontology:Q7275 . ?n rdf:type ontology:Q20667921 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q894030 property:P1376 ?k . ?k rdf:type ontology:Q7275 } } . FILTER ( ?t = ?g ) }
Bornu Empire
action approx
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Bornu Empire
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:capital_of ?o . ?o rdf:type ontology:state . ?n rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Bornu_Empire property:capital_of ?k . ?k rdf:type ontology:state } } . FILTER ( ?t = ?g ) }
[]
state type of french administrative division
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q178665 Q46652 Q7559152 Q568523 Q18285930 Q788071 Q207162 Q572222 Q1275158 Q152855 Q174193 Q855044 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q210198 Q31454 Q834486 Q2006542 Q186096 Q133356 Q215530 Q912043 Q501684 Q164079 Q1649871 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q203493 Q523380 Q980 Q1574107 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q2361927 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q698089 Q83821 Q27260 Q249578 Q16410 Q953432 Q215643 Q212278 Q210542 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q2114397 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q220110 Q2670639 Q2412900 Q1414395 Q756895 Q190025 Q229411 Q49697 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q6500954 Q38872 Q107299 Q546282 Q274488 Q11876909 Q541455 Q216173 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q476757 Q1274468 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q234197 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q1108445 Q153080 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q16957 Q1617495 Q1194765 Q1154540 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q550374 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q19831559 Q172107 Q1048918 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q783489 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q618399 Q180573 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q216786 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q752662 Q797422 Q235030 Q1668970 Q320930 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q849623 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q139670 Q1136259 Q1138904 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q7352 Q2086608 Q733799 Q9903 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q941881 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q38060 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q844250 Q181254 Q738144 Q207521 Q2396442 Q1658411 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q157734 Q2088324 Q11909456 Q580188 Q1415585 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q146328 Q248452 Q552157 Q1508143 Q170770 Q30623 Q940821 Q248572 Q697084 Q225890 Q5157575 Q213586 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q11196 Q70972 Q187684 Q1143164 Q1324889 Q146713 Q1164500 Q427941 Q161036 Q2314907 Q2184 Q697837 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q747314 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q307069 Q28278 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q62454 Q1198071 Q889884 Q698239 Q1142179 Q1192067 Q4453003 Q2372248 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q505503 Q169705 Q212439 Q1751495 Q738264 Q153015 Q846670 Q386496 Q696241 Q696242 Q152420 Q11774 Q4843701 Q422065 Q1479726 Q467864 Q76236 Q209857 Q2712121 Q212056 Q13426199 Q964024 Q877155 Q777981 Q487829 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q3041595 Q146597 Q1072362 Q484104 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304 Q648297 Q149805
(c(Q20667921),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q894030
relation P1376
type Q7275
[ANSWERS]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P1376 ?o . ?o rdf:type ontology:Q7275 . ?n rdf:type ontology:Q20667921 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q894030 property:P1376 ?k . ?k rdf:type ontology:Q7275 } } . FILTER ( ?t = ?g ) }
Kingdom of Scotland Wuyue Mitanni Malacca sultanate Somali Republic Nobatia German Empire of 1848/1849 Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Kingdom of Tungning United Kingdom of Great Britain and Ireland Bhopal State Hoysala Empire Kingdom of Essex Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Erivan Khanate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Gomma Kingdom of Hanover Kingdom of Poland Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Kingdom of Romania Republic of Central Lithuania Bavaria Han Zhao Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Duchy of Masovia Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Grand Duchy of Würzburg Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Couto Misto Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Yogyakarta Sultanate Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Rohan Powys Wenwynwyn Republic of Salé Republic of South Maluku Kediri Federal Republic of Central America Delhi Sultanate Liu Song dynasty Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Zaire Prussia Kingdom of Northumbria Xia Eastern Wu State of Brazil Anglo-Egyptian Sudan Free City of Danzig French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Kingdom of Redonda Srivijaya Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Kievan Rus' East Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa East Germany Kingdom of Jaén Kamarupa Later Jin Dynasty Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia South African Republic People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Oldenburg Polish–Lithuanian Commonwealth Suebic Kingdom of Galicia Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Later Liang dynasty Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Republic of the Congo South Vietnam Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys Champa First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory Dʿmt Sint Maarten Russian Republic Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Hafsid dynasty Republic of Upper Volta Principality of Antioch Western Qin Cao Wei Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Oyo Empire Western Yan Kara Koyunlu Northern Zhou Arthedain Buyeo kingdom Kingdom of Kongo Democratic Republic of Armenia Southwestern Somalia Kingdom of Afghanistan Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Jin dynasty Western Satraps Kingdom of the Hwicce Ming imperium empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Netherlands New Guinea Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Gaul Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Lordship of Ireland Empire of Nicea United Provinces of the Río de la Plata Abyssinia Kingdom of Galicia and Lodomeria Kingdom of Sarawak Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Islamic State of Afghanistan Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty Commonwealth of the Philippines British North America Nieuwe Republiek Ukrainian State Grand Duchy of Moscow Manchukuo People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Kingdom of Strathclyde Griqualand East Gondor Republic of Brescia Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Republika Srpska Kingdom of France Despotate of Epirus Western Wei Germiyanids Arab Federation Kingdom of Murcia Islamic Emirate of Afghanistan Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Mengjiang Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Bechuanaland Protectorate Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Bamana Empire Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Chen dynasty Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Min Tashkent State Free State of Oldenburg Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Cochinchina Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Saxony Danishmends Kingdom of Montenegro Khanate of Kokand Reorganized National Government of China Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Mongolian People's Republic Republic of China Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Chagatai Khanate Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Republic of Iraq Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam United States Army Military Government in Korea Principality of Lower Pannonia Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic Free State of Brunswick Kingdom of Iraq
Czechoslovakia Soviet Union Bavaria
action approx
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Bornu Empire
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:capital_of ?o . ?o rdf:type ontology:state . ?n rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Bornu_Empire property:capital_of ?k . ?k rdf:type ontology:state } } . FILTER ( ?t = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6083755
P122
Q56061 Q1048835 Q7275
USER
How many states have approximately the same number of administrative territories and political territories as government as Islands of Refreshment ?
(c(Q7275),P122,c(Q56061)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q7275
type Q56061
action find_tuple_counts
relation P122
type Q7275
type Q1048835
action count
action filter_multi_types
action find
entity Q6083755
relation P122
type Q56061
type Q1048835
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?o WHERE { { ?o property:P122 ?r . ?o rdf:type ontology:Q7275 . ?r rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q7275 . ?o property:P122 ?r } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q6083755 property:P122 ?v . { { ?v rdf:type ontology:Q56061 } UNION { ?v rdf:type ontology:Q1048835 } } } } . FILTER ( ?g = ?x ) }
Islands of Refreshment
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type state
type administrative territorial entity
action find_tuple_counts
relation basic form of government
type state
type political territorial entity
action count
action filter_multi_types
action find
entity Islands of Refreshment
relation basic form of government
type administrative territorial entity
type political territorial entity
[{'concept': 'state'}, 'basic form of government', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?o WHERE { { ?o property:basic_form_of_government ?r . ?o rdf:type ontology:state . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:state . ?o property:basic_form_of_government ?r } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Islands_of_Refreshment property:basic_form_of_government ?v . { { ?v rdf:type ontology:administrative_territorial_entity } UNION { ?v rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?g = ?x ) }
[]
administrative territorial entity political territorial entity state
SYSTEM
239
Q241748 Q211853 Q484104 Q180573 Q105092 Q3185305 Q172107 Q1538311 Q152115 Q285658 Q18285930 Q2414171 Q179876 Q218023 Q889374 Q798431 Q3456417 Q154401 Q174193 Q965174 Q282475 Q1269234 Q889394 Q48685 Q552157 Q229411 Q201038 Q761370 Q431731 Q175881 Q330988 Q1852345 Q1194329 Q533558 Q1423680 Q617218 Q2253783 Q13107370 Q986665 Q744042 Q209065 Q10988528 Q2308237 Q19801186 Q204920 Q1998866 Q207162 Q142417 Q834486 Q545205 Q131964 Q726798 Q133356 Q215530 Q150058 Q62589 Q161885 Q4461035 Q33946 Q150056 Q83572 Q11876909 Q139319 Q191077 Q234009 Q271570 Q903779 Q841364 Q16957 Q558596 Q1649871 Q941881 Q1194765 Q514423 Q62623 Q870055 Q713750 Q544630 Q1057542 Q16949002 Q1789596 Q550374 Q1152126 Q44642 Q853348 Q203493 Q696908 Q147909 Q555994 Q980 Q652560 Q220167 Q2980623 Q1636212 Q737040 Q112558 Q124943 Q317078 Q503623 Q940123 Q14934927 Q137766 Q172579 Q153128 Q867782 Q877579 Q551798 Q210036 Q1277557 Q633573 Q1483430 Q200896 Q1068408 Q623751 Q49683 Q330362 Q736936 Q8146595 Q12557 Q2456191 Q310293 Q15864 Q212439 Q844250 Q1362278 Q267584 Q303421 Q207521 Q1658411 Q153015 Q2342822 Q1078602 Q75613 Q71092 Q1479726 Q15180 Q6083755 Q698089 Q1406298 Q179293 Q28278 Q157734 Q600093 Q170072 Q7382038 Q467864 Q76236 Q209857 Q1415585 Q953432 Q1115291 Q170174 Q4843701 Q212056 Q21005050 Q175276 Q210542 Q422065 Q7318 Q42585 Q170468 Q146328 Q487829 Q2365048 Q1138904 Q956451 Q27306 Q1493843 Q1508143 Q146713 Q156038 Q30623 Q736727 Q230407 Q940821 Q824489 Q157727 Q2088324 Q248572 Q189988 Q1192936 Q199841 Q71747 Q615902 Q1077630 Q1322229 Q173761 Q217196 Q16624774 Q23541302 Q199442 Q154195 Q13706 Q498735 Q1775277 Q173082 Q121932 Q680997 Q38872 Q4948 Q1152445 Q156020 Q16410 Q153660 Q1240096 Q1771831 Q70972 Q1986139 Q2145397 Q2353425 Q582861 Q1517772 Q1142179 Q12548 Q211274 Q158725 Q588672 Q6412664 Q6500954 Q1083009 Q391980 Q80211 Q1054184 Q1029847 Q832554 Q1155768 Q157367 Q427941 Q1044668 Q266923 Q1061488 Q41304 Q752662 Q797422 Q206411 Q2184 Q2578706 Q1885093 Q149805
(c(Q7275),P122,c(Q56061)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q7275
type Q56061
action find_tuple_counts
relation P122
type Q7275
type Q1048835
action count
action filter_multi_types
action find
entity Q6083755
relation P122
type Q56061
type Q1048835
[ANSWER]
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?o WHERE { { ?o property:P122 ?r . ?o rdf:type ontology:Q7275 . ?r rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q7275 . ?o property:P122 ?r } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q6083755 property:P122 ?v . { { ?v rdf:type ontology:Q56061 } UNION { ?v rdf:type ontology:Q1048835 } } } } . FILTER ( ?g = ?x ) }
Kingdom of Serbia Republic of Serbian Krajina United States Army Military Government in Korea South Vietnam Kingdom of Mercia Kingdom of Israel Polish–Lithuanian Commonwealth Travancore-Cochin Duchy of Warsaw First Mexican Empire German Empire of 1848/1849 First Brazilian Republic Kingdom of England Orange Free State Warsangali Sultanate Republic of Dahomey Republic of Saint-Malo Slovak Republic United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Kartli-Kakheti Stellaland Portuguese Mozambique Judah Nieuwe Republiek Delhi Sultanate Roman Kingdom Aro Confederacy Tanganyika Roman Republic Democratic Kampuchea Trucial States Nova Roma Kingdom of Croatia-Slavonia Gay and Lesbian Kingdom of the Coral Sea Islands Yamhad Kingdom of Glywysing Principality of Serbia First East Turkestan Republic Grand Duchy of Avram Kingdom of Greece Second East Turkestan Republic Ahom kingdom Liberland Crown of Aragon Czech and Slovak Federal Republic Bourbon Restoration Kingdom of Valencia Federation of South Arabia Transcaucasian Socialist Federative Soviet Republic Austrian Empire Tulunids Ukrainian Soviet Socialist Republic Kingdom of Ireland Travancore Union between Sweden and Norway Kingdom of Great Britain Akkadian empire Czechoslovakia Kingdom of Cochin Sikh Empire State of Brazil Russian Republic Kingdom of Yugoslavia Magadha Kingdom of Araucanía and Patagonia United Kingdom of Portugal, Brazil and the Algarves Ayutthaya Kingdom East Germany Hadiya Kingdom Kingdom of Poland Netherlands New Guinea Kamarupa Parthenopean Republic Kalmar Union Kingdom of Laos West Germany Republic of Maryland Republic of Hawaii Lordship of Brecknock Croatia in personal union with Hungary South African Republic People's Republic of the Congo Federation of Arab Republics Czechoslovak Socialist Republic Kingdom of Romania Kingdom of Poland Kingdom of Bulgaria Ag Qoyunlu Bavaria West Indies Federation Lydenburg Republic Kingdom of Bosnia Karabakh Khanate Islamic Courts Union Republic of Saugeais Kingdom of Egypt Pskov Republic Gold Coast Rustamid dynasty Murrawarri Republic Free Republic of Wendland Kingdom of Italy Independent State of Croatia Kingdom of Funan Kugelmugel Grand Duchy of Flandrensis Chechen Republic of Ichkeria Democratic Federal Yugoslavia Kingdom of Rheged Principality of Kiev Slovak Soviet Republic Kuru Kingdom Kingdom of Bernicia Grand Duchy of Lithuania Commonwealth of England Lu Upingtonia Mongol Empire Kingdom of Seisyllwg Saar Protectorate United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland United States of Stellaland Yemen Arab Republic Kingdom of Galicia Abyssinia Kingdom of Sarawak Kingdom of Saxony West Pakistan Kingdom of Nepal Almoravid dynasty Second French Empire Federation of Malaya Soviet Union Islands of Refreshment Grand Duchy of Würzburg Serbian Empire Kingdom of Castile Provisional Government of the Republic of Korea Muscat and Oman Habsburg Spain Dutch Republic Imperial Throne People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Islamic State of Afghanistan Couto Misto Thonburi Kingdom Papal States Libyan Arab Jamahiriya Mongolian People's Republic Kingdom of Morgannwg Kingdom of León Second Brazilian Republic Sultanate of Sulu Nazi Germany Kingdom of Bohemia United Arab Republic Commonwealth of the Philippines Chagatai Khanate Adal Sultanate Kingdom of Afghanistan Kingdom of Dyfed Kingdom of Prussia Klein Vrystaat Ukrainian State Arab Federation Duchy of Courland and Semigallia Manchukuo Republic of Siena Kingdom of Israel People's Democratic Republic of Ethiopia Estado Novo Ifat Sultanate Colonial Brazil Sultanate of Maguindanao Central African Empire Kingdom of Burundi South Yemen Duchy of Brittany Kingdom of Finland Septinsular Republic Enlightenment in Spain Lithuanian Soviet Socialist Republic Crown of Castile Kingdom of Nicoya Kaluga Soviet Republic Kingdom of Aragon Kingdom of Bavaria Principality of Sealand division of Korea Dominion of India Dacia People's Republic of Bulgaria Principality of Lower Pannonia Prussia Republic of Venice Aerican Empire State of the Teutonic Order People's Republic of Hungary Italian Social Republic Hyderabad State Kruševo Republic Kingdom of France Parthian Empire Goshen (South Africa) Talossa Marinid dynasty Protectorate of South Arabia Orange River Colony Holy Roman Empire People's Republic of Poland Tanganyika Territory Hammadid dynasty Realm of Stefan Dragutin Zaire Principality of Wy Free Territory of Trieste Lithuanian Soviet Socialist Republic Khmer Republic Natalia Republic Argentine Confederation Republic of Molossia Brandenburg-Prussia Islamic Emirate of Afghanistan Republic of Rose Island Kingdom of Mysore United States of Colombia Weimar Republic Hafsid dynasty Republic of Upper Volta Democratic Republic of Azerbaijan Russian Soviet Federative Socialist Republic Kingdom of Ceredigion Mahra Sultanate Kingdom of Iraq
239
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type state
type administrative territorial entity
action find_tuple_counts
relation basic form of government
type state
type political territorial entity
action count
action filter_multi_types
action find
entity Islands of Refreshment
relation basic form of government
type administrative territorial entity
type political territorial entity
[{'concept': 'state'}, 'basic form of government', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?o WHERE { { ?o property:basic_form_of_government ?r . ?o rdf:type ontology:state . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:state . ?o property:basic_form_of_government ?r } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Islands_of_Refreshment property:basic_form_of_government ?v . { { ?v rdf:type ontology:administrative_territorial_entity } UNION { ?v rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?g = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16898171
P1376
Q7275 Q486972
USER
How many human settlements are the capital of greater number of states than Băile Herculane ?
(c(Q486972),P1376,c(Q7275))
action count
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q7275
action count
action filter_type
action find
entity Q16898171
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?h ) WHERE { ?l property:P1376 ?c . ?l rdf:type ontology:Q486972 . ?c rdf:type ontology:Q7275 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q16898171 property:P1376 ?w . ?w rdf:type ontology:Q486972 } } . FILTER ( ?h > ?x ) }
Băile Herculane
action count
action greater
action find_tuple_counts
relation capital of
type human settlement
type state
action count
action filter_type
action find
entity Băile Herculane
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?h ) WHERE { ?l property:capital_of ?c . ?l rdf:type ontology:human_settlement . ?c rdf:type ontology:state } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Băile_Herculane property:capital_of ?w . ?w rdf:type ontology:human_settlement } } . FILTER ( ?h > ?x ) }
[]
state human settlement
SYSTEM
8
Q2627464 Q56037 Q104725 Q7420386 Q3777 Q1792 Q31487 Q200441
(c(Q486972),P1376,c(Q7275))
action count
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q7275
action count
action filter_type
action find
entity Q16898171
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?h ) WHERE { ?l property:P1376 ?c . ?l rdf:type ontology:Q486972 . ?c rdf:type ontology:Q7275 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q16898171 property:P1376 ?w . ?w rdf:type ontology:Q486972 } } . FILTER ( ?h > ?x ) }
Almaliq East Berlin Płock Santiago de Rubiás Ouagadougou Gdańsk Kraków Antioch
8
action count
action greater
action find_tuple_counts
relation capital of
type human settlement
type state
action count
action filter_type
action find
entity Băile Herculane
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?h ) WHERE { ?l property:capital_of ?c . ?l rdf:type ontology:human_settlement . ?c rdf:type ontology:state } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Băile_Herculane property:capital_of ?w . ?w rdf:type ontology:human_settlement } } . FILTER ( ?h > ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q980
P551
Q502895
USER
Which people have residence at Bavaria ?
(c(Q502895),P551,Q980)
action filter_type
action find_reverse
entity Q980
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q980']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q980 . ?y rdf:type ontology:Q502895 }
Bavaria
action filter_type
action find_reverse
entity Bavaria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bavaria']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:Bavaria . ?y rdf:type ontology:common_name }
[]
common name
Q44426 Q44068 Q77087
SYSTEM
Rainer Werner Fassbinder, Dirk Nowitzki, Klaus Mann
Q77087 Q76498 Q100205 Q100329 Q44068 Q44426 Q90947 Q101140 Q100028
(c(Q502895),P551,Q980)
action filter_type
action find_reverse
entity Q980
relation P551
type Q502895
[ANSWERS] have residence at Bavaria
[{'concept': 'Q502895'}, 'P551', 'Q980']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q980 . ?y rdf:type ontology:Q502895 }
Klaus Mann Michael Ende Jakob Graf zu Eltz Michael Welker Dirk Nowitzki Rainer Werner Fassbinder Hans Schwaier Fritz Pröll Jörg Hube
Rainer Werner Fassbinder, Dirk Nowitzki and Klaus Mann have residence at Bavaria
Rainer Werner Fassbinder Dirk Nowitzki Klaus Mann
action filter_type
action find_reverse
entity Bavaria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bavaria']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:Bavaria . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q44426 Q44068 Q77087
P106
Q12737077
USER
What are the job of those people ?
(Q44426,P106,c(Q12737077)) (Q44068,P106,c(Q12737077)) (Q77087,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q44426', 'P106', {'concept': 'Q12737077'}] ['Q44068', 'P106', {'concept': 'Q12737077'}] ['Q77087', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?w ) { ( resource:Q77087 ) ( resource:Q76498 ) ( resource:Q100205 ) } . ?w property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Rainer Werner Fassbinder Dirk Nowitzki Klaus Mann
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Rainer Werner Fassbinder', 'occupation', {'concept': 'occupation'}] ['Dirk Nowitzki', 'occupation', {'concept': 'occupation'}] ['Klaus Mann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?w ) { ( resource:Klaus_Mann ) ( resource:Michael_Ende ) ( resource:Jakob_Graf_zu_Eltz ) } . ?w property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q3665646 Q1930187 Q2059704
SYSTEM
basketball player, journalist, television director
Q2059704 Q33999 Q36180 Q3665646 Q4263842 Q1930187 Q333634 Q36180
(Q44426,P106,c(Q12737077)) (Q44068,P106,c(Q12737077)) (Q77087,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The job of those people are a [ANSWERS]
['Q44426', 'P106', {'concept': 'Q12737077'}] ['Q44068', 'P106', {'concept': 'Q12737077'}] ['Q77087', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?w ) { ( resource:Q77087 ) ( resource:Q76498 ) ( resource:Q100205 ) } . ?w property:P106 ?x . ?x rdf:type ontology:Q12737077 }
television director actor writer basketball player literary critic journalist translator writer
The job of those people are a basketball player, journalist and television director
basketball player journalist television director
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Rainer Werner Fassbinder', 'occupation', {'concept': 'occupation'}] ['Dirk Nowitzki', 'occupation', {'concept': 'occupation'}] ['Klaus Mann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?w ) { ( resource:Klaus_Mann ) ( resource:Michael_Ende ) ( resource:Jakob_Graf_zu_Eltz ) } . ?w property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3665646
P425
Q349
USER
Who has that one as the associated field of occupation ?
(Q3665646,P425,c(Q349))
action filter_type
action find
entity Q3665646
relation P425
type Q349
['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q3665646 property:P425 ?s }
basketball player
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:basketball_player property:field_of_this_occupation ?s }
[]
sport
Clarification for simple ques.
Q3665646
SYSTEM
Did you mean basketball player ?
Q3665646 Q1930187 Q2059704
(Q3665646,P425,c(Q349)) (Q1930187,P425,c(Q349)) (Q2059704,P425,c(Q349))
[ANSWER]
['Q3665646', 'P425', {'concept': 'Q349'}] ['Q1930187', 'P425', {'concept': 'Q349'}] ['Q2059704', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q3665646 property:P425 ?s }
basketball player journalist television director
Did you mean basketball player ?
basketball player
['basketball player', 'field of this occupation', {'concept': 'sport'}] ['journalist', 'field of this occupation', {'concept': 'sport'}] ['television director', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:basketball_player property:field_of_this_occupation ?s }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3665646,P425,c(Q349))
['Q3665646', 'P425', {'concept': 'Q349'}]
['basketball player', 'field of this occupation', {'concept': 'sport'}]
[]
Q5372
SYSTEM
basketball
Q5372
(Q3665646,P425,c(Q349))
action filter_type
action find
entity Q3665646
relation P425
type Q349
[ANSWER] has that one as the associated field of occupation
['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q3665646 property:P425 ?s }
basketball
Basketball has that one as the associated field of occupation
basketball
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:basketball_player property:field_of_this_occupation ?s }
[]