Simple Question (Direct)
Simple Question
Q11738188
P20
Q33506
USER
Where did the expiration of Kazimierz Orlicz occur ?
(Q11738188,P20,c(Q33506))
action filter_type
action find
entity Q11738188
relation P20
type Q33506
['Q11738188', 'P20', {'concept': 'Q33506'}]
SELECT DISTINCT ?q WHERE { resource:Q11738188 property:P20 ?q . ?q rdf:type ontology:Q33506 }
Kazimierz Orlicz
action filter_type
action find
entity Kazimierz Orlicz
relation place of death
type museum
['Kazimierz Orlicz', 'place of death', {'concept': 'museum'}]
SELECT DISTINCT ?q WHERE { resource:Kazimierz_Orlicz property:place_of_death ?q . ?q rdf:type ontology:museum }
[]
museum
Q326193
SYSTEM
Stutthof concentration camp
Q326193
(Q11738188,P20,c(Q33506))
action filter_type
action find
entity Q11738188
relation P20
type Q33506
The expiration of Kazimierz Orlicz occurred in [ANSWER]
['Q11738188', 'P20', {'concept': 'Q33506'}]
SELECT DISTINCT ?q WHERE { resource:Q11738188 property:P20 ?q . ?q rdf:type ontology:Q33506 }
Stutthof concentration camp
The expiration of Kazimierz Orlicz occurred in Stutthof concentration camp
Stutthof concentration camp
action filter_type
action find
entity Kazimierz Orlicz
relation place of death
type museum
['Kazimierz Orlicz', 'place of death', {'concept': 'museum'}]
SELECT DISTINCT ?q WHERE { resource:Kazimierz_Orlicz property:place_of_death ?q . ?q rdf:type ontology:museum }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11738188
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q326193,P27,c(Q15617994))
action filter_type
action find
entity Q11738188
relation P27
type Q15617994
['Q326193', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q11738188 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Kazimierz Orlicz
action filter_type
action find
entity Kazimierz Orlicz
relation country of citizenship
type designation for an administrative territorial entity
['Stutthof concentration camp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Kazimierz_Orlicz property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q326193,P27,c(Q15617994))
action filter_type
action find
entity Q11738188
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q326193', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q11738188 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Poland
Poland is the country of citizenship of that person
Poland
action filter_type
action find
entity Kazimierz Orlicz
relation country of citizenship
type designation for an administrative territorial entity
['Stutthof concentration camp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Kazimierz_Orlicz property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11738188
P106
Q12737077
USER
How many occupations are the professions of Kazimierz Orlicz ?
(Q11738188,P106,c(Q12737077))
action count
action filter_type
action find
entity Q11738188
relation P106
type Q12737077
['Q11738188', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q11738188 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Kazimierz Orlicz
action count
action filter_type
action find
entity Kazimierz Orlicz
relation occupation
type occupation
['Kazimierz Orlicz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Kazimierz_Orlicz property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q81096 Q42973
(Q11738188,P106,c(Q12737077))
action count
action filter_type
action find
entity Q11738188
relation P106
type Q12737077
[ANSWER]
['Q11738188', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q11738188 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
engineer architect
2
action count
action filter_type
action find
entity Kazimierz Orlicz
relation occupation
type occupation
['Kazimierz Orlicz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Kazimierz_Orlicz property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11738188
P19
Q486972
USER
Which human settlement was that person born in ?
action filter_type
action find
entity Q11738188
relation P19
type Q486972
SELECT DISTINCT ?c WHERE { resource:Q11738188 property:P19 ?c . ?c rdf:type ontology:Q486972 }
Kazimierz Orlicz
action filter_type
action find
entity Kazimierz Orlicz
relation place of birth
type human settlement
SELECT DISTINCT ?c WHERE { resource:Kazimierz_Orlicz property:place_of_birth ?c . ?c rdf:type ontology:human_settlement }
[]
human settlement
Q2017377
SYSTEM
Okocim
Q2017377
action filter_type
action find
entity Q11738188
relation P19
type Q486972
That person was born in [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q11738188 property:P19 ?c . ?c rdf:type ontology:Q486972 }
Okocim
That person was born in Okocim
Okocim
action filter_type
action find
entity Kazimierz Orlicz
relation place of birth
type human settlement
SELECT DISTINCT ?c WHERE { resource:Kazimierz_Orlicz property:place_of_birth ?c . ?c rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have place of birth as that human settlement ?
(c(Q502895),P19,Q2017377)
action count
action filter_type
action find_reverse
entity Q2017377
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2017377']
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P19 resource:Q2017377 . ?o rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Okocim
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Okocim']
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:place_of_birth resource:Okocim . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q11717695 Q9341628 Q1344809 Q11738188 Q82280
(c(Q502895),P19,Q2017377)
action count
action filter_type
action find_reverse
entity Q2017377
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q2017377']
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P19 resource:Q2017377 . ?o rdf:type ontology:Q502895 }
Jan Hnatowicz Stanisław Bobrowski Władysław Orlicz Kazimierz Orlicz Julian Nowak
5
action count
action filter_type
action find_reverse
entity Okocim
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Okocim']
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:place_of_birth resource:Okocim . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q7275 Q486972
USER
Which states have min number of human settlements as their county seat ?
(c(Q486972),P1376,Q149805)
action argmin
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
[{'concept': 'Q486972'}, 'P1376', 'Q149805']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?o ) WHERE { ?i rdf:type ontology:Q7275 . ?c rdf:type ontology:Q486972 . ?c property:P1376 ?i } GROUP BY ?i } } . FILTER ( ?q = ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P1376 ?e . ?e rdf:type ontology:Q7275 . ?s rdf:type ontology:Q486972 } GROUP BY ?e } }
action argmin
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'Kingdom of Iraq']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?o ) WHERE { ?i rdf:type ontology:state . ?c rdf:type ontology:human_settlement . ?c property:capital_of ?i } GROUP BY ?i } } . FILTER ( ?q = ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:capital_of ?e . ?e rdf:type ontology:state . ?s rdf:type ontology:human_settlement } GROUP BY ?e } }
[]
state human settlement
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q178665 Q46652 Q7559152 Q568523 Q18285930 Q788071 Q207162 Q572222 Q1275158 Q3456417 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 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 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q698089 Q83821 Q27260 Q249578 Q16410 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 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 Q1617495 Q1194765 Q1154540 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q550374 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q19831559 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 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 Q842091 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 Q112558 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 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(Q486972),P1376,Q149805)
action argmin
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
[ANSWERS] have min number of human settlements as their county seat
[{'concept': 'Q486972'}, 'P1376', 'Q149805']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?o ) WHERE { ?i rdf:type ontology:Q7275 . ?c rdf:type ontology:Q486972 . ?c property:P1376 ?i } GROUP BY ?i } } . FILTER ( ?q = ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P1376 ?e . ?e rdf:type ontology:Q7275 . ?s rdf:type ontology:Q486972 } GROUP BY ?e } }
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 Republic of Saint-Malo 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 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 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 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 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 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 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 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 Duchy of Normandy 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 Republic of Saugeais 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 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 min number of human settlements as their county seat
Czechoslovakia Soviet Union Bavaria
action argmin
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'Kingdom of Iraq']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?o ) WHERE { ?i rdf:type ontology:state . ?c rdf:type ontology:human_settlement . ?c property:capital_of ?i } GROUP BY ?i } } . FILTER ( ?q = ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:capital_of ?e . ?e rdf:type ontology:state . ?s rdf:type ontology:human_settlement } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P137
Q811979 Q43229
USER
How many architectural structures and organizations were operated by Poland ?
(c(Q811979),P137,Q36) (c(Q43229),P137,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P137
type Q811979
action filter_type
action find_reverse
entity Q36
relation P137
type Q43229
[{'concept': 'Q811979'}, 'P137', 'Q36'] [{'concept': 'Q43229'}, 'P137', 'Q36']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q811979 ) ( ontology:Q43229 ) } }
Poland
action count
action union
action filter_type
action find_reverse
entity Poland
relation operator
type architectural structure
action filter_type
action find_reverse
entity Poland
relation operator
type organization
[{'concept': 'architectural structure'}, 'operator', 'Poland'] [{'concept': 'organization'}, 'operator', 'Poland']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:architectural_structure ) ( ontology:organization ) } }
[]
architectural structure organization
SYSTEM
1 architectural structures and 1 organizations
Q5369828 Q129110
(c(Q811979),P137,Q36) (c(Q43229),P137,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P137
type Q811979
action filter_type
action find_reverse
entity Q36
relation P137
type Q43229
[ANSWER]
[{'concept': 'Q811979'}, 'P137', 'Q36'] [{'concept': 'Q43229'}, 'P137', 'Q36']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q811979 ) ( ontology:Q43229 ) } }
Embassy of Poland, Stockholm Telewizja Polska
1 architectural structures and 1 organizations
action count
action union
action filter_type
action find_reverse
entity Poland
relation operator
type architectural structure
action filter_type
action find_reverse
entity Poland
relation operator
type organization
[{'concept': 'architectural structure'}, 'operator', 'Poland'] [{'concept': 'organization'}, 'operator', 'Poland']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:architectural_structure ) ( ontology:organization ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q22676587 Q56061 Q7275
USER
How many states have atleast 1 monarchic systems or administrative territories as the type of government ?
(c(Q7275),P122,c(Q22676587)|c(Q56061))
action count
action atleast
action union
action find_tuple_counts
relation P122
type Q7275
type Q22676587
action find_tuple_counts
relation P122
type Q7275
type Q56061
value 1
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?s >= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?p WHERE { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q22676587 ) } } GROUP BY ?p } }
action count
action atleast
action union
action find_tuple_counts
relation basic form of government
type state
type monarchic system
action find_tuple_counts
relation basic form of government
type state
type administrative territorial entity
value 1
[{'concept': 'state'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?s >= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?p WHERE { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:monarchic_system ) } } GROUP BY ?p } }
[]
monarchic system administrative territorial entity state
SYSTEM
13
Q210163 Q2340665 Q172107 Q2475921 Q190513 Q631210 Q2006542 Q83572 Q1649871 Q37024 Q186537 Q10921634 Q5148517
(c(Q7275),P122,c(Q22676587)|c(Q56061))
action count
action atleast
action union
action find_tuple_counts
relation P122
type Q7275
type Q22676587
action find_tuple_counts
relation P122
type Q7275
type Q56061
value 1
[ANSWER]
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?s >= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?p WHERE { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q22676587 ) } } GROUP BY ?p } }
Astrakhan Khanate Basutoland Polish–Lithuanian Commonwealth Outer Mongolia Khanate of Sibir Nogai Horde Dominion of Pakistan Sikh Empire Kingdom of Poland Serbia and Montenegro Khanate of Kazan Khoshut Khanate Colony and Protectorate of Nigeria
13
action count
action atleast
action union
action find_tuple_counts
relation basic form of government
type state
type monarchic system
action find_tuple_counts
relation basic form of government
type state
type administrative territorial entity
value 1
[{'concept': 'state'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?s >= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?p WHERE { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:monarchic_system ) } } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P710
Q1190554
USER
What event were Soviet Union a participant of ?
(c(Q1190554),P710,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q15180']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q15180 . ?u rdf:type ontology:Q1190554 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation participant
type event
[{'concept': 'event'}, 'participant', 'Soviet Union']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:Soviet_Union . ?u rdf:type ontology:event }
[]
event
Q38789 Q128160 Q1776194
SYSTEM
Battle of Stalingrad, Cuban Missile Crisis, Battle of Radzymin
Q38789 Q1776194 Q128160 Q3953973
(c(Q1190554),P710,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P710
type Q1190554
Soviet Union were the [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q15180']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q15180 . ?u rdf:type ontology:Q1190554 }
Battle of Stalingrad Battle of Radzymin Cuban Missile Crisis Second defensive battle at the Don
Soviet Union were the Battle of Stalingrad, Cuban Missile Crisis and Battle of Radzymin
Battle of Stalingrad Cuban Missile Crisis Battle of Radzymin
action filter_type
action find_reverse
entity Soviet Union
relation participant
type event
[{'concept': 'event'}, 'participant', 'Soviet Union']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:Soviet_Union . ?u rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q128160
P276
Q15324
USER
Where is that event located ?
(Q128160,P276,c(Q15324))
action filter_type
action find
entity Q128160
relation P276
type Q15324
['Q128160', 'P276', {'concept': 'Q15324'}]
SELECT DISTINCT ?b WHERE { resource:Q128160 property:P276 ?b . ?b rdf:type ontology:Q15324 }
Cuban Missile Crisis
action filter_type
action find
entity Cuban Missile Crisis
relation location
type body of water
['Cuban Missile Crisis', 'location', {'concept': 'body of water'}]
SELECT DISTINCT ?b WHERE { resource:Cuban_Missile_Crisis property:location ?b . ?b rdf:type ontology:body_of_water }
[]
body of water
Clarification for simple ques.
Q38789
SYSTEM
Did you mean Battle of Stalingrad ?
Q38789 Q128160 Q1776194
(Q38789,P276,c(Q15324)) (Q128160,P276,c(Q15324)) (Q1776194,P276,c(Q15324))
[ANSWER]
['Q38789', 'P276', {'concept': 'Q15324'}] ['Q128160', 'P276', {'concept': 'Q15324'}] ['Q1776194', 'P276', {'concept': 'Q15324'}]
SELECT DISTINCT ?b WHERE { resource:Q128160 property:P276 ?b . ?b rdf:type ontology:Q15324 }
Battle of Stalingrad Cuban Missile Crisis Battle of Radzymin
Did you mean Battle of Stalingrad ?
Battle of Stalingrad
['Battle of Stalingrad', 'location', {'concept': 'body of water'}] ['Cuban Missile Crisis', 'location', {'concept': 'body of water'}] ['Battle of Radzymin', 'location', {'concept': 'body of water'}]
SELECT DISTINCT ?b WHERE { resource:Cuban_Missile_Crisis property:location ?b . ?b rdf:type ontology:body_of_water }
[]
Simple Question (Coreferenced)
USER
No, I meant Cuban Missile Crisis. Could you tell me the answer for that?
(Q128160,P276,c(Q15324))
Q128160
['Q128160', 'P276', {'concept': 'Q15324'}]
['Cuban Missile Crisis', 'location', {'concept': 'body of water'}]
[]
Q1247
SYSTEM
Caribbean Sea
Q1247
(Q128160,P276,c(Q15324))
action filter_type
action find
entity Q128160
relation P276
type Q15324
That event is located in [ANSWER]
['Q128160', 'P276', {'concept': 'Q15324'}]
SELECT DISTINCT ?b WHERE { resource:Q128160 property:P276 ?b . ?b rdf:type ontology:Q15324 }
Caribbean Sea
That event is located in Caribbean Sea
Caribbean Sea
action filter_type
action find
entity Cuban Missile Crisis
relation location
type body of water
['Cuban Missile Crisis', 'location', {'concept': 'body of water'}]
SELECT DISTINCT ?b WHERE { resource:Cuban_Missile_Crisis property:location ?b . ?b rdf:type ontology:body_of_water }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1247 Q292606
P206
Q271669
USER
Is Île à Vache located next to that body of water ?
(Q292606,P206,Q1247)
action is_in
entity Q1247
action find
entity Q292606
relation P206
['Q292606', 'P206', 'Q1247']
ASK WHERE { resource:Q292606 property:P206 resource:Q1247 }
Caribbean Sea Île à Vache
action is_in
entity Caribbean Sea
action find
entity Île à Vache
relation located next to body of water
['Île à Vache', 'located next to body of water', 'Caribbean Sea']
ASK WHERE { resource:Île_à_Vache property:located_next_to_body_of_water resource:Caribbean_Sea }
[]
landform
SYSTEM
YES
(Q292606,P206,Q1247)
action is_in
entity Q1247
action find
entity Q292606
relation P206
[ANSWER]
['Q292606', 'P206', 'Q1247']
ASK WHERE { resource:Q292606 property:P206 resource:Q1247 }
Yes
action is_in
entity Caribbean Sea
action find
entity Île à Vache
relation located next to body of water
['Île à Vache', 'located next to body of water', 'Caribbean Sea']
ASK WHERE { resource:Île_à_Vache property:located_next_to_body_of_water resource:Caribbean_Sea }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q980
P190
Q15617994 Q852446
USER
How many administrative territories and US administrative territories are partner towns of Bavaria ?
(Q980,P190,c(Q15617994)) (Q980,P190,c(Q852446))
action count
action union
action filter_type
action find
entity Q980
relation P190
type Q15617994
action filter_type
action find
entity Q980
relation P190
type Q852446
['Q980', 'P190', {'concept': 'Q15617994'}] ['Q980', 'P190', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q852446 ) } }
Bavaria
action count
action union
action filter_type
action find
entity Bavaria
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Bavaria
relation sister city
type administrative territorial entity of the United States
['Bavaria', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bavaria', 'sister city', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } }
[]
designation for an administrative territorial entity administrative territorial entity of the United States
SYSTEM
1 administrative territories and 1 US administrative territories
Q176 Q1428
(Q980,P190,c(Q15617994)) (Q980,P190,c(Q852446))
action count
action union
action filter_type
action find
entity Q980
relation P190
type Q15617994
action filter_type
action find
entity Q980
relation P190
type Q852446
[ANSWER]
['Q980', 'P190', {'concept': 'Q15617994'}] ['Q980', 'P190', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q852446 ) } }
Quebec Georgia
1 administrative territories and 1 US administrative territories
action count
action union
action filter_type
action find
entity Bavaria
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Bavaria
relation sister city
type administrative territorial entity of the United States
['Bavaria', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bavaria', 'sister city', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1247
P921
Q15416
USER
Which television program was mainly based on Caribbean Sea ?
(c(Q15416),P921,Q1247)
action filter_type
action find_reverse
entity Q1247
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q1247']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q1247 . ?e rdf:type ontology:Q15416 }
Caribbean Sea
action filter_type
action find_reverse
entity Caribbean Sea
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'Caribbean Sea']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:Caribbean_Sea . ?e rdf:type ontology:television_program }
[]
television program
Q8000570
SYSTEM
Wild Caribbean
Q8000570
(c(Q15416),P921,Q1247)
action filter_type
action find_reverse
entity Q1247
relation P921
type Q15416
Sea [ANSWER] was mainly based on Caribbean Sea
[{'concept': 'Q15416'}, 'P921', 'Q1247']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q1247 . ?e rdf:type ontology:Q15416 }
Wild Caribbean
Sea Wild Caribbean was mainly based on Caribbean Sea
Wild Caribbean
action filter_type
action find_reverse
entity Caribbean Sea
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'Caribbean Sea']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:Caribbean_Sea . ?e rdf:type ontology:television_program }
[]