Simple Question (Direct)
Simple Question
Q1689789
P21
Q290
USER
Which sex does Jiří Kormaník belong to ?
(Q1689789,P21,c(Q290))
action filter_type
action find
entity Q1689789
relation P21
type Q290
['Q1689789', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1689789 property:P21 ?u . ?u rdf:type ontology:Q290 }
Jiří Kormaník
action filter_type
action find
entity Jiří Kormaník
relation gender
type sex
['Jiří Kormaník', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Jiří_Kormaník property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1689789,P21,c(Q290))
action filter_type
action find
entity Q1689789
relation P21
type Q290
Jiří Kormaník belongs to [ANSWER]
['Q1689789', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1689789 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Jiří Kormaník belongs to male
male
action filter_type
action find
entity Jiří Kormaník
relation gender
type sex
['Jiří Kormaník', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Jiří_Kormaník property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1689789
P27
Q7275
USER
Which state does that person belong to ?
(Q6581097,P27,c(Q7275))
action filter_type
action find
entity Q1689789
relation P27
type Q7275
['Q6581097', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q1689789 property:P27 ?i . ?i rdf:type ontology:Q7275 }
Jiří Kormaník
action filter_type
action find
entity Jiří Kormaník
relation country of citizenship
type state
['male', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Jiří_Kormaník property:country_of_citizenship ?i . ?i rdf:type ontology:state }
[]
state
Q33946
SYSTEM
Czechoslovakia
Q33946
(Q6581097,P27,c(Q7275))
action filter_type
action find
entity Q1689789
relation P27
type Q7275
That person belongs to [ANSWER]
['Q6581097', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q1689789 property:P27 ?i . ?i rdf:type ontology:Q7275 }
Czechoslovakia
That person belongs to Czechoslovakia
Czechoslovakia
action filter_type
action find
entity Jiří Kormaník
relation country of citizenship
type state
['male', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Jiří_Kormaník property:country_of_citizenship ?i . ?i rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q697084
P1376
Q7275 Q56061 Q486972
USER
Which states have more number of administrative territories and human settlements as their county seat than Duchy of Oldenburg ?
(c(Q56061)|c(Q486972),P1376,c(Q7275))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q697084
relation P1376
type Q56061
type Q486972
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:P1376 ?n . ?s rdf:type ontology:Q56061 . ?n rdf:type ontology:Q7275 } UNION { ?s property:P1376 ?n . ?n rdf:type ontology:Q7275 . ?s rdf:type ontology:Q486972 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P1376 resource:Q697084 . { { ?o rdf:type ontology:Q486972 } UNION { ?o rdf:type ontology:Q56061 } } } } . FILTER ( ?p > ?f ) }
Duchy of Oldenburg
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Duchy of Oldenburg
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:capital_of ?n . ?s rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:state } UNION { ?s property:capital_of ?n . ?n rdf:type ontology:state . ?s rdf:type ontology:human_settlement } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:capital_of resource:Duchy_of_Oldenburg . { { ?o rdf:type ontology:human_settlement } UNION { ?o rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?p > ?f ) }
[]
state administrative territorial entity human settlement
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q457167 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q186096 Q133356 Q501684 Q164079 Q1649871 Q588672 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q188553 Q536476 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q2361927 Q1067513 Q1468426 Q71092 Q15180 Q800236 Q27260 Q249578 Q16410 Q953432 Q215643 Q212278 Q210542 Q223936 Q8735 Q8733 Q156038 Q7405 Q208404 Q467627 Q1796239 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q1771831 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q216173 Q646374 Q241748 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q207272 Q889394 Q151148 Q1796198 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q762943 Q1998866 Q106577 Q473433 Q651377 Q161885 Q191077 Q468814 Q174306 Q16957 Q1617495 Q1194765 Q157367 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q172107 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1477220 Q269864 Q199841 Q335088 Q325461 Q583038 Q860407 Q146761 Q200262 Q1296908 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q158725 Q139315 Q26273 Q832554 Q870055 Q3271735 Q160440 Q797422 Q235030 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q631210 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q713750 Q2552742 Q220167 Q147909 Q319881 Q1709185 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q181254 Q2396442 Q142417 Q2428714 Q1406298 Q14934927 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q154195 Q266923 Q285658 Q150061 Q165154 Q70972 Q1143164 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q105092 Q178038 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q747314 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q150058 Q4461035 Q33946 Q762084 Q2579852 Q544630 Q180114 Q431731 Q36704 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q764697 Q853477 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q76236 Q209857 Q2712121 Q13426199 Q964024 Q877155 Q487829 Q2365048 Q4274522 Q230407 Q49683 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q56061)|c(Q486972),P1376,c(Q7275))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q697084
relation P1376
type Q56061
type Q486972
[ANSWERS] have more number of administrative territories and human settlements as their county seat than Duchy of Oldenburg
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:P1376 ?n . ?s rdf:type ontology:Q56061 . ?n rdf:type ontology:Q7275 } UNION { ?s property:P1376 ?n . ?n rdf:type ontology:Q7275 . ?s rdf:type ontology:Q486972 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P1376 resource:Q697084 . { { ?o rdf:type ontology:Q486972 } UNION { ?o rdf:type ontology:Q56061 } } } } . FILTER ( ?p > ?f ) }
Kingdom of Scotland Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa West Ukrainian People's Republic British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Kingdom of Libya Federation of South Arabia Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Gomma Kingdom of Hanover Kingdom of Poland Hammadid dynasty Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria 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 Batavian Republic Toucouleur 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 Limmu-Ennarea Second French Empire Soviet Union Bahawalpur State Samma dynasty Ghaznavid Empire People's Republic of Hungary Couto Misto Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Qing dynasty Duchy of Courland and Semigallia Sui dynasty Kingdom of Armenia Durrani Empire Kingdom of Seville Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Kruševo Republic Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan Free City of Danzig French India Kingdom of Serbia Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba 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 County of Holland Czech and Slovak Federal Republic Neustria Ammon Shunga Empire Kingdom of Great Britain Kingdom of Yugoslavia Dahomey Republic of Genoa East Germany Kingdom of Jaén Kamarupa Brandenburg-Prussia Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Polish–Lithuanian Commonwealth Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Somali Democratic Republic Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kahlur State Hatay State Kingdom of Navarre Kathiri Idrisid dynasty Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Tanganyika Territory Dʿmt Sint Maarten Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Republic of Upper Volta Principality of Antioch Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Nogai Horde Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem West Germany Northland State Lydenburg Republic Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte 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 Empire of Nicea Kingdom of Galicia and Lodomeria Kingdom of Valencia Sena dynasty Serbian Empire Murrawarri Republic Mutawakkilite Kingdom of Yemen Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Bavaria Kingdom of Mysore First Mexican Empire Republic of Ararat Kingdom of Sardinia Kingdom of France Western Wei Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Kingdom of Mercia Second Spanish Republic Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Bechuanaland Protectorate Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Travancore Akkadian empire Czechoslovakia Bamana Empire Taurida Soviet Socialist Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Taifa of Orihuela Lan Xang Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Republic of China Moldavian Democratic Republic Chera Dynasty Chagatai Khanate Adal Sultanate Tyrconnell Kingdom of Israel Grand Duchy of Lithuania Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam 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
Czechoslovakia, Soviet Union and Bavaria have more number of administrative territories and human settlements as their county seat than Duchy of Oldenburg
Czechoslovakia Soviet Union Bavaria
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Duchy of Oldenburg
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:capital_of ?n . ?s rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:state } UNION { ?s property:capital_of ?n . ?n rdf:type ontology:state . ?s rdf:type ontology:human_settlement } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:capital_of resource:Duchy_of_Oldenburg . { { ?o rdf:type ontology:human_settlement } UNION { ?o rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?p > ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1324889
P1376
Q7275 Q56061 Q486972
USER
And what about Germiyanids?
(c(Q56061)|c(Q486972),P1376,c(Q7275))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1324889
relation P1376
type Q56061
type Q486972
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P1376 resource:Q1324889 . { { ?j rdf:type ontology:Q486972 } UNION { ?j rdf:type ontology:Q56061 } } } } . FILTER ( ?s > ?c ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?i WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } GROUP BY ?i } }
Germiyanids
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Germiyanids
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:capital_of resource:Germiyanids . { { ?j rdf:type ontology:human_settlement } UNION { ?j rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?s > ?c ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?i WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?i } }
[]
state administrative territorial entity human settlement
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q457167 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q186096 Q133356 Q501684 Q164079 Q1649871 Q588672 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q188553 Q536476 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q2361927 Q1067513 Q1468426 Q71092 Q15180 Q800236 Q27260 Q249578 Q16410 Q953432 Q215643 Q212278 Q210542 Q223936 Q8735 Q8733 Q156038 Q7405 Q208404 Q467627 Q1796239 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q1771831 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q216173 Q646374 Q241748 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q207272 Q889394 Q151148 Q1796198 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q762943 Q1998866 Q106577 Q473433 Q651377 Q161885 Q191077 Q468814 Q174306 Q16957 Q1617495 Q1194765 Q157367 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q172107 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1477220 Q269864 Q199841 Q335088 Q325461 Q583038 Q860407 Q146761 Q200262 Q1296908 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q158725 Q139315 Q26273 Q832554 Q870055 Q3271735 Q160440 Q797422 Q235030 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q631210 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q713750 Q2552742 Q220167 Q147909 Q319881 Q1709185 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q181254 Q2396442 Q142417 Q2428714 Q1406298 Q14934927 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q154195 Q266923 Q285658 Q150061 Q165154 Q70972 Q1143164 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q105092 Q178038 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q747314 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q150058 Q4461035 Q33946 Q762084 Q2579852 Q544630 Q180114 Q431731 Q36704 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q764697 Q853477 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q76236 Q209857 Q2712121 Q13426199 Q964024 Q877155 Q487829 Q2365048 Q4274522 Q230407 Q49683 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q56061)|c(Q486972),P1376,c(Q7275))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1324889
relation P1376
type Q56061
type Q486972
[ANSWERS]
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P1376 resource:Q1324889 . { { ?j rdf:type ontology:Q486972 } UNION { ?j rdf:type ontology:Q56061 } } } } . FILTER ( ?s > ?c ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?i WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } GROUP BY ?i } }
Kingdom of Scotland Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa West Ukrainian People's Republic British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Kingdom of Libya Federation of South Arabia Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Gomma Kingdom of Hanover Kingdom of Poland Hammadid dynasty Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria 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 Batavian Republic Toucouleur 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 Limmu-Ennarea Second French Empire Soviet Union Bahawalpur State Samma dynasty Ghaznavid Empire People's Republic of Hungary Couto Misto Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Qing dynasty Duchy of Courland and Semigallia Sui dynasty Kingdom of Armenia Durrani Empire Kingdom of Seville Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Kruševo Republic Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan Free City of Danzig French India Kingdom of Serbia Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba 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 County of Holland Czech and Slovak Federal Republic Neustria Ammon Shunga Empire Kingdom of Great Britain Kingdom of Yugoslavia Dahomey Republic of Genoa East Germany Kingdom of Jaén Kamarupa Brandenburg-Prussia Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Polish–Lithuanian Commonwealth Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Somali Democratic Republic Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kahlur State Hatay State Kingdom of Navarre Kathiri Idrisid dynasty Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Tanganyika Territory Dʿmt Sint Maarten Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Republic of Upper Volta Principality of Antioch Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Nogai Horde Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem West Germany Northland State Lydenburg Republic Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte 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 Empire of Nicea Kingdom of Galicia and Lodomeria Kingdom of Valencia Sena dynasty Serbian Empire Murrawarri Republic Mutawakkilite Kingdom of Yemen Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Bavaria Kingdom of Mysore First Mexican Empire Republic of Ararat Kingdom of Sardinia Kingdom of France Western Wei Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Kingdom of Mercia Second Spanish Republic Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Bechuanaland Protectorate Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Travancore Akkadian empire Czechoslovakia Bamana Empire Taurida Soviet Socialist Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Taifa of Orihuela Lan Xang Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Republic of China Moldavian Democratic Republic Chera Dynasty Chagatai Khanate Adal Sultanate Tyrconnell Kingdom of Israel Grand Duchy of Lithuania Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam 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
Czechoslovakia Soviet Union Bavaria
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Germiyanids
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:capital_of resource:Germiyanids . { { ?j rdf:type ontology:human_settlement } UNION { ?j rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?s > ?c ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?i WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?i } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10340785 Q1689789
P734 P735
Q82799
USER
Which names are forename of Jiří Kormaník or are associated with Olímpio Cruz ?
OR((Q1689789,P735,c(Q82799)), (Q10340785,P734,c(Q82799)))
action filter_type
action union
action find
entity Q1689789
relation P735
action find
entity Q10340785
relation P734
type Q82799
{'OR': [['Q1689789', 'P735', {'concept': 'Q82799'}], ['Q10340785', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1689789 property:P735 ?b } UNION { resource:Q10340785 property:P734 ?b } } . ?b rdf:type ontology:Q82799 }
Olímpio Cruz Jiří Kormaník
action filter_type
action union
action find
entity Jiří Kormaník
relation given name
action find
entity Olímpio Cruz
relation family name
type name
{'OR': [['Jiří Kormaník', 'given name', {'concept': 'name'}], ['Olímpio Cruz', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jiří_Kormaník property:given_name ?b } UNION { resource:Olímpio_Cruz property:family_name ?b } } . ?b rdf:type ontology:name }
[]
name
Q168563 Q923342
SYSTEM
Jiří, Cruz
Q168563 Q923342
OR((Q1689789,P735,c(Q82799)), (Q10340785,P734,c(Q82799)))
action filter_type
action union
action find
entity Q1689789
relation P735
action find
entity Q10340785
relation P734
type Q82799
[ANSWERS] are forename of Jiří Kormaník or are associated with Olímpio Cruz
{'OR': [['Q1689789', 'P735', {'concept': 'Q82799'}], ['Q10340785', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1689789 property:P735 ?b } UNION { resource:Q10340785 property:P734 ?b } } . ?b rdf:type ontology:Q82799 }
Jiří Cruz
Jiří and Cruz are forename of Jiří Kormaník or are associated with Olímpio Cruz
Jiří Cruz
action filter_type
action union
action find
entity Jiří Kormaník
relation given name
action find
entity Olímpio Cruz
relation family name
type name
{'OR': [['Jiří Kormaník', 'given name', {'concept': 'name'}], ['Olímpio Cruz', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jiří_Kormaník property:given_name ?b } UNION { resource:Olímpio_Cruz property:family_name ?b } } . ?b rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10340785
P106
Q12737077
USER
What are the professions of Olímpio Cruz ?
(Q168563,P106,c(Q12737077)) (Q923342,P106,c(Q12737077))
action filter_type
action find
entity Q10340785
relation P106
type Q12737077
['Q168563', 'P106', {'concept': 'Q12737077'}] ['Q923342', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q10340785 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Olímpio Cruz
action filter_type
action find
entity Olímpio Cruz
relation occupation
type occupation
['Jiří', 'occupation', {'concept': 'occupation'}] ['Cruz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Olímpio_Cruz property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q36180 Q49757
SYSTEM
writer, poet
Q36180 Q49757
(Q168563,P106,c(Q12737077)) (Q923342,P106,c(Q12737077))
action filter_type
action find
entity Q10340785
relation P106
type Q12737077
The professions of Olímpio Cruz are the [ANSWERS]
['Q168563', 'P106', {'concept': 'Q12737077'}] ['Q923342', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q10340785 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
writer poet
The professions of Olímpio Cruz are the writer and poet
writer poet
action filter_type
action find
entity Olímpio Cruz
relation occupation
type occupation
['Jiří', 'occupation', {'concept': 'occupation'}] ['Cruz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Olímpio_Cruz property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q17335294 Q386724
USER
How many names are demonstrated in atmost 3 coats of arms or works ?
(c(Q17335294)|c(Q386724),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
value 3
[[{'concept': 'Q17335294'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?p WHERE { { ?s property:P180 ?p . ?p rdf:type ontology:Q82799 . ?s rdf:type ontology:Q17335294 } UNION { ?s property:P180 ?p . ?p rdf:type ontology:Q82799 . ?s rdf:type ontology:Q386724 } } GROUP BY ?p } . FILTER ( ?b <= 3 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type work
value 3
[[{'concept': 'flag or coat of arms'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?p WHERE { { ?s property:depicts ?p . ?p rdf:type ontology:name . ?s rdf:type ontology:flag_or_coat_of_arms } UNION { ?s property:depicts ?p . ?p rdf:type ontology:name . ?s rdf:type ontology:work } } GROUP BY ?p } . FILTER ( ?b <= 3 ) }
[]
name flag or coat of arms work
SYSTEM
55
Q13219075 Q134609 Q5 Q726 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q17335294)|c(Q386724),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
value 3
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?p WHERE { { ?s property:P180 ?p . ?p rdf:type ontology:Q82799 . ?s rdf:type ontology:Q17335294 } UNION { ?s property:P180 ?p . ?p rdf:type ontology:Q82799 . ?s rdf:type ontology:Q386724 } } GROUP BY ?p } . FILTER ( ?b <= 3 ) }
octopus Cynara scolymus human horse toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
55
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type work
value 3
[[{'concept': 'flag or coat of arms'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?p WHERE { { ?s property:depicts ?p . ?p rdf:type ontology:name . ?s rdf:type ontology:flag_or_coat_of_arms } UNION { ?s property:depicts ?p . ?p rdf:type ontology:name . ?s rdf:type ontology:work } } GROUP BY ?p } . FILTER ( ?b <= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P17
Q57305
USER
Which trade fair is located in Soviet Union ?
(c(Q57305),P17,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P17
type Q57305
[{'concept': 'Q57305'}, 'P17', 'Q15180']
SELECT DISTINCT ?p WHERE { ?p property:P17 resource:Q15180 . ?p rdf:type ontology:Q57305 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation country
type trade fair
[{'concept': 'trade fair'}, 'country', 'Soviet Union']
SELECT DISTINCT ?p WHERE { ?p property:country resource:Soviet_Union . ?p rdf:type ontology:trade_fair }
[]
trade fair
Q4303922
SYSTEM
Moscow International Book Fair
Q4303922
(c(Q57305),P17,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P17
type Q57305
[ANSWER] is located in Soviet Union
[{'concept': 'Q57305'}, 'P17', 'Q15180']
SELECT DISTINCT ?p WHERE { ?p property:P17 resource:Q15180 . ?p rdf:type ontology:Q57305 }
Moscow International Book Fair
Moscow International Book Fair is located in Soviet Union
Moscow International Book Fair
action filter_type
action find_reverse
entity Soviet Union
relation country
type trade fair
[{'concept': 'trade fair'}, 'country', 'Soviet Union']
SELECT DISTINCT ?p WHERE { ?p property:country resource:Soviet_Union . ?p rdf:type ontology:trade_fair }
[]