Simple Question (Direct)
Simple Question
Q458218
P166
Q618779
USER
Which awards were received by Marat Kaziej ?
(Q458218,P166,c(Q618779))
action filter_type
action find
entity Q458218
relation P166
type Q618779
['Q458218', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q458218 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Marat Kaziej
action filter_type
action find
entity Marat Kaziej
relation award received
type award
['Marat Kaziej', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Marat_Kaziej property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q185493 Q1915961 Q1970346
SYSTEM
Order of Lenin, Medal for Battle Merit, Medal "For Courage"
Q1915961 Q185493 Q1970346 Q178473 Q18080149
(Q458218,P166,c(Q618779))
action filter_type
action find
entity Q458218
relation P166
type Q618779
[ANSWERS] were received by Marat Kaziej
['Q458218', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q458218 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Medal for Battle Merit Order of Lenin Medal "For Courage" Hero of the Soviet Union Order of the Patriotic War 1st class
Order of Lenin, Medal for Battle Merit and Medal "For Courage" were received by Marat Kaziej
Order of Lenin Medal for Battle Merit Medal "For Courage"
action filter_type
action find
entity Marat Kaziej
relation award received
type award
['Marat Kaziej', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Marat_Kaziej property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458218
P607
Q350604
USER
Which battle did Marat Kaziej take part in ?
(Q458218,P607,c(Q350604))
action filter_type
action find
entity Q458218
relation P607
type Q350604
['Q458218', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?e WHERE { resource:Q458218 property:P607 ?e . ?e rdf:type ontology:Q350604 }
Marat Kaziej
action filter_type
action find
entity Marat Kaziej
relation conflict
type armed conflict
['Marat Kaziej', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?e WHERE { resource:Marat_Kaziej property:conflict ?e . ?e rdf:type ontology:armed_conflict }
[]
armed conflict
Q189266
SYSTEM
Eastern Front
Q189266
(Q458218,P607,c(Q350604))
action filter_type
action find
entity Q458218
relation P607
type Q350604
Marat Kaziej took in the [ANSWER] part
['Q458218', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?e WHERE { resource:Q458218 property:P607 ?e . ?e rdf:type ontology:Q350604 }
Eastern Front
Marat Kaziej took in the Eastern Front part
Eastern Front
action filter_type
action find
entity Marat Kaziej
relation conflict
type armed conflict
['Marat Kaziej', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?e WHERE { resource:Marat_Kaziej property:conflict ?e . ?e rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q185493
P138
Q502895
USER
Which person is the origin of Order of Lenin ?
(Q185493,P138,c(Q502895))
action filter_type
action find
entity Q185493
relation P138
type Q502895
['Q185493', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q185493 property:P138 ?y . ?y rdf:type ontology:Q502895 }
Order of Lenin
action filter_type
action find
entity Order of Lenin
relation named after
type common name
['Order of Lenin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Order_of_Lenin property:named_after ?y . ?y rdf:type ontology:common_name }
[]
common name
Q1394
SYSTEM
Vladimir Lenin
Q1394
(Q185493,P138,c(Q502895))
action filter_type
action find
entity Q185493
relation P138
type Q502895
[ANSWER] is the origin of Order of Lenin
['Q185493', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q185493 property:P138 ?y . ?y rdf:type ontology:Q502895 }
Vladimir Lenin
Vladimir Lenin is the origin of Order of Lenin
Vladimir Lenin
action filter_type
action find
entity Order of Lenin
relation named after
type common name
['Order of Lenin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Order_of_Lenin property:named_after ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q185493
P17
Q7275
USER
Which state does that award belong to ?
(Q1394,P17,c(Q7275))
action filter_type
action find
entity Q185493
relation P17
type Q7275
['Q1394', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q185493 property:P17 ?z . ?z rdf:type ontology:Q7275 }
Order of Lenin
action filter_type
action find
entity Order of Lenin
relation country
type state
['Vladimir Lenin', 'country', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Order_of_Lenin property:country ?z . ?z rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q1394,P17,c(Q7275))
action filter_type
action find
entity Q185493
relation P17
type Q7275
That award belongs to [ANSWER]
['Q1394', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q185493 property:P17 ?z . ?z rdf:type ontology:Q7275 }
Soviet Union
That award belongs to Soviet Union
Soviet Union
action filter_type
action find
entity Order of Lenin
relation country
type state
['Vladimir Lenin', 'country', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Order_of_Lenin property:country ?z . ?z rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P35
Q502895 Q7275
USER
Which states have more number of people as their chief of state than that state ?
(c(Q7275),P35,c(Q502895))
action greater
action find_tuple_counts
relation P35
type Q7275
type Q502895
action count
action filter_type
action find
entity Q15180
relation P35
type Q7275
[{'concept': 'Q7275'}, 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?c ) WHERE { ?o property:P35 ?x . ?x rdf:type ontology:Q502895 . ?o rdf:type ontology:Q7275 } GROUP BY ?o } . FILTER ( ?c > ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q15180 property:P35 ?g . ?g rdf:type ontology:Q7275 } } }
action greater
action find_tuple_counts
relation head of state
type state
type common name
action count
action filter_type
action find
entity Soviet Union
relation head of state
type state
[{'concept': 'state'}, 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?c ) WHERE { ?o property:head_of_state ?x . ?x rdf:type ontology:common_name . ?o rdf:type ontology:state } GROUP BY ?o } . FILTER ( ?c > ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Soviet_Union property:head_of_state ?g . ?g rdf:type ontology:state } } }
[]
common name state
Q33946 Q16957 Q947153
SYSTEM
Czechoslovakia, East Germany, Kingdom of Tavolara
Q153080 Q33946 Q947153 Q16957 Q27260 Q172579 Q2353425 Q12490507 Q112558 Q7318
(c(Q7275),P35,c(Q502895))
action greater
action find_tuple_counts
relation P35
type Q7275
type Q502895
action count
action filter_type
action find
entity Q15180
relation P35
type Q7275
[ANSWERS] have more number of people as their chief of state than that state
[{'concept': 'Q7275'}, 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?c ) WHERE { ?o property:P35 ?x . ?x rdf:type ontology:Q502895 . ?o rdf:type ontology:Q7275 } GROUP BY ?o } . FILTER ( ?c > ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q15180 property:P35 ?g . ?g rdf:type ontology:Q7275 } } }
East Francia Czechoslovakia Kingdom of Tavolara East Germany Samma dynasty Kingdom of Italy Talossa Rashidun Caliphate Republic of Saugeais Nazi Germany
Czechoslovakia, East Germany and Kingdom of Tavolara have more number of people as their chief of state than that state
Czechoslovakia East Germany Kingdom of Tavolara
action greater
action find_tuple_counts
relation head of state
type state
type common name
action count
action filter_type
action find
entity Soviet Union
relation head of state
type state
[{'concept': 'state'}, 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?c ) WHERE { ?o property:head_of_state ?x . ?x rdf:type ontology:common_name . ?o rdf:type ontology:state } GROUP BY ?o } . FILTER ( ?c > ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Soviet_Union property:head_of_state ?g . ?g rdf:type ontology:state } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1027
Q163740 Q895526 Q618779
USER
How many awards are conferred by approximately 1 nonprofit organizations or authority organs ?
(c(Q618779),P1027,c(Q163740)|c(Q895526))
action count
action approx
action union
action find_tuple_counts
relation P1027
type Q618779
type Q163740
action find_tuple_counts
relation P1027
type Q618779
type Q895526
value 1
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q163740'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?p ) WHERE { { ?s property:P1027 ?t . ?s rdf:type ontology:Q618779 . ?t rdf:type ontology:Q163740 } UNION { ?s property:P1027 ?t . ?t rdf:type ontology:Q895526 . ?s rdf:type ontology:Q618779 } } GROUP BY ?s } . FILTER ( ?p = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation conferred by
type award
type nonprofit organization
action find_tuple_counts
relation conferred by
type award
type authority organ
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'nonprofit organization'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?p ) WHERE { { ?s property:conferred_by ?t . ?s rdf:type ontology:award . ?t rdf:type ontology:nonprofit_organization } UNION { ?s property:conferred_by ?t . ?t rdf:type ontology:authority_organ . ?s rdf:type ontology:award } } GROUP BY ?s } . FILTER ( ?p = 1 ) }
[]
nonprofit organization authority organ award
SYSTEM
27
Q23005880 Q1514013 Q23000365 Q3911041 Q391911 Q1585689 Q2465314 Q605151 Q11682189 Q1120501 Q1865093 Q1455366 Q521371 Q248041 Q5055189 Q3404685 Q1003951 Q5594940 Q1506751 Q21522006 Q204011 Q5211226 Q18693451 Q732997 Q1912039 Q2037956 Q700236
(c(Q618779),P1027,c(Q163740)|c(Q895526))
action count
action approx
action union
action find_tuple_counts
relation P1027
type Q618779
type Q163740
action find_tuple_counts
relation P1027
type Q618779
type Q895526
value 1
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q163740'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?p ) WHERE { { ?s property:P1027 ?t . ?s rdf:type ontology:Q618779 . ?t rdf:type ontology:Q163740 } UNION { ?s property:P1027 ?t . ?t rdf:type ontology:Q895526 . ?s rdf:type ontology:Q618779 } } GROUP BY ?s } . FILTER ( ?p = 1 ) }
Joseph B. Goldberger Award in Clinical Nutrition Arts and Culture Prize of German Catholics SUMA Award Honorary President of the World Esperanto Association National Order of Quebec Harnack medal Critics' Choice Television Award Carl-von-Ossietzky-Medaille Grand Prix du Disque Communicator Award of DFG Brücke Berlin Award Rosalind Franklin Award Gold record Zülch-Preis Cavling Prize Guy-Mauffette Prize Friedrich-Gundolf-Preis Grand Prix du Disque for Chamber Music The George B. Dantzig Prize Dallas-Fort Worth Film Critics Association Award Dronacharya Award Dallas-Fort Worth Film Critics Association Award for Best Film Finnish State Prize for Cinema British Academy Film Awards Max Planck research award Otto Hahn Medal German Book Prize
27
action count
action approx
action union
action find_tuple_counts
relation conferred by
type award
type nonprofit organization
action find_tuple_counts
relation conferred by
type award
type authority organ
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'nonprofit organization'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?p ) WHERE { { ?s property:conferred_by ?t . ?s rdf:type ontology:award . ?t rdf:type ontology:nonprofit_organization } UNION { ?s property:conferred_by ?t . ?t rdf:type ontology:authority_organ . ?s rdf:type ontology:award } } GROUP BY ?s } . FILTER ( ?p = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q497777
P1376
Q7275 Q515 Q486972
USER
How many states have approximately the same number of cities or human settlements as their capital as First Spanish Republic ?
(c(Q515)|c(Q486972),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q497777
relation P1376
type Q515
type Q486972
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?v ) WHERE { { ?o property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?o rdf:type ontology:Q515 } UNION { ?o property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?o rdf:type ontology:Q486972 } } GROUP BY ?c } . FILTER ( ?v = ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { { ?j rdf:type ontology:Q486972 } UNION { ?j rdf:type ontology:Q515 } } . ?j property:P1376 resource:Q497777 } } }
First Spanish Republic
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity First Spanish Republic
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?v ) WHERE { { ?o property:capital_of ?c . ?c rdf:type ontology:state . ?o rdf:type ontology:city } UNION { ?o property:capital_of ?c . ?c rdf:type ontology:state . ?o rdf:type ontology:human_settlement } } GROUP BY ?c } . FILTER ( ?v = ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { { ?j rdf:type ontology:human_settlement } UNION { ?j rdf:type ontology:city } } . ?j property:capital_of resource:First_Spanish_Republic } } }
[]
state city human settlement
SYSTEM
410
Q230791 Q1193822 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q152855 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q2006542 Q186096 Q501684 Q164079 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q1362278 Q1269234 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q83821 Q27260 Q249578 Q16410 Q215643 Q212278 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q1617495 Q1194765 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q181254 Q2396442 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q2088324 Q11909456 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q842091 Q70972 Q187684 Q1143164 Q1324889 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q112558 Q1198071 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q169705 Q212439 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q422065 Q76236 Q209857 Q2712121 Q964024 Q877155 Q777981 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q515)|c(Q486972),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q497777
relation P1376
type Q515
type Q486972
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?v ) WHERE { { ?o property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?o rdf:type ontology:Q515 } UNION { ?o property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?o rdf:type ontology:Q486972 } } GROUP BY ?c } . FILTER ( ?v = ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { { ?j rdf:type ontology:Q486972 } UNION { ?j rdf:type ontology:Q515 } } . ?j property:P1376 resource:Q497777 } } }
Kingdom of Scotland Wuyue Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo Kingdom of Tungning United Kingdom of Great Britain and Ireland 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 Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia 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 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 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 States of Stellaland Stellaland Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia 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 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 Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Kamarupa Brandenburg-Prussia Balhae 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 Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock 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 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 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 Arthedain Buyeo kingdom Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Western Satraps Kingdom of the Hwicce 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 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 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 Empire of Nicea Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Colonial Brazil Bit Agusi 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 Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Duchy of Normandy Kingdom of France Despotate of Epirus Western Wei Germiyanids Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic 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 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 Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Republic of Saugeais Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught 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 Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam 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
410
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity First Spanish Republic
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?v ) WHERE { { ?o property:capital_of ?c . ?c rdf:type ontology:state . ?o rdf:type ontology:city } UNION { ?o property:capital_of ?c . ?c rdf:type ontology:state . ?o rdf:type ontology:human_settlement } } GROUP BY ?c } . FILTER ( ?v = ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { { ?j rdf:type ontology:human_settlement } UNION { ?j rdf:type ontology:city } } . ?j property:capital_of resource:First_Spanish_Republic } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q523380
P1376
Q7275 Q515 Q486972
USER
And also tell me about Republic of Central Lithuania?
(c(Q515)|c(Q486972),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q523380
relation P1376
type Q515
type Q486972
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { FILTER ( ?z = ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P1376 resource:Q523380 . { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } } } . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?z ) WHERE { { ?j property:P1376 ?l . ?j rdf:type ontology:Q515 . ?l rdf:type ontology:Q7275 } UNION { ?j property:P1376 ?l . ?j rdf:type ontology:Q486972 . ?l rdf:type ontology:Q7275 } } GROUP BY ?l } }
Republic of Central Lithuania
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Republic of Central Lithuania
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { FILTER ( ?z = ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:capital_of resource:Republic_of_Central_Lithuania . { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:city ) ( ontology:human_settlement ) } } } } . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?z ) WHERE { { ?j property:capital_of ?l . ?j rdf:type ontology:city . ?l rdf:type ontology:state } UNION { ?j property:capital_of ?l . ?j rdf:type ontology:human_settlement . ?l rdf:type ontology:state } } GROUP BY ?l } }
[]
state city human settlement
SYSTEM
410
Q230791 Q1193822 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q152855 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q2006542 Q186096 Q501684 Q164079 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q1362278 Q1269234 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q83821 Q27260 Q249578 Q16410 Q215643 Q212278 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q1617495 Q1194765 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q181254 Q2396442 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q2088324 Q11909456 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q842091 Q70972 Q187684 Q1143164 Q1324889 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q112558 Q1198071 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q169705 Q212439 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q422065 Q76236 Q209857 Q2712121 Q964024 Q877155 Q777981 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q515)|c(Q486972),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q523380
relation P1376
type Q515
type Q486972
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { FILTER ( ?z = ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P1376 resource:Q523380 . { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } } } . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?z ) WHERE { { ?j property:P1376 ?l . ?j rdf:type ontology:Q515 . ?l rdf:type ontology:Q7275 } UNION { ?j property:P1376 ?l . ?j rdf:type ontology:Q486972 . ?l rdf:type ontology:Q7275 } } GROUP BY ?l } }
Kingdom of Scotland Wuyue Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo Kingdom of Tungning United Kingdom of Great Britain and Ireland 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 Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia 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 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 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 States of Stellaland Stellaland Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia 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 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 Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Kamarupa Brandenburg-Prussia Balhae 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 Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock 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 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 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 Arthedain Buyeo kingdom Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Western Satraps Kingdom of the Hwicce 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 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 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 Empire of Nicea Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Colonial Brazil Bit Agusi 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 Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Duchy of Normandy Kingdom of France Despotate of Epirus Western Wei Germiyanids Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic 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 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 Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Republic of Saugeais Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught 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 Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam 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
410
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Republic of Central Lithuania
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { FILTER ( ?z = ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:capital_of resource:Republic_of_Central_Lithuania . { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:city ) ( ontology:human_settlement ) } } } } . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?z ) WHERE { { ?j property:capital_of ?l . ?j rdf:type ontology:city . ?l rdf:type ontology:state } UNION { ?j property:capital_of ?l . ?j rdf:type ontology:human_settlement . ?l rdf:type ontology:state } } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q947153
P37
Q34770
USER
What are the official languages of Kingdom of Tavolara ?
(Q947153,P37,c(Q34770))
action filter_type
action find
entity Q947153
relation P37
type Q34770
['Q947153', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q947153 property:P37 ?x . ?x rdf:type ontology:Q34770 }
Kingdom of Tavolara
action filter_type
action find
entity Kingdom of Tavolara
relation official language
type language
['Kingdom of Tavolara', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Kingdom_of_Tavolara property:official_language ?x . ?x rdf:type ontology:language }
[]
language
Q652 Q33976
SYSTEM
Italian, Sardinian language
Q652 Q33976
(Q947153,P37,c(Q34770))
action filter_type
action find
entity Q947153
relation P37
type Q34770
The official languages of Kingdom of Tavolara are the [ANSWERS]
['Q947153', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q947153 property:P37 ?x . ?x rdf:type ontology:Q34770 }
Italian Sardinian language
The official languages of Kingdom of Tavolara are the Italian and Sardinian language
Italian Sardinian language
action filter_type
action find
entity Kingdom of Tavolara
relation official language
type language
['Kingdom of Tavolara', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Kingdom_of_Tavolara property:official_language ?x . ?x rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1261
Q34770
USER
And how about Colorado?
(Q1261,P37,c(Q34770))
action filter_type
action find
entity Q1261
relation P37
type Q34770
['Q1261', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q1261 property:P37 ?d }
Colorado
action filter_type
action find
entity Colorado
relation official language
type language
['Colorado', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Colorado property:official_language ?d }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1261,P37,c(Q34770))
action filter_type
action find
entity Q1261
relation P37
type Q34770
[ANSWER]
['Q1261', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q1261 property:P37 ?d }
English
English
action filter_type
action find
entity Colorado
relation official language
type language
['Colorado', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Colorado property:official_language ?d }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q442244
P282
Q9779 Q34770
USER
Which alphabets are the writing systems of lesser number of languages known as than Early Cyrillic alphabet ?
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q442244
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P282 resource:Q442244 . ?l rdf:type ontology:Q34770 } } . FILTER ( ?n < ?v ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P282 ?g . ?w rdf:type ontology:Q34770 . ?g rdf:type ontology:Q9779 } GROUP BY ?g } }
Early Cyrillic alphabet
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Early Cyrillic alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:writing_system resource:Early_Cyrillic_alphabet . ?l rdf:type ontology:language } } . FILTER ( ?n < ?v ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:writing_system ?g . ?w rdf:type ontology:language . ?g rdf:type ontology:alphabet } GROUP BY ?g } }
[]
alphabet language
Q792216 Q13405127 Q540987
SYSTEM
Belarusian alphabet, Rusyn alphabet, Portuguese alphabet
Q164436 Q754989 Q792216 Q606972 Q187846 Q13405127 Q1937113 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q442244
relation P282
type Q34770
[ANSWERS] are the writing systems of lesser number of languages known as than Early Cyrillic alphabet
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P282 resource:Q442244 . ?l rdf:type ontology:Q34770 } } . FILTER ( ?n < ?v ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P282 ?g . ?w rdf:type ontology:Q34770 . ?g rdf:type ontology:Q9779 } GROUP BY ?g } }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Rusyn alphabet futhark Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
Belarusian alphabet, Rusyn alphabet and Portuguese alphabet are the writing systems of lesser number of languages known as than Early Cyrillic alphabet
Belarusian alphabet Rusyn alphabet Portuguese alphabet
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Early Cyrillic alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:writing_system resource:Early_Cyrillic_alphabet . ?l rdf:type ontology:language } } . FILTER ( ?n < ?v ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:writing_system ?g . ?w rdf:type ontology:language . ?g rdf:type ontology:alphabet } GROUP BY ?g } }
[]