Simple Question (Direct)
Simple Question
Q4054612
P166
Q618779
USER
Which awards were Teyfuq Amit oğlu Abdul awarded with ?
(Q4054612,P166,c(Q618779))
action filter_type
action find
entity Q4054612
relation P166
type Q618779
['Q4054612', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q4054612 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Teyfuq Amit oğlu Abdul
action filter_type
action find
entity Teyfuq Amit oğlu Abdul
relation award received
type award
['Teyfuq Amit oğlu Abdul', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Teyfuq_Amit_oğlu_Abdul property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Q185493 Q337463 Q18200478
SYSTEM
Order of Lenin, Order of the Red Banner, Order of the Patriotic War 2nd class
Q337463 Q18200478 Q185493 Q18080149 Q178473
(Q4054612,P166,c(Q618779))
action filter_type
action find
entity Q4054612
relation P166
type Q618779
Teyfuq Amit oğlu Abdul were awarded the [ANSWERS]
['Q4054612', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q4054612 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Order of the Red Banner Order of the Patriotic War 2nd class Order of Lenin Order of the Patriotic War 1st class Hero of the Soviet Union
Teyfuq Amit oğlu Abdul were awarded the Order of Lenin, Order of the Red Banner and Order of the Patriotic War 2nd class
Order of Lenin Order of the Red Banner Order of the Patriotic War 2nd class
action filter_type
action find
entity Teyfuq Amit oğlu Abdul
relation award received
type award
['Teyfuq Amit oğlu Abdul', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Teyfuq_Amit_oğlu_Abdul property:award_received ?w . ?w rdf:type ontology:award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q185493
P17
Q7275
USER
Which state is that award located in ?
(Q185493,P17,c(Q7275))
action filter_type
action find
entity Q185493
relation P17
type Q7275
['Q185493', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7275 . resource:Q185493 property:P17 ?r }
Order of Lenin
action filter_type
action find
entity Order of Lenin
relation country
type state
['Order of Lenin', 'country', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:state . resource:Order_of_Lenin property:country ?r }
[]
state
Clarification for simple ques.
Q185493
SYSTEM
Did you mean Order of Lenin ?
Q185493 Q337463 Q18200478
(Q185493,P17,c(Q7275)) (Q337463,P17,c(Q7275)) (Q18200478,P17,c(Q7275))
[ANSWER]
['Q185493', 'P17', {'concept': 'Q7275'}] ['Q337463', 'P17', {'concept': 'Q7275'}] ['Q18200478', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7275 . resource:Q185493 property:P17 ?r }
Order of Lenin Order of the Red Banner Order of the Patriotic War 2nd class
Did you mean Order of Lenin ?
Order of Lenin
['Order of Lenin', 'country', {'concept': 'state'}] ['Order of the Red Banner', 'country', {'concept': 'state'}] ['Order of the Patriotic War 2nd class', 'country', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:state . resource:Order_of_Lenin property:country ?r }
[]
Simple Question (Coreferenced)
USER
Yes
(Q185493,P17,c(Q7275))
['Q185493', 'P17', {'concept': 'Q7275'}]
['Order of Lenin', 'country', {'concept': 'state'}]
[]
Q15180
SYSTEM
Soviet Union
Q15180
(Q185493,P17,c(Q7275))
action filter_type
action find
entity Q185493
relation P17
type Q7275
That award is located in [ANSWER]
['Q185493', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7275 . resource:Q185493 property:P17 ?r }
Soviet Union
That award is located in Soviet Union
Soviet Union
action filter_type
action find
entity Order of Lenin
relation country
type state
['Order of Lenin', 'country', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:state . resource:Order_of_Lenin property:country ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P941
Q7275 Q3895768
USER
Which states inspired more number of fictional locations than that state ?
(c(Q3895768),P941,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P941
type Q7275
type Q3895768
action count
action filter_type
action find
entity Q15180
relation P941
type Q7275
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P941 ?v . ?r rdf:type ontology:Q3895768 . ?v rdf:type ontology:Q7275 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q15180 property:P941 ?g . ?g rdf:type ontology:Q7275 } } . FILTER ( ?l > ?k ) }
action greater
action find_reverse_tuple_counts
relation inspired by
type state
type fictional location
action count
action filter_type
action find
entity Soviet Union
relation inspired by
type state
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:inspired_by ?v . ?r rdf:type ontology:fictional_location . ?v rdf:type ontology:state } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Soviet_Union property:inspired_by ?g . ?g rdf:type ontology:state } } . FILTER ( ?l > ?k ) }
[]
state fictional location
Q241790
SYSTEM
Kush
Q241790
(c(Q3895768),P941,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P941
type Q7275
type Q3895768
action count
action filter_type
action find
entity Q15180
relation P941
type Q7275
[ANSWER] inspired more number of fictional locations than that state
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P941 ?v . ?r rdf:type ontology:Q3895768 . ?v rdf:type ontology:Q7275 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q15180 property:P941 ?g . ?g rdf:type ontology:Q7275 } } . FILTER ( ?l > ?k ) }
Kush
Kush inspired more number of fictional locations than that state
Kush
action greater
action find_reverse_tuple_counts
relation inspired by
type state
type fictional location
action count
action filter_type
action find
entity Soviet Union
relation inspired by
type state
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:inspired_by ?v . ?r rdf:type ontology:fictional_location . ?v rdf:type ontology:state } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Soviet_Union property:inspired_by ?g . ?g rdf:type ontology:state } } . FILTER ( ?l > ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15180
P47
Q15617994
USER
How many administrative territories share the border with Soviet Union ?
(Q15180,P47,c(Q15617994))
action count
action filter_type
action find
entity Q15180
relation P47
type Q15617994
['Q15180', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q15180 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Soviet Union
action count
action filter_type
action find
entity Soviet Union
relation shares border with
type designation for an administrative territorial entity
['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Soviet_Union property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
9
Q423 Q43 Q148 Q219 Q17 Q794 Q33 Q36 Q889
(Q15180,P47,c(Q15617994))
action count
action filter_type
action find
entity Q15180
relation P47
type Q15617994
[ANSWER]
['Q15180', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q15180 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
North Korea Turkey People's Republic of China Bulgaria Japan Iran Finland Poland Afghanistan
9
action count
action filter_type
action find
entity Soviet Union
relation shares border with
type designation for an administrative territorial entity
['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Soviet_Union property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q52158
Q15617994
USER
And also tell me about Melissano?
(Q52158,P47,c(Q15617994))
action count
action filter_type
action find
entity Q52158
relation P47
type Q15617994
['Q52158', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q52158 property:P47 ?t }
Melissano
action count
action filter_type
action find
entity Melissano
relation shares border with
type designation for an administrative territorial entity
['Melissano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Melissano property:shares_border_with ?t }
[]
designation for an administrative territorial entity
SYSTEM
5
(Q52158,P47,c(Q15617994))
action count
action filter_type
action find
entity Q52158
relation P47
type Q15617994
[ANSWER]
['Q52158', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q52158 property:P47 ?t }
5
action count
action filter_type
action find
entity Melissano
relation shares border with
type designation for an administrative territorial entity
['Melissano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Melissano property:shares_border_with ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q240123
P36
Q56061 Q20667921 Q7275
USER
How many states consists of greater number of administrative territories or french administrative divisions as their capital than Indo-Scythians ?
(c(Q7275),P36,c(Q56061)|c(Q20667921))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q7275
type Q56061
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q240123
relation P36
type Q56061
type Q20667921
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?j rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Q240123 property:P36 ?m . { { ?m rdf:type ontology:Q20667921 } UNION { ?m rdf:type ontology:Q56061 } } } } . FILTER ( ?b > ?u ) }
Indo-Scythians
action count
action greater
action union
action find_tuple_counts
relation capital
type state
type administrative territorial entity
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Indo-Scythians
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?d WHERE { VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Indo-Scythians property:capital ?m . { { ?m rdf:type ontology:type_of_french_administrative_division } UNION { ?m rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?b > ?u ) }
[]
administrative territorial entity type of french administrative division state
SYSTEM
365
Q230791 Q15102440 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q174193 Q466581 Q110888 Q2145402 Q1471995 Q1295806 Q457167 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q72785 Q31454 Q834486 Q186096 Q133356 Q501684 Q164079 Q588672 Q62623 Q870055 Q282475 Q1789596 Q184536 Q523380 Q980 Q154401 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q506008 Q188553 Q536476 Q1068408 Q1150344 Q330362 Q8146595 Q23366230 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q918204 Q1067513 Q1468426 Q71092 Q15180 Q800236 Q27260 Q249578 Q16410 Q215643 Q212278 Q210542 Q223936 Q8735 Q8733 Q156038 Q7405 Q208404 Q467627 Q1796239 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q1771831 Q105313 Q44642 Q129569 Q38872 Q107299 Q546282 Q466803 Q11876909 Q541455 Q646374 Q241748 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q207272 Q889394 Q151148 Q5148520 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q762943 Q1998866 Q106577 Q473433 Q651377 Q161885 Q191077 Q468814 Q174306 Q1617495 Q37024 Q1194765 Q157367 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q172107 Q1322229 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q28428 Q1479952 Q303421 Q449639 Q1395320 Q1143524 Q2086556 Q26988 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1477220 Q4159675 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q146761 Q200262 Q1296908 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q158725 Q139315 Q832554 Q171150 Q3271735 Q160440 Q2305337 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q176495 Q796583 Q330988 Q1136259 Q1194329 Q28456 Q1183649 Q209065 Q21203 Q631210 Q75903 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q4948 Q836169 Q234009 Q28208 Q903779 Q1774 Q55502 Q713750 Q2552742 Q220167 Q696908 Q147909 Q319881 Q1709185 Q39760 Q62519 Q736727 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q181254 Q207521 Q2396442 Q142417 Q2428714 Q1406298 Q14934927 Q580188 Q1796198 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q175379 Q552157 Q170770 Q30623 Q747314 Q5157575 Q3456373 Q862304 Q217196 Q154195 Q266923 Q285658 Q150061 Q165154 Q842091 Q70972 Q268970 Q1143164 Q1562357 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q105092 Q178038 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q225890 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q150058 Q4461035 Q33946 Q762084 Q544630 Q180114 Q431731 Q1320058 Q36704 Q112558 Q28233 Q889884 Q698239 Q1142179 Q1277557 Q4453003 Q4453007 Q829356 Q764697 Q853477 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q76236 Q209857 Q2712121 Q13426199 Q964024 Q877155 Q26273 Q2365048 Q4274522 Q230407 Q49683 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q5362837 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q899706 Q1029847 Q6415938 Q5148517 Q41304
(c(Q7275),P36,c(Q56061)|c(Q20667921))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q7275
type Q56061
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q240123
relation P36
type Q56061
type Q20667921
[ANSWER]
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?j rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Q240123 property:P36 ?m . { { ?m rdf:type ontology:Q20667921 } UNION { ?m rdf:type ontology:Q56061 } } } } . FILTER ( ?b > ?u ) }
Kingdom of Scotland Kingdom of Serbs, Croatians and Slovenes Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Republic of South Peru Former Qin Lower Yafa West Ukrainian People's Republic British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Cretan State Kingdom of Libya Federation of South Arabia Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Kalmar Union Kingdom of Laos Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Slovak Republic 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 Kingdom of Deira Batavian Republic Toucouleur Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Republic of Geneva Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Rajpipla State Injuids Limmu-Ennarea Second French Empire Soviet Union Bahawalpur State Samma dynasty Ghaznavid Empire People's Republic of Hungary 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 Poher Prussia Kingdom of Northumbria Xia Pallava State of Brazil Anglo-Egyptian Sudan 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 Colony of Niger 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 Kingdom of Jaén Serbia and Montenegro 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 Enlightenment in Spain Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Baekje Kadamba Dynasty Kingdom of Galicia Alodia Duchy of Siewierz Northern Qi Kakatiya dynasty Cook Islands Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Somali Democratic Republic Javad khanate Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon 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 Argentine Confederation Kingdom of Hungary Kingdom of Arles Crimean Khanate Azerbaijan People's Government 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 Federal State of Austria Kingdom of Kongo Democratic Kampuchea Southwestern Somalia Nova Roma Silla Deccan sultanates Kingdom of Greece Aruba Nogai Horde Turkestan Autonomous Soviet Socialist Republic 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 Zanzibar Kingdom of Jerusalem West Germany Northland State Lydenburg Republic Kingdom of Poland Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Gaza Strip Finnish Democratic Republic Republic of Siena Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Empire of Nicea Abyssinia Kingdom of Galicia and Lodomeria Kingdom of Valencia Sena dynasty Serbian Empire Murrawarri Republic Mutawakkilite Kingdom of Yemen Kingdom of Córdoba Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Empire of China Nieuwe Republiek Grand Duchy of Moscow Manchukuo Bechuanaland Protectorate Griqualand East Republic of Brescia Kara-Khitan Khanate Crown of Castile Kingdom of Bavaria Kingdom of Mysore First Mexican Empire Republic of Ararat Kingdom of Sardinia Duchy of Normandy Kingdom of France Republic of German-Austria Western Wei Republic of Central Albania 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 Kingdom of Strathclyde Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Travancore Akkadian empire Czechoslovakia Bamana Empire Republic of Maryland Ayyubid dynasty Tanganyika History of Laos to 1945 Yugoslavia Republic of Saugeais Korean Empire Kingdom of Rwanda Hubaekje Orange River Colony Democratic Federal Yugoslavia 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 Sint Maarten 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 Emirate of Jabal Shammar 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 Peru–Bolivian Confederation Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
365
action count
action greater
action union
action find_tuple_counts
relation capital
type state
type administrative territorial entity
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Indo-Scythians
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?d WHERE { VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Indo-Scythians property:capital ?m . { { ?m rdf:type ontology:type_of_french_administrative_division } UNION { ?m rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?b > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q212439
P36
Q56061 Q20667921 Q7275
USER
And how about Cossack Hetmanate?
(c(Q7275),P36,c(Q56061)|c(Q20667921))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q7275
type Q56061
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q212439
relation P36
type Q56061
type Q20667921
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q212439 property:P36 ?p . { VALUES ( ?k ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?p rdf:type ?k } } } . FILTER ( ?n > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?n ) WHERE { { ?c property:P36 ?y . ?c rdf:type ontology:Q7275 . ?y rdf:type ontology:Q56061 } UNION { ?c property:P36 ?y . ?c rdf:type ontology:Q7275 . ?y rdf:type ontology:Q20667921 } } GROUP BY ?c } }
Cossack Hetmanate
action count
action greater
action union
action find_tuple_counts
relation capital
type state
type administrative territorial entity
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Cossack Hetmanate
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Cossack_Hetmanate property:capital ?p . { VALUES ( ?k ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?p rdf:type ?k } } } . FILTER ( ?n > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?n ) WHERE { { ?c property:capital ?y . ?c rdf:type ontology:state . ?y rdf:type ontology:administrative_territorial_entity } UNION { ?c property:capital ?y . ?c rdf:type ontology:state . ?y rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?c } }
[]
administrative territorial entity type of french administrative division state
SYSTEM
365
Q230791 Q15102440 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q174193 Q466581 Q110888 Q2145402 Q1471995 Q1295806 Q457167 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q72785 Q31454 Q834486 Q186096 Q133356 Q501684 Q164079 Q588672 Q62623 Q870055 Q282475 Q1789596 Q184536 Q523380 Q980 Q154401 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q506008 Q188553 Q536476 Q1068408 Q1150344 Q330362 Q8146595 Q23366230 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q918204 Q1067513 Q1468426 Q71092 Q15180 Q800236 Q27260 Q249578 Q16410 Q215643 Q212278 Q210542 Q223936 Q8735 Q8733 Q156038 Q7405 Q208404 Q467627 Q1796239 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q1771831 Q105313 Q44642 Q129569 Q38872 Q107299 Q546282 Q466803 Q11876909 Q541455 Q646374 Q241748 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q207272 Q889394 Q151148 Q5148520 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q762943 Q1998866 Q106577 Q473433 Q651377 Q161885 Q191077 Q468814 Q174306 Q1617495 Q37024 Q1194765 Q157367 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q172107 Q1322229 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q28428 Q1479952 Q303421 Q449639 Q1395320 Q1143524 Q2086556 Q26988 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1477220 Q4159675 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q146761 Q200262 Q1296908 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q158725 Q139315 Q832554 Q171150 Q3271735 Q160440 Q2305337 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q176495 Q796583 Q330988 Q1136259 Q1194329 Q28456 Q1183649 Q209065 Q21203 Q631210 Q75903 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q4948 Q836169 Q234009 Q28208 Q903779 Q1774 Q55502 Q713750 Q2552742 Q220167 Q696908 Q147909 Q319881 Q1709185 Q39760 Q62519 Q736727 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q181254 Q207521 Q2396442 Q142417 Q2428714 Q1406298 Q14934927 Q580188 Q1796198 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q175379 Q552157 Q170770 Q30623 Q747314 Q5157575 Q3456373 Q862304 Q217196 Q154195 Q266923 Q285658 Q150061 Q165154 Q842091 Q70972 Q268970 Q1143164 Q1562357 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q105092 Q178038 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q225890 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q150058 Q4461035 Q33946 Q762084 Q544630 Q180114 Q431731 Q1320058 Q36704 Q112558 Q28233 Q889884 Q698239 Q1142179 Q1277557 Q4453003 Q4453007 Q829356 Q764697 Q853477 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q76236 Q209857 Q2712121 Q13426199 Q964024 Q877155 Q26273 Q2365048 Q4274522 Q230407 Q49683 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q5362837 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q899706 Q1029847 Q6415938 Q5148517 Q41304
(c(Q7275),P36,c(Q56061)|c(Q20667921))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q7275
type Q56061
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q212439
relation P36
type Q56061
type Q20667921
[ANSWER]
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q212439 property:P36 ?p . { VALUES ( ?k ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?p rdf:type ?k } } } . FILTER ( ?n > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?n ) WHERE { { ?c property:P36 ?y . ?c rdf:type ontology:Q7275 . ?y rdf:type ontology:Q56061 } UNION { ?c property:P36 ?y . ?c rdf:type ontology:Q7275 . ?y rdf:type ontology:Q20667921 } } GROUP BY ?c } }
Kingdom of Scotland Kingdom of Serbs, Croatians and Slovenes Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Republic of South Peru Former Qin Lower Yafa West Ukrainian People's Republic British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Cretan State Kingdom of Libya Federation of South Arabia Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Kalmar Union Kingdom of Laos Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Slovak Republic 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 Kingdom of Deira Batavian Republic Toucouleur Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Republic of Geneva Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Rajpipla State Injuids Limmu-Ennarea Second French Empire Soviet Union Bahawalpur State Samma dynasty Ghaznavid Empire People's Republic of Hungary 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 Poher Prussia Kingdom of Northumbria Xia Pallava State of Brazil Anglo-Egyptian Sudan 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 Colony of Niger 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 Kingdom of Jaén Serbia and Montenegro 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 Enlightenment in Spain Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Baekje Kadamba Dynasty Kingdom of Galicia Alodia Duchy of Siewierz Northern Qi Kakatiya dynasty Cook Islands Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Somali Democratic Republic Javad khanate Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon 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 Argentine Confederation Kingdom of Hungary Kingdom of Arles Crimean Khanate Azerbaijan People's Government 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 Federal State of Austria Kingdom of Kongo Democratic Kampuchea Southwestern Somalia Nova Roma Silla Deccan sultanates Kingdom of Greece Aruba Nogai Horde Turkestan Autonomous Soviet Socialist Republic 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 Zanzibar Kingdom of Jerusalem West Germany Northland State Lydenburg Republic Kingdom of Poland Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Gaza Strip Finnish Democratic Republic Republic of Siena Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Empire of Nicea Abyssinia Kingdom of Galicia and Lodomeria Kingdom of Valencia Sena dynasty Serbian Empire Murrawarri Republic Mutawakkilite Kingdom of Yemen Kingdom of Córdoba Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Empire of China Nieuwe Republiek Grand Duchy of Moscow Manchukuo Bechuanaland Protectorate Griqualand East Republic of Brescia Kara-Khitan Khanate Crown of Castile Kingdom of Bavaria Kingdom of Mysore First Mexican Empire Republic of Ararat Kingdom of Sardinia Duchy of Normandy Kingdom of France Republic of German-Austria Western Wei Republic of Central Albania 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 Kingdom of Strathclyde Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Travancore Akkadian empire Czechoslovakia Bamana Empire Republic of Maryland Ayyubid dynasty Tanganyika History of Laos to 1945 Yugoslavia Republic of Saugeais Korean Empire Kingdom of Rwanda Hubaekje Orange River Colony Democratic Federal Yugoslavia 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 Sint Maarten 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 Emirate of Jabal Shammar 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 Peru–Bolivian Confederation Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
365
action count
action greater
action union
action find_tuple_counts
relation capital
type state
type administrative territorial entity
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Cossack Hetmanate
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Cossack_Hetmanate property:capital ?p . { VALUES ( ?k ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?p rdf:type ?k } } } . FILTER ( ?n > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?n ) WHERE { { ?c property:capital ?y . ?c rdf:type ontology:state . ?y rdf:type ontology:administrative_territorial_entity } UNION { ?c property:capital ?y . ?c rdf:type ontology:state . ?y rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15180 Q21808755
P35
Q502895
USER
How many people are the chiefs of state of Soviet Union or Duvalier dynasty ?
(Q15180,P35,c(Q502895)) (Q21808755,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q15180
relation P35
type Q502895
action filter_type
action find
entity Q21808755
relation P35
type Q502895
['Q15180', 'P35', {'concept': 'Q502895'}] ['Q21808755', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { resource:Q15180 property:P35 ?y . ?y rdf:type ontology:Q502895 } UNION { resource:Q21808755 property:P35 ?y . ?y rdf:type ontology:Q502895 } }
Soviet Union Duvalier dynasty
action count
action union
action filter_type
action find
entity Soviet Union
relation head of state
type common name
action filter_type
action find
entity Duvalier dynasty
relation head of state
type common name
['Soviet Union', 'head of state', {'concept': 'common name'}] ['Duvalier dynasty', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { resource:Soviet_Union property:head_of_state ?y . ?y rdf:type ontology:common_name } UNION { resource:Duvalier_dynasty property:head_of_state ?y . ?y rdf:type ontology:common_name } }
[]
common name
SYSTEM
3
Q30487 Q187697 Q310775
(Q15180,P35,c(Q502895)) (Q21808755,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q15180
relation P35
type Q502895
action filter_type
action find
entity Q21808755
relation P35
type Q502895
[ANSWER]
['Q15180', 'P35', {'concept': 'Q502895'}] ['Q21808755', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { resource:Q15180 property:P35 ?y . ?y rdf:type ontology:Q502895 } UNION { resource:Q21808755 property:P35 ?y . ?y rdf:type ontology:Q502895 } }
Mikhail Gorbachev François Duvalier Jean-Claude Duvalier
3
action count
action union
action filter_type
action find
entity Soviet Union
relation head of state
type common name
action filter_type
action find
entity Duvalier dynasty
relation head of state
type common name
['Soviet Union', 'head of state', {'concept': 'common name'}] ['Duvalier dynasty', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { resource:Soviet_Union property:head_of_state ?y . ?y rdf:type ontology:common_name } UNION { resource:Duvalier_dynasty property:head_of_state ?y . ?y rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P163
Q14660
USER
What is the name of flag associated with Soviet Union ?
(Q15180,P163,c(Q14660))
action filter_type
action find
entity Q15180
relation P163
type Q14660
['Q15180', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q15180 property:P163 ?f . ?f rdf:type ontology:Q14660 }
Soviet Union
action filter_type
action find
entity Soviet Union
relation flag
type flag
['Soviet Union', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:Soviet_Union property:flag ?f . ?f rdf:type ontology:flag }
[]
flag
Q165230
SYSTEM
flag of the Soviet Union
Q165230
(Q15180,P163,c(Q14660))
action filter_type
action find
entity Q15180
relation P163
type Q14660
The name of flag associated with Soviet Union is the [ANSWER]
['Q15180', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q15180 property:P163 ?f . ?f rdf:type ontology:Q14660 }
flag of the Soviet Union
The name of flag associated with Soviet Union is the flag of the Soviet Union
flag of the Soviet Union
action filter_type
action find
entity Soviet Union
relation flag
type flag
['Soviet Union', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:Soviet_Union property:flag ?f . ?f rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q165230
P1001
Q7275
USER
Which state is linked to that flag ?
(Q165230,P1001,c(Q7275))
action filter_type
action find
entity Q165230
relation P1001
type Q7275
['Q165230', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q165230 property:P1001 ?p . ?p rdf:type ontology:Q7275 }
flag of the Soviet Union
action filter_type
action find
entity flag of the Soviet Union
relation applies to jurisdiction
type state
['flag of the Soviet Union', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:flag_of_the_Soviet_Union property:applies_to_jurisdiction ?p . ?p rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q165230,P1001,c(Q7275))
action filter_type
action find
entity Q165230
relation P1001
type Q7275
[ANSWER] is linked to that flag
['Q165230', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q165230 property:P1001 ?p . ?p rdf:type ontology:Q7275 }
Soviet Union
Soviet Union is linked to that flag
Soviet Union
action filter_type
action find
entity flag of the Soviet Union
relation applies to jurisdiction
type state
['flag of the Soviet Union', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:flag_of_the_Soviet_Union property:applies_to_jurisdiction ?p . ?p rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15180
P38
Q8142
USER
What is the currency of that state ?
(Q15180,P38,c(Q8142))
action filter_type
action find
entity Q15180
relation P38
type Q8142
['Q15180', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?y WHERE { resource:Q15180 property:P38 ?y . ?y rdf:type ontology:Q8142 }
Soviet Union
action filter_type
action find
entity Soviet Union
relation currency
type currency
['Soviet Union', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?y WHERE { resource:Soviet_Union property:currency ?y . ?y rdf:type ontology:currency }
[]
currency
Q615640
SYSTEM
Soviet ruble
Q615640
(Q15180,P38,c(Q8142))
action filter_type
action find
entity Q15180
relation P38
type Q8142
The currency of that state is the [ANSWER]
['Q15180', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?y WHERE { resource:Q15180 property:P38 ?y . ?y rdf:type ontology:Q8142 }
Soviet ruble
The currency of that state is the Soviet ruble
Soviet ruble
action filter_type
action find
entity Soviet Union
relation currency
type currency
['Soviet Union', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?y WHERE { resource:Soviet_Union property:currency ?y . ?y rdf:type ontology:currency }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q661047 Q185493
P161 P138
Q502895
USER
Which people are the origin of Order of Lenin or starred in Marienhof ?
OR((Q185493,P138,c(Q502895)), (Q661047,P161,c(Q502895)))
action filter_type
action union
action find
entity Q185493
relation P138
action find
entity Q661047
relation P161
type Q502895
{'OR': [['Q185493', 'P138', {'concept': 'Q502895'}], ['Q661047', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q185493 property:P138 ?k } UNION { resource:Q661047 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
Marienhof Order of Lenin
action filter_type
action union
action find
entity Order of Lenin
relation named after
action find
entity Marienhof
relation cast member
type common name
{'OR': [['Order of Lenin', 'named after', {'concept': 'common name'}], ['Marienhof', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Order_of_Lenin property:named_after ?k } UNION { resource:Marienhof property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]
common name
Q2337034 Q1887804 Q1594586 Q2225438 Q110391 Q1281757 Q1643073 Q1682250 Q67383 Q2591803
SYSTEM
Some of them are Stefan Maaß, Malte Friedrich, Heike Thiem-Schneider, Sascha Heymans, Klaus Zmorek, Eckhard Preuß, Roland Pfaus, Jan Stapelfeldt, Matthias Freihof, Wolfgang Wolter
Q372705 Q2279421 Q1394 Q1795865 Q2262710 Q1539549 Q73935 Q1451191 Q1462512 Q2592125 Q2429189 Q2221033 Q1992817 Q1693254 Q1690214 Q1331250 Q1718892 Q1682250 Q1527435 Q2263229 Q1416363 Q109718 Q1661226 Q126145 Q114814 Q1991476 Q1928082 Q567139 Q1682067 Q95998 Q1896856 Q1417286 Q1052907 Q1599510 Q865877 Q2080195 Q1210476 Q2371205 Q108434 Q1605007 Q114272 Q2643207 Q90777 Q2262659 Q97153 Q1575712 Q104876 Q1966226 Q1819456 Q501335 Q1613914 Q2225438 Q112701 Q1241518 Q2262738 Q90991 Q1519473 Q2163477 Q1148926 Q1082198 Q1594966 Q604472 Q1444069 Q99310 Q1277290 Q2344187 Q107147 Q101786 Q2263039 Q825535 Q1253789 Q1455951 Q104849 Q1736239 Q120109 Q1453096 Q1429745 Q606152 Q1701985 Q2531524 Q18343361 Q1896654 Q1929522 Q1673596 Q1071540 Q1362798 Q2288099 Q1894213 Q1938207 Q1727164 Q1407936 Q1672738 Q2591803 Q2508583 Q1682163 Q124762 Q1081437 Q2074620 Q1453062 Q1302230 Q89209 Q1260396 Q1098785 Q2369091 Q1906349 Q1554624 Q112624 Q813258 Q1098373 Q1403967 Q2517465 Q1680866 Q1918985 Q85247 Q1306274 Q107232 Q1422467 Q1095622 Q2546615 Q1532104 Q2369518 Q43764 Q1582531 Q2337034 Q1086799 Q498711 Q1044134 Q1515161 Q2077616 Q824795 Q1643073 Q1451162 Q1513986 Q2371379 Q20243339 Q1682867 Q84479 Q1683107 Q1542388 Q100318 Q107222 Q2209495 Q67383 Q1700662 Q1243394 Q1163741 Q1927924 Q86779 Q1381475 Q1561095 Q1510843 Q496130 Q1524639 Q1340027 Q1966179 Q2209838 Q1208828 Q108360 Q1286623 Q96092 Q108202 Q2020526 Q1736021 Q1098749 Q1736475 Q78188 Q1736636 Q97176 Q2435290 Q1488901 Q561601 Q2522729 Q1294998 Q213824 Q2459735 Q2373535 Q2804909 Q1684854 Q2593266 Q110391 Q1500772 Q103271 Q1919005 Q1081373 Q2440178 Q1140143 Q500675 Q105129 Q1348958 Q112677 Q1281757 Q1484066 Q1371461 Q2643594 Q1409681 Q498605 Q1594586 Q1663221 Q1734731 Q1805919 Q2515322 Q1978034 Q916111 Q101807 Q1381789 Q2057882 Q107291 Q1887804 Q1736707 Q1079100 Q1706866 Q1986946 Q104084 Q2019056 Q1165515 Q1696958
OR((Q185493,P138,c(Q502895)), (Q661047,P161,c(Q502895)))
action filter_type
action union
action find
entity Q185493
relation P138
action find
entity Q661047
relation P161
type Q502895
[ANSWERS] are the origin of Order of Lenin or starred in Marienhof
{'OR': [['Q185493', 'P138', {'concept': 'Q502895'}], ['Q661047', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q185493 property:P138 ?k } UNION { resource:Q661047 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
Adrian Can Shirli Volk Vladimir Lenin Wilm Roil Sebastian Fischer Juana-Maria von Jascheroff Viktoria Brams François Smesny Friedrich Theuring Wolfram Mucha Thorsten Nindel Sandra Koltai Nina Louise Matthias Beier Joachim Jung Isis Schabana Ulrike Luderer Jan Stapelfeldt Gisela Scherzer-Rening Sebastian Winkler Jana Voosen Julia Palmer-Stoll Ursula Michelis Giovanni Arvaneh Katrin Lux Nikolaus Gröbe Michael Jäger Annika Preil Jan Mrachacz Miriam Lahnstein Marianne Lindner Manuela Riva Celia Kim Rebecca Goldblat Birte Berg Petra Gumpold Didi Schaack Sven Kramer Claudio Maniscalco Hendrik Borgmann Tanja Mairhofer Alexander Wachholz Christof Arnold Sebastian Deyle Lisa Maria Potthoff Hanna Köhler Wolfgang Seidenberg Nataliya Lapina Leonie Kienzle Andreas Zimmermann Michaela Geuer Sascha Heymans Berrit Arnold Donia Ben-Jemia Sebastian Gerold Sandra Keller Marc Jung Rolf Illig Cyrus David Christian Volkmann Shary Reeves Antonio Putignano Frank Ruttloff Özgür Özata Mia Martin Stephanie Kellner Alfonso Losa Holger C. Gotha Sebastian Reusse Bernhard Letizky Rosetta Pedone Freya Trampert Julia Dahmen Katherine Brand Leonore Capell Frederik Babucke Florian Karlheim Antonio di Mauro Michael Meziani Volkmar Witt René Schoenenberger Marian Jung Michael Stölzl Isabella Hübner Chi Le Erwin Aljukic Simone Gorholt Marcus Kaloff Mirja Mahir Margit Geissler-Rothemund Klaus Nierhoff Iris Junik Wolfgang Wolter Valentina Pahde Jan Robert Müller Judith Hildebrandt Christian Polito Peter E. Funck Miriam Smolka Julika Wagner-Hohenlobbese Caroline Grothgar Jonathan Sonnenschein Claus Ringer Susanna Wellenbrink Mary Muhsal Gundis Zámbó Annika Murjahn Beatrice Sadek Claus-Dieter Reents Felix zu Knyphausen Veronika Handel Maike Billitis Melanie Marx Mona Seefried Yvonne Burbach Johannes Raspe Marc Philipp Clarissa Handel Walter Unterweger Gloria Nefzger Susanne Steidle Hans Kraus Hans Sigl Stefan Maaß Christopher Krieg Andreas Kaufmann Caro Scrimali Gert Burkard Peter Priegann Bernhard Bozian Roland Pfaus Alexander Pelz Olivia Augustinski Sven Thiemann Michael Vogtmann Janne Drücker Ulrike Mai Maria Hönig Renate Muhri Lara-Isabelle Rentinck Heike Ulrich Sabi Dorr Matthias Freihof John Jürgens Kerstin Wittemeyer Daniele Legler Michael Häfner Marque Ygal Gleim Günter Spörrle Gerd Silberbauer Andreas Bieber Joachim R. Iffland Imke Müller Natalie de la Piedra Sabine Nötzel Diana Greifenstein Sabine Bohlmann Ivonne Polizzano Julia Biedermann Simon-Paul Wagner Oliver Sauer Katharina Woschek Claus-Peter Seifert Kathrin Ackermann Henriette Richter-Röhl Katja Keller Yvonne de Bark Timothy Raschdorf Gabriel Andrade Anna Lena Class Victoria Fast Regina Lemnitz Jessica Boehrs Tuna Ünal Sybille Heyen Vaile Fuchs Luise Bähr Wookie Mayer Klaus Zmorek Mirco Wallraf Fabian Baier Melanie Rohde Christian Petru Tom Viehöfer Crisaide Mendes Jones Andreas Seyferth Lutz Winde Jana Hora Anke Sevenich Eckhard Preuß Gerd Udo Feller Isabella Jantz Alexandra Henkel Justine Del Corte Andreas Jung Heike Thiem-Schneider Ingo Wirth Karyn von Ostholt-Haas Matthias Klie Verena Mörtel Nermina Kukic Brigitte Antonius Maike von Bremen Evelyn Palek Patrick Pinheiro Dieter Bach Malte Friedrich Katrin Filzen Christian Buse Laura Schneider Nicole Belstler-Boettcher Günter Naumann Ole Pfennig Daphne Wagner Johanna Klante
Stefan Maaß, Malte Friedrich, Heike Thiem-Schneider, Sascha Heymans, Klaus Zmorek, Eckhard Preuß, Roland Pfaus, Jan Stapelfeldt, Matthias Freihof and Wolfgang Wolter are the origin of Order of Lenin or starred in Marienhof
Stefan Maaß Malte Friedrich Heike Thiem-Schneider Sascha Heymans Klaus Zmorek Eckhard Preuß Roland Pfaus Jan Stapelfeldt Matthias Freihof Wolfgang Wolter
action filter_type
action union
action find
entity Order of Lenin
relation named after
action find
entity Marienhof
relation cast member
type common name
{'OR': [['Order of Lenin', 'named after', {'concept': 'common name'}], ['Marienhof', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Order_of_Lenin property:named_after ?k } UNION { resource:Marienhof property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]