Simple Question (Direct)
Simple Question
Q4700931
P106
Q12737077
USER
What are the professions of Akihiro Kitamura ?
(Q4700931,P106,c(Q12737077))
action filter_type
action find
entity Q4700931
relation P106
type Q12737077
['Q4700931', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q4700931 property:P106 ?c }
Akihiro Kitamura
action filter_type
action find
entity Akihiro Kitamura
relation occupation
type occupation
['Akihiro Kitamura', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Akihiro_Kitamura property:occupation ?c }
[]
occupation
Q33999 Q622807
SYSTEM
actor, seiyū
Q33999 Q622807
(Q4700931,P106,c(Q12737077))
action filter_type
action find
entity Q4700931
relation P106
type Q12737077
The professions of Akihiro Kitamura are an [ANSWERS]
['Q4700931', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q4700931 property:P106 ?c }
actor seiyū
The professions of Akihiro Kitamura are an actor and seiyū
actor seiyū
action filter_type
action find
entity Akihiro Kitamura
relation occupation
type occupation
['Akihiro Kitamura', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Akihiro_Kitamura property:occupation ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4700931
P19
Q56061
USER
Which administrative territory was Akihiro Kitamura born at ?
(Q4700931,P19,c(Q56061))
action filter_type
action find
entity Q4700931
relation P19
type Q56061
['Q4700931', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4700931 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Akihiro Kitamura
action filter_type
action find
entity Akihiro Kitamura
relation place of birth
type administrative territorial entity
['Akihiro Kitamura', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Akihiro_Kitamura property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q200251
SYSTEM
Kōchi
Q200251
(Q4700931,P19,c(Q56061))
action filter_type
action find
entity Q4700931
relation P19
type Q56061
Akihiro Kitamura was born in [ANSWER]
['Q4700931', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4700931 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Kōchi
Akihiro Kitamura was born in Kōchi
Kōchi
action filter_type
action find
entity Akihiro Kitamura
relation place of birth
type administrative territorial entity
['Akihiro Kitamura', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Akihiro_Kitamura property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11697574
Q56061
USER
And also tell me about Fabian Kiebicz?
(Q11697574,P19,c(Q56061))
action filter_type
action find
entity Q11697574
relation P19
type Q56061
['Q11697574', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q11697574 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Fabian Kiebicz
action filter_type
action find
entity Fabian Kiebicz
relation place of birth
type administrative territorial entity
['Fabian Kiebicz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Fabian_Kiebicz property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216
SYSTEM
Vilnius
Q216
(Q11697574,P19,c(Q56061))
action filter_type
action find
entity Q11697574
relation P19
type Q56061
[ANSWER]
['Q11697574', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q11697574 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Vilnius
Vilnius
action filter_type
action find
entity Fabian Kiebicz
relation place of birth
type administrative territorial entity
['Fabian Kiebicz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Fabian_Kiebicz property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q216 Q3132444
P190
Q56061
USER
Is Maridi twin city of Vilnius ?
(Q216,P190,Q3132444)
action is_in
entity Q3132444
action find
entity Q216
relation P190
['Q216', 'P190', 'Q3132444']
ASK WHERE { resource:Q216 property:P190 resource:Q3132444 }
Vilnius Maridi
action is_in
entity Maridi
action find
entity Vilnius
relation sister city
['Vilnius', 'sister city', 'Maridi']
ASK WHERE { resource:Vilnius property:sister_city resource:Maridi }
[]
administrative territorial entity
SYSTEM
NO
(Q216,P190,Q3132444)
action is_in
entity Q3132444
action find
entity Q216
relation P190
[ANSWER]
['Q216', 'P190', 'Q3132444']
ASK WHERE { resource:Q216 property:P190 resource:Q3132444 }
No
action is_in
entity Maridi
action find
entity Vilnius
relation sister city
['Vilnius', 'sister city', 'Maridi']
ASK WHERE { resource:Vilnius property:sister_city resource:Maridi }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216
P1376
Q7275
USER
Which states have Vilnius as their county seat ?
(Q216,P1376,c(Q7275))
action filter_type
action find
entity Q216
relation P1376
type Q7275
['Q216', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q216 property:P1376 ?p . ?p rdf:type ontology:Q7275 }
Vilnius
action filter_type
action find
entity Vilnius
relation capital of
type state
['Vilnius', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Vilnius property:capital_of ?p . ?p rdf:type ontology:state }
[]
state
Q49683 Q172107 Q76236
SYSTEM
Grand Duchy of Lithuania, Polish–Lithuanian Commonwealth, Lithuanian–Belorussian Soviet Socialist Republic
Q80211 Q172107 Q523380 Q76236 Q49683
(Q216,P1376,c(Q7275))
action filter_type
action find
entity Q216
relation P1376
type Q7275
[ANSWERS] have Vilnius as their county seat
['Q216', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q216 property:P1376 ?p . ?p rdf:type ontology:Q7275 }
Lithuanian Soviet Socialist Republic Polish–Lithuanian Commonwealth Republic of Central Lithuania Lithuanian–Belorussian Soviet Socialist Republic Grand Duchy of Lithuania
Grand Duchy of Lithuania, Polish–Lithuanian Commonwealth and Lithuanian–Belorussian Soviet Socialist Republic have Vilnius as their county seat
Grand Duchy of Lithuania Polish–Lithuanian Commonwealth Lithuanian–Belorussian Soviet Socialist Republic
action filter_type
action find
entity Vilnius
relation capital of
type state
['Vilnius', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Vilnius property:capital_of ?p . ?p rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q805983
Q7275
USER
And also tell me about Bamburgh?
(Q805983,P1376,c(Q7275))
action filter_type
action find
entity Q805983
relation P1376
type Q7275
['Q805983', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7275 . resource:Q805983 property:P1376 ?j }
Bamburgh
action filter_type
action find
entity Bamburgh
relation capital of
type state
['Bamburgh', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:state . resource:Bamburgh property:capital_of ?j }
[]
state
Q623751 Q107299
SYSTEM
Kingdom of Bernicia, Kingdom of Northumbria
Q623751 Q107299
(Q805983,P1376,c(Q7275))
action filter_type
action find
entity Q805983
relation P1376
type Q7275
[ANSWERS]
['Q805983', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7275 . resource:Q805983 property:P1376 ?j }
Kingdom of Bernicia Kingdom of Northumbria
Kingdom of Bernicia Kingdom of Northumbria
action filter_type
action find
entity Bamburgh
relation capital of
type state
['Bamburgh', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:state . resource:Bamburgh property:capital_of ?j }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5148517
P1376
Q7275 Q486972 Q20667921
USER
How many states have approximately the same number of human settlements and french administrative divisions as their county seat as Colony and Protectorate of Nigeria ?
(c(Q486972)|c(Q20667921),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q5148517
relation P1376
type Q486972
type Q20667921
[[{'concept': 'Q486972'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?s rdf:type ?x } GROUP BY ?b } . FILTER ( ?f = ?m ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:P1376 resource:Q5148517 . { { ?d rdf:type ontology:Q486972 } UNION { ?d rdf:type ontology:Q20667921 } } } } }
Colony and Protectorate of Nigeria
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Colony and Protectorate of Nigeria
relation capital of
type human settlement
type type of french administrative division
[[{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?s rdf:type ?x } GROUP BY ?b } . FILTER ( ?f = ?m ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:capital_of resource:Colony_and_Protectorate_of_Nigeria . { { ?d rdf:type ontology:human_settlement } UNION { ?d rdf:type ontology:type_of_french_administrative_division } } } } }
[]
state human settlement type of french administrative division
SYSTEM
483
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 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 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 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)|c(Q20667921),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q5148517
relation P1376
type Q486972
type Q20667921
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?s rdf:type ?x } GROUP BY ?b } . FILTER ( ?f = ?m ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:P1376 resource:Q5148517 . { { ?d rdf:type ontology:Q486972 } UNION { ?d rdf:type ontology:Q20667921 } } } } }
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 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 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 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
483
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Colony and Protectorate of Nigeria
relation capital of
type human settlement
type type of french administrative division
[[{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?s rdf:type ?x } GROUP BY ?b } . FILTER ( ?f = ?m ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:capital_of resource:Colony_and_Protectorate_of_Nigeria . { { ?d rdf:type ontology:human_settlement } UNION { ?d rdf:type ontology:type_of_french_administrative_division } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1132786
P1376
Q7275 Q486972 Q20667921
USER
And what about Ouaddai Empire?
(c(Q486972)|c(Q20667921),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q1132786
relation P1376
type Q486972
type Q20667921
[[{'concept': 'Q486972'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?s WHERE { VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?p rdf:type ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1376 resource:Q1132786 . { { ?z rdf:type ontology:Q486972 } UNION { ?z rdf:type ontology:Q20667921 } } } } . FILTER ( ?u = ?m ) }
Ouaddai Empire
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Ouaddai Empire
relation capital of
type human settlement
type type of french administrative division
[[{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?s WHERE { VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?p rdf:type ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:capital_of resource:Ouaddai_Empire . { { ?z rdf:type ontology:human_settlement } UNION { ?z rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?u = ?m ) }
[]
state human settlement type of french administrative division
SYSTEM
483
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 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 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 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)|c(Q20667921),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q1132786
relation P1376
type Q486972
type Q20667921
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?s WHERE { VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?p rdf:type ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1376 resource:Q1132786 . { { ?z rdf:type ontology:Q486972 } UNION { ?z rdf:type ontology:Q20667921 } } } } . FILTER ( ?u = ?m ) }
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 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 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 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
483
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Ouaddai Empire
relation capital of
type human settlement
type type of french administrative division
[[{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?s WHERE { VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?p rdf:type ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:capital_of resource:Ouaddai_Empire . { { ?z rdf:type ontology:human_settlement } UNION { ?z rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?u = ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q11204 Q7275
USER
Which legislatures are the legislative bodies for max number of states ?
(c(Q7275),P194,Q22569956)
action argmax
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
[{'concept': 'Q7275'}, 'P194', 'Q22569956']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?s ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P194 ?i . ?i rdf:type ontology:Q11204 . ?r rdf:type ontology:Q7275 } GROUP BY ?i } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?k ) WHERE { ?t property:P194 ?o . ?o rdf:type ontology:Q11204 . ?t rdf:type ontology:Q7275 } GROUP BY ?o } . FILTER ( ?k = ?s ) }
action argmax
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
[{'concept': 'state'}, 'legislative body', 'Sangguniang Bayan of Bien Unido']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?s ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:legislative_body ?i . ?i rdf:type ontology:legislature . ?r rdf:type ontology:state } GROUP BY ?i } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?k ) WHERE { ?t property:legislative_body ?o . ?o rdf:type ontology:legislature . ?t rdf:type ontology:state } GROUP BY ?o } . FILTER ( ?k = ?s ) }
[]
legislature state
Q494162
SYSTEM
National Assembly
Q494162
(c(Q7275),P194,Q22569956)
action argmax
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
[ANSWER] is the legislative bodies for max number of states
[{'concept': 'Q7275'}, 'P194', 'Q22569956']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?s ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P194 ?i . ?i rdf:type ontology:Q11204 . ?r rdf:type ontology:Q7275 } GROUP BY ?i } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?k ) WHERE { ?t property:P194 ?o . ?o rdf:type ontology:Q11204 . ?t rdf:type ontology:Q7275 } GROUP BY ?o } . FILTER ( ?k = ?s ) }
National Assembly
National Assembly is the legislative bodies for max number of states
National Assembly
action argmax
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
[{'concept': 'state'}, 'legislative body', 'Sangguniang Bayan of Bien Unido']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?s ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:legislative_body ?i . ?i rdf:type ontology:legislature . ?r rdf:type ontology:state } GROUP BY ?i } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?k ) WHERE { ?t property:legislative_body ?o . ?o rdf:type ontology:legislature . ?t rdf:type ontology:state } GROUP BY ?o } . FILTER ( ?k = ?s ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6045629 Q216
P19 P190
Q56061
USER
Which administrative territories are twin towns of Vilnius and were Settar Iksel born at ?
AND((Q216,P190,c(Q56061)), (Q6045629,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q216
relation P190
action find
entity Q6045629
relation P19
type Q56061
{'AND': [['Q216', 'P190', {'concept': 'Q56061'}], ['Q6045629', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { resource:Q216 property:P190 ?q . resource:Q6045629 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Settar Iksel Vilnius
action filter_type
action intersection
action find
entity Vilnius
relation sister city
action find
entity Settar Iksel
relation place of birth
type administrative territorial entity
{'AND': [['Vilnius', 'sister city', {'concept': 'administrative territorial entity'}], ['Settar Iksel', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Vilnius property:sister_city ?q . resource:Settar_Iksel property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q406
SYSTEM
Istanbul
Q406
AND((Q216,P190,c(Q56061)), (Q6045629,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q216
relation P190
action find
entity Q6045629
relation P19
type Q56061
[ANSWER] is twin towns of Vilnius and were Settar Iksel born at
{'AND': [['Q216', 'P190', {'concept': 'Q56061'}], ['Q6045629', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { resource:Q216 property:P190 ?q . resource:Q6045629 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Istanbul
Istanbul is twin towns of Vilnius and were Settar Iksel born at
Istanbul
action filter_type
action intersection
action find
entity Vilnius
relation sister city
action find
entity Settar Iksel
relation place of birth
type administrative territorial entity
{'AND': [['Vilnius', 'sister city', {'concept': 'administrative territorial entity'}], ['Settar Iksel', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Vilnius property:sister_city ?q . resource:Settar_Iksel property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q406 Q6092946
P840
Q838948
USER
Does The Extremely Tragic Story of Celal Tan and His Family have a setting location of that administrative territory ?
(Q6092946,P840,Q406)
action is_in
entity Q406
action find
entity Q6092946
relation P840
['Q6092946', 'P840', 'Q406']
ASK WHERE { resource:Q6092946 property:P840 resource:Q406 }
Istanbul The Extremely Tragic Story of Celal Tan and His Family
action is_in
entity Istanbul
action find
entity The Extremely Tragic Story of Celal Tan and His Family
relation narrative location
['The Extremely Tragic Story of Celal Tan and His Family', 'narrative location', 'Istanbul']
ASK WHERE { resource:The_Extremely_Tragic_Story_of_Celal_Tan_and_His_Family property:narrative_location resource:Istanbul }
[]
work of art
SYSTEM
YES
(Q6092946,P840,Q406)
action is_in
entity Q406
action find
entity Q6092946
relation P840
[ANSWER]
['Q6092946', 'P840', 'Q406']
ASK WHERE { resource:Q6092946 property:P840 resource:Q406 }
Yes
action is_in
entity Istanbul
action find
entity The Extremely Tragic Story of Celal Tan and His Family
relation narrative location
['The Extremely Tragic Story of Celal Tan and His Family', 'narrative location', 'Istanbul']
ASK WHERE { resource:The_Extremely_Tragic_Story_of_Celal_Tan_and_His_Family property:narrative_location resource:Istanbul }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q406
P30
Q2221906
USER
Where are that administrative territory situated ?
action filter_type
action find
entity Q406
relation P30
type Q2221906
SELECT DISTINCT ?c WHERE { resource:Q406 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Istanbul
action filter_type
action find
entity Istanbul
relation continent
type geographic location
SELECT DISTINCT ?c WHERE { resource:Istanbul property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q48
SYSTEM
Europe, Asia
Q46 Q48
action filter_type
action find
entity Q406
relation P30
type Q2221906
That administrative territory are situated in [ANSWERS]
SELECT DISTINCT ?c WHERE { resource:Q406 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Europe Asia
That administrative territory are situated in Europe and Asia
Europe Asia
action filter_type
action find
entity Istanbul
relation continent
type geographic location
SELECT DISTINCT ?c WHERE { resource:Istanbul property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q46 Q48
P361
Q2221906
USER
Which geographic locations are Europe and Asia a portion of ?
(Q46,P361,c(Q2221906)) (Q48,P361,c(Q2221906))
action union
action filter_type
action find
entity Q46
relation P361
type Q2221906
action filter_type
action find
entity Q48
relation P361
type Q2221906
['Q46', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q2221906 . resource:Q46 property:P361 ?g } UNION { resource:Q48 property:P361 ?g . ?g rdf:type ontology:Q2221906 } }
Europe Asia
action union
action filter_type
action find
entity Europe
relation part of
type geographic location
action filter_type
action find
entity Asia
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:geographic_location . resource:Europe property:part_of ?g } UNION { resource:Asia property:part_of ?g . ?g rdf:type ontology:geographic_location } }
[]
geographic location
Q5401 Q2035462 Q5401
SYSTEM
Ostfeste for 2nd, Eurasia for 1st, 3rd
Q5401 Q2035462 Q5401
(Q46,P361,c(Q2221906)) (Q48,P361,c(Q2221906))
action union
action filter_type
action find
entity Q46
relation P361
type Q2221906
action filter_type
action find
entity Q48
relation P361
type Q2221906
[ANSWERS]
['Q46', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q2221906 . resource:Q46 property:P361 ?g } UNION { resource:Q48 property:P361 ?g . ?g rdf:type ontology:Q2221906 } }
Eurasia Ostfeste Eurasia
Are Eurasia, Ostfeste and Eurasia are Europe and Asia a portion of
Eurasia Ostfeste Eurasia
action union
action filter_type
action find
entity Europe
relation part of
type geographic location
action filter_type
action find
entity Asia
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:geographic_location . resource:Europe property:part_of ?g } UNION { resource:Asia property:part_of ?g . ?g rdf:type ontology:geographic_location } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q46
P610
Q14524493
USER
Which is the highest peak of Europe ?
(Q46,P610,c(Q14524493))
action filter_type
action find
entity Q46
relation P610
type Q14524493
['Q46', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14524493 . resource:Q46 property:P610 ?u }
Europe
action filter_type
action find
entity Europe
relation highest point
type terrain
['Europe', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:terrain . resource:Europe property:highest_point ?u }
[]
terrain
Q43105
SYSTEM
Mount Elbrus
Q43105
(Q46,P610,c(Q14524493))
action filter_type
action find
entity Q46
relation P610
type Q14524493
The highest peak of Europe is the [ANSWER]
['Q46', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14524493 . resource:Q46 property:P610 ?u }
Mount Elbrus
The highest peak of Europe is the Mount Elbrus
Mount Elbrus
action filter_type
action find
entity Europe
relation highest point
type terrain
['Europe', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:terrain . resource:Europe property:highest_point ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46
P138
Q15619164
USER
What is that geographic location named after ?
(Q43105,P138,c(Q15619164))
action filter_type
action find
entity Q46
relation P138
type Q15619164
['Q43105', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?l WHERE { resource:Q46 property:P138 ?l . ?l rdf:type ontology:Q15619164 }
Europe
action filter_type
action find
entity Europe
relation named after
type abstract being
['Mount Elbrus', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?l WHERE { resource:Europe property:named_after ?l . ?l rdf:type ontology:abstract_being }
[]
abstract being
Q165170
SYSTEM
Europa
Q165170
(Q43105,P138,c(Q15619164))
action filter_type
action find
entity Q46
relation P138
type Q15619164
That geographic location named after is [ANSWER]
['Q43105', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?l WHERE { resource:Q46 property:P138 ?l . ?l rdf:type ontology:Q15619164 }
Europa
That geographic location named after is Europa
Europa
action filter_type
action find
entity Europe
relation named after
type abstract being
['Mount Elbrus', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?l WHERE { resource:Europe property:named_after ?l . ?l rdf:type ontology:abstract_being }
[]