Simple Question (Direct)
Simple Question
Q4168627
P86
Q502895
USER
Who was My Friend, Kolka! composed by ?
(Q4168627,P86,c(Q502895))
action filter_type
action find
entity Q4168627
relation P86
type Q502895
['Q4168627', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4168627 property:P86 ?h . ?h rdf:type ontology:Q502895 }
My Friend, Kolka!
action filter_type
action find
entity My Friend, Kolka!
relation composer
type common name
['My Friend, Kolka!', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:My_Friend,_Kolka! property:composer ?h . ?h rdf:type ontology:common_name }
[]
common name
Q4521653
SYSTEM
Lev Shvarts
Q4521653
(Q4168627,P86,c(Q502895))
action filter_type
action find
entity Q4168627
relation P86
type Q502895
[ANSWER] ! My Friend , Kolka was
['Q4168627', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4168627 property:P86 ?h . ?h rdf:type ontology:Q502895 }
Lev Shvarts
Lev Shvarts ! My Friend , Kolka was
Lev Shvarts
action filter_type
action find
entity My Friend, Kolka!
relation composer
type common name
['My Friend, Kolka!', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:My_Friend,_Kolka! property:composer ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4168627
P495
Q7275
USER
Where did that work of art originate ?
(Q4521653,P495,c(Q7275))
action filter_type
action find
entity Q4168627
relation P495
type Q7275
['Q4521653', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q4168627 property:P495 ?e . ?e rdf:type ontology:Q7275 }
My Friend, Kolka!
action filter_type
action find
entity My Friend, Kolka!
relation country of origin
type state
['Lev Shvarts', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:My_Friend,_Kolka! property:country_of_origin ?e . ?e rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4521653,P495,c(Q7275))
action filter_type
action find
entity Q4168627
relation P495
type Q7275
That work of art originated in [ANSWER]
['Q4521653', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q4168627 property:P495 ?e . ?e rdf:type ontology:Q7275 }
Soviet Union
That work of art originated in Soviet Union
Soviet Union
action filter_type
action find
entity My Friend, Kolka!
relation country of origin
type state
['Lev Shvarts', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:My_Friend,_Kolka! property:country_of_origin ?e . ?e rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15180
P793
Q340169
USER
What is a significant event associated with that state ?
(Q15180,P793,c(Q340169))
action filter_type
action find
entity Q15180
relation P793
type Q340169
['Q15180', 'P793', {'concept': 'Q340169'}]
SELECT DISTINCT ?v WHERE { resource:Q15180 property:P793 ?v . ?v rdf:type ontology:Q340169 }
Soviet Union
action filter_type
action find
entity Soviet Union
relation significant event
type media
['Soviet Union', 'significant event', {'concept': 'media'}]
SELECT DISTINCT ?v WHERE { resource:Soviet_Union property:significant_event ?v . ?v rdf:type ontology:media }
[]
media
Q1443926
SYSTEM
Treaty on the Creation of the USSR
Q1443926
(Q15180,P793,c(Q340169))
action filter_type
action find
entity Q15180
relation P793
type Q340169
A significant event associated with that state is the [ANSWER]
['Q15180', 'P793', {'concept': 'Q340169'}]
SELECT DISTINCT ?v WHERE { resource:Q15180 property:P793 ?v . ?v rdf:type ontology:Q340169 }
Treaty on the Creation of the USSR
A significant event associated with that state is the Treaty on the Creation of the USSR
Treaty on the Creation of the USSR
action filter_type
action find
entity Soviet Union
relation significant event
type media
['Soviet Union', 'significant event', {'concept': 'media'}]
SELECT DISTINCT ?v WHERE { resource:Soviet_Union property:significant_event ?v . ?v rdf:type ontology:media }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q7275 Q56061 Q486972
USER
Which states have approximately 1 administrative territories or human settlements as their county seat ?
(c(Q56061)|c(Q486972),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?a WHERE { { ?y property:P1376 ?a . ?a rdf:type ontology:Q7275 . ?y rdf:type ontology:Q56061 } UNION { ?a rdf:type ontology:Q7275 . ?y rdf:type ontology:Q486972 . ?y property:P1376 ?a } } GROUP BY ?a } }
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?a WHERE { { ?y property:capital_of ?a . ?a rdf:type ontology:state . ?y rdf:type ontology:administrative_territorial_entity } UNION { ?a rdf:type ontology:state . ?y rdf:type ontology:human_settlement . ?y property:capital_of ?a } } GROUP BY ?a } }
[]
state administrative territorial entity human settlement
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q457167 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q834486 Q186096 Q133356 Q501684 Q164079 Q1649871 Q588672 Q62623 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q188553 Q536476 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q2361927 Q1067513 Q1468426 Q71092 Q15180 Q800236 Q27260 Q249578 Q16410 Q953432 Q215643 Q212278 Q210542 Q223936 Q8735 Q8733 Q156038 Q7405 Q208404 Q467627 Q1796239 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q1771831 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q216173 Q646374 Q241748 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q207272 Q889394 Q151148 Q1796198 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q762943 Q1998866 Q106577 Q473433 Q651377 Q161885 Q191077 Q468814 Q174306 Q16957 Q1617495 Q1194765 Q157367 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1477220 Q269864 Q199841 Q335088 Q325461 Q583038 Q860407 Q146761 Q200262 Q1296908 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q158725 Q139315 Q26273 Q832554 Q3271735 Q160440 Q797422 Q235030 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q631210 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q713750 Q2552742 Q220167 Q147909 Q319881 Q1709185 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q181254 Q2396442 Q142417 Q2428714 Q1406298 Q14934927 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q154195 Q266923 Q285658 Q150061 Q70972 Q1143164 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q105092 Q178038 Q206279 Q1469100 Q25279 Q1078602 Q2378381 Q747314 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q150058 Q4461035 Q33946 Q762084 Q2579852 Q544630 Q180114 Q431731 Q36704 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q764697 Q853477 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q2712121 Q13426199 Q964024 Q877155 Q487829 Q2365048 Q4274522 Q230407 Q49683 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q93180 Q28573 Q949268 Q1986139 Q151536 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q56061)|c(Q486972),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[ANSWERS] have approximately 1 administrative territories or human settlements as their county seat
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?a WHERE { { ?y property:P1376 ?a . ?a rdf:type ontology:Q7275 . ?y rdf:type ontology:Q56061 } UNION { ?a rdf:type ontology:Q7275 . ?y rdf:type ontology:Q486972 . ?y property:P1376 ?a } } GROUP BY ?a } }
Kingdom of Scotland Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa West Ukrainian People's Republic British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Federation of South Arabia Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Gomma Kingdom of Hanover Kingdom of Poland Hammadid dynasty Kalmar Union Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Batavian Republic Toucouleur Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Duchy of Masovia Injuids Limmu-Ennarea Second French Empire Soviet Union Bahawalpur State Samma dynasty Ghaznavid Empire People's Republic of Hungary Couto Misto Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Qing dynasty Duchy of Courland and Semigallia Sui dynasty Kingdom of Armenia Durrani Empire Kingdom of Seville Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Kruševo Republic Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan Free City of Danzig French India Kingdom of Serbia Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic County of Holland Czech and Slovak Federal Republic Neustria Ammon Shunga Empire Kingdom of Great Britain Kingdom of Yugoslavia Dahomey Republic of Genoa East Germany Kingdom of Jaén Kamarupa Brandenburg-Prussia Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Somali Democratic Republic Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kahlur State Hatay State Kingdom of Navarre Kathiri Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Tanganyika Territory Dʿmt Sint Maarten Argentine Confederation Kingdom of Arles Crimean Khanate Republic of Upper Volta Principality of Antioch Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Nogai Horde Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem West Germany Northland State Lydenburg Republic Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Empire of Nicea Kingdom of Galicia and Lodomeria Kingdom of Valencia Sena dynasty Serbian Empire Murrawarri Republic Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Bavaria Kingdom of Mysore First Mexican Empire Republic of Ararat Kingdom of France Western Wei Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Kingdom of Mercia Second Spanish Republic Waalo Karamanids Curaçao Kingdom of Nepal State of Aden Bechuanaland Protectorate Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Travancore Akkadian empire Czechoslovakia Bamana Empire Taurida Soviet Socialist Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Taifa of Orihuela Lan Xang Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Republic of Connaught Republic of China Moldavian Democratic Republic Chera Dynasty Chagatai Khanate Adal Sultanate Tyrconnell Kingdom of Israel Grand Duchy of Lithuania Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
Czechoslovakia, Soviet Union and Bavaria have approximately 1 administrative territories or human settlements as their county seat
Czechoslovakia Soviet Union Bavaria
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?a WHERE { { ?y property:capital_of ?a . ?a rdf:type ontology:state . ?y rdf:type ontology:administrative_territorial_entity } UNION { ?a rdf:type ontology:state . ?y rdf:type ontology:human_settlement . ?y property:capital_of ?a } } GROUP BY ?a } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15180
P287
Q153556
USER
Which ranged weapon was that state the designer of ?
(c(Q153556),P287,Q33946) (c(Q153556),P287,Q15180) (c(Q153556),P287,Q980)
action filter_type
action find_reverse
entity Q15180
relation P287
type Q153556
[{'concept': 'Q153556'}, 'P287', 'Q33946'] [{'concept': 'Q153556'}, 'P287', 'Q15180'] [{'concept': 'Q153556'}, 'P287', 'Q980']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q153556 . ?v property:P287 resource:Q15180 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation designer
type ranged weapon
[{'concept': 'ranged weapon'}, 'designer', 'Czechoslovakia'] [{'concept': 'ranged weapon'}, 'designer', 'Soviet Union'] [{'concept': 'ranged weapon'}, 'designer', 'Bavaria']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:ranged_weapon . ?v property:designer resource:Soviet_Union }
[]
ranged weapon
Q8059857
SYSTEM
Yu-1
Q8059857
(c(Q153556),P287,Q33946) (c(Q153556),P287,Q15180) (c(Q153556),P287,Q980)
action filter_type
action find_reverse
entity Q15180
relation P287
type Q153556
[ANSWER] was that state the designer of
[{'concept': 'Q153556'}, 'P287', 'Q33946'] [{'concept': 'Q153556'}, 'P287', 'Q15180'] [{'concept': 'Q153556'}, 'P287', 'Q980']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q153556 . ?v property:P287 resource:Q15180 }
Yu-1
Yu-1 was that state the designer of
Yu-1
action filter_type
action find_reverse
entity Soviet Union
relation designer
type ranged weapon
[{'concept': 'ranged weapon'}, 'designer', 'Czechoslovakia'] [{'concept': 'ranged weapon'}, 'designer', 'Soviet Union'] [{'concept': 'ranged weapon'}, 'designer', 'Bavaria']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:ranged_weapon . ?v property:designer resource:Soviet_Union }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q7275
USER
Which assemblies govern approximately 2 states ?
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 2
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c = 2 ) . { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P194 ?w . ?w rdf:type ontology:Q1752346 . ?u rdf:type ontology:Q7275 } GROUP BY ?w } }
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c = 2 ) . { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:legislative_body ?w . ?w rdf:type ontology:assembly . ?u rdf:type ontology:state } GROUP BY ?w } }
[]
assembly state
Q641439 Q371576 Q639704
SYSTEM
Landtag of Bavaria, Parliament of Croatia, National Assembly
Q1889821 Q650248 Q641439 Q371576 Q1484825 Q697775 Q639704
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 2
[ANSWERS] govern approximately 2 states
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c = 2 ) . { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P194 ?w . ?w rdf:type ontology:Q1752346 . ?u rdf:type ontology:Q7275 } GROUP BY ?w } }
Irish Parliament Landtag of Prussia Landtag of Bavaria Parliament of Croatia Congress of the Union Imperial Council National Assembly
Landtag of Bavaria, Parliament of Croatia and National Assembly govern approximately 2 states
Landtag of Bavaria Parliament of Croatia National Assembly
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c = 2 ) . { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:legislative_body ?w . ?w rdf:type ontology:assembly . ?u rdf:type ontology:state } GROUP BY ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15180 Q20878969
P463
Q502895
USER
How many people have a membership of Soviet Union or 26th Parliament of Turkey ?
(c(Q502895),P463,Q15180) (c(Q502895),P463,Q20878969)
action count
action union
action filter_type
action find_reverse
entity Q15180
relation P463
type Q502895
action filter_type
action find_reverse
entity Q20878969
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q15180'] [{'concept': 'Q502895'}, 'P463', 'Q20878969']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?o ) { ( resource:Q15180 ) ( resource:Q20878969 ) } . ?b property:P463 ?o }
Soviet Union 26th Parliament of Turkey
action count
action union
action filter_type
action find_reverse
entity Soviet Union
relation member of
type common name
action filter_type
action find_reverse
entity 26th Parliament of Turkey
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Soviet Union'] [{'concept': 'common name'}, 'member of', '26th Parliament of Turkey']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?o ) { ( resource:Soviet_Union ) ( resource:26th_Parliament_of_Turkey ) } . ?b property:member_of ?o }
[]
common name
SYSTEM
3
Q22671020 Q23069880 Q21540262
(c(Q502895),P463,Q15180) (c(Q502895),P463,Q20878969)
action count
action union
action filter_type
action find_reverse
entity Q15180
relation P463
type Q502895
action filter_type
action find_reverse
entity Q20878969
relation P463
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q15180'] [{'concept': 'Q502895'}, 'P463', 'Q20878969']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?o ) { ( resource:Q15180 ) ( resource:Q20878969 ) } . ?b property:P463 ?o }
Ali Sarıkaya Ali İhsan Yavuz Ravza Kavakçı Kan
3
action count
action union
action filter_type
action find_reverse
entity Soviet Union
relation member of
type common name
action filter_type
action find_reverse
entity 26th Parliament of Turkey
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Soviet Union'] [{'concept': 'common name'}, 'member of', '26th Parliament of Turkey']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?o ) { ( resource:Soviet_Union ) ( resource:26th_Parliament_of_Turkey ) } . ?b property:member_of ?o }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q207162
P194
Q1752346 Q11204 Q7275
USER
Which states have less number of assemblies and legislatures as their representative body than Bourbon Restoration ?
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action less
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q207162
relation P194
type Q1752346
type Q11204
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q207162 property:P194 ?t . { { ?t rdf:type ontology:Q1752346 } UNION { ?t rdf:type ontology:Q11204 } } } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?f WHERE { { ?f property:P194 ?i . ?f rdf:type ontology:Q7275 . ?i rdf:type ontology:Q1752346 } UNION { ?f property:P194 ?i . ?f rdf:type ontology:Q7275 . ?i rdf:type ontology:Q11204 } } GROUP BY ?f } }
Bourbon Restoration
action less
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Bourbon Restoration
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Bourbon_Restoration property:legislative_body ?t . { { ?t rdf:type ontology:assembly } UNION { ?t rdf:type ontology:legislature } } } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?f WHERE { { ?f property:legislative_body ?i . ?f rdf:type ontology:state . ?i rdf:type ontology:assembly } UNION { ?f property:legislative_body ?i . ?f rdf:type ontology:state . ?i rdf:type ontology:legislature } } GROUP BY ?f } }
[]
assembly legislature state
Q16957 Q49683 Q1277557
SYSTEM
East Germany, Grand Duchy of Lithuania, Democratic Federal Yugoslavia
Q211853 Q476757 Q207272 Q965174 Q1078602 Q201038 Q208545 Q167360 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q191077 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1423581 Q83286 Q1277557 Q330362 Q212439 Q28025 Q153015 Q83618 Q964024 Q487829 Q4948 Q49683 Q2342822 Q199841 Q12557 Q217196 Q23541302 Q1775277 Q70972 Q427941 Q216173
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action less
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q207162
relation P194
type Q1752346
type Q11204
[ANSWERS] have less number of assemblies and legislatures as their representative body than Bourbon Restoration
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q207162 property:P194 ?t . { { ?t rdf:type ontology:Q1752346 } UNION { ?t rdf:type ontology:Q11204 } } } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?f WHERE { { ?f property:P194 ?i . ?f rdf:type ontology:Q7275 . ?i rdf:type ontology:Q1752346 } UNION { ?f property:P194 ?i . ?f rdf:type ontology:Q7275 . ?i rdf:type ontology:Q11204 } } GROUP BY ?f } }
Republic of Serbian Krajina Democratic Republic of Afghanistan Second Polish Republic Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Socialist Republic of Bosnia and Herzegovina First Portuguese Republic Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Yugoslavia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Italian Regency of Carnaro Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Cossack Hetmanate Ryukyu Kingdom Kingdom of Saxony Maratha Empire Moldavian Democratic Republic Chagatai Khanate Republic of Venice Grand Duchy of Lithuania West Pakistan South Yemen Mongol Empire Crown of Castile Kaluga Soviet Republic Dominion of India Kingdom of France Islamic Emirate of Afghanistan Free City of Danzig
East Germany, Grand Duchy of Lithuania and Democratic Federal Yugoslavia have less number of assemblies and legislatures as their representative body than Bourbon Restoration
East Germany Grand Duchy of Lithuania Democratic Federal Yugoslavia
action less
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Bourbon Restoration
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Bourbon_Restoration property:legislative_body ?t . { { ?t rdf:type ontology:assembly } UNION { ?t rdf:type ontology:legislature } } } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?f WHERE { { ?f property:legislative_body ?i . ?f rdf:type ontology:state . ?i rdf:type ontology:assembly } UNION { ?f property:legislative_body ?i . ?f rdf:type ontology:state . ?i rdf:type ontology:legislature } } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q285658
P194
Q1752346 Q11204 Q7275
USER
And what about First Mexican Empire?
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action less
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q285658
relation P194
type Q1752346
type Q11204
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?g ) WHERE { { ?y property:P194 ?u . ?y rdf:type ontology:Q7275 . ?u rdf:type ontology:Q1752346 } UNION { ?y property:P194 ?u . ?y rdf:type ontology:Q7275 . ?u rdf:type ontology:Q11204 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q285658 property:P194 ?p . { { ?p rdf:type ontology:Q1752346 } UNION { ?p rdf:type ontology:Q11204 } } } } . FILTER ( ?g < ?z ) }
First Mexican Empire
action less
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity First Mexican Empire
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?g ) WHERE { { ?y property:legislative_body ?u . ?y rdf:type ontology:state . ?u rdf:type ontology:assembly } UNION { ?y property:legislative_body ?u . ?y rdf:type ontology:state . ?u rdf:type ontology:legislature } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:First_Mexican_Empire property:legislative_body ?p . { { ?p rdf:type ontology:assembly } UNION { ?p rdf:type ontology:legislature } } } } . FILTER ( ?g < ?z ) }
[]
assembly legislature state
Q16957 Q49683 Q1277557
SYSTEM
East Germany, Grand Duchy of Lithuania, Democratic Federal Yugoslavia
Q211853 Q476757 Q207272 Q965174 Q1078602 Q201038 Q208545 Q167360 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q191077 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1423581 Q83286 Q1277557 Q330362 Q212439 Q28025 Q153015 Q83618 Q964024 Q487829 Q4948 Q49683 Q2342822 Q199841 Q12557 Q217196 Q23541302 Q1775277 Q70972 Q427941 Q216173
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action less
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q285658
relation P194
type Q1752346
type Q11204
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?g ) WHERE { { ?y property:P194 ?u . ?y rdf:type ontology:Q7275 . ?u rdf:type ontology:Q1752346 } UNION { ?y property:P194 ?u . ?y rdf:type ontology:Q7275 . ?u rdf:type ontology:Q11204 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q285658 property:P194 ?p . { { ?p rdf:type ontology:Q1752346 } UNION { ?p rdf:type ontology:Q11204 } } } } . FILTER ( ?g < ?z ) }
Republic of Serbian Krajina Democratic Republic of Afghanistan Second Polish Republic Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Socialist Republic of Bosnia and Herzegovina First Portuguese Republic Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Yugoslavia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Italian Regency of Carnaro Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Cossack Hetmanate Ryukyu Kingdom Kingdom of Saxony Maratha Empire Moldavian Democratic Republic Chagatai Khanate Republic of Venice Grand Duchy of Lithuania West Pakistan South Yemen Mongol Empire Crown of Castile Kaluga Soviet Republic Dominion of India Kingdom of France Islamic Emirate of Afghanistan Free City of Danzig
East Germany Grand Duchy of Lithuania Democratic Federal Yugoslavia
action less
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity First Mexican Empire
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?g ) WHERE { { ?y property:legislative_body ?u . ?y rdf:type ontology:state . ?u rdf:type ontology:assembly } UNION { ?y property:legislative_body ?u . ?y rdf:type ontology:state . ?u rdf:type ontology:legislature } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:First_Mexican_Empire property:legislative_body ?p . { { ?p rdf:type ontology:assembly } UNION { ?p rdf:type ontology:legislature } } } } . FILTER ( ?g < ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q980
P20
Q502895
USER
How many people have Bavaria as the area of death ?
(c(Q502895),P20,Q980)
action count
action filter_type
action find_reverse
entity Q980
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q980']
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ontology:Q502895 . ?i property:P20 resource:Q980 }
Bavaria
action count
action filter_type
action find_reverse
entity Bavaria
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Bavaria']
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_death resource:Bavaria }
[]
common name
SYSTEM
23
Q347148 Q1793481 Q283107 Q817989 Q3592265 Q15695565 Q439043 Q101771 Q1907732 Q794141 Q3340198 Q3380042 Q1379515 Q1607258 Q4257584 Q79051 Q3357817 Q18716012 Q1338066 Q4777105 Q69421 Q84948 Q932706
(c(Q502895),P20,Q980)
action count
action filter_type
action find_reverse
entity Q980
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q980']
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ontology:Q502895 . ?i property:P20 resource:Q980 }
Rastislav Kurt Dürnhöfer Charles the Younger Benno Scharl Étienne Mantoux Claude Marie d'Hervo Louisa Ghijs Gottfried Gruben Massimo Troiano Sándor Beszédes Nicolas Chtcherbatov Rudi Gering Eva Tinschmann Henry Sherwood Georgiy Nikolaevich, Duke of Leuchtenberg Werner Pochath Otto Krueger Erik Odelberg Emma Müllenhoff Antonios Miaoulis Cornell Borchers Volker Prechtel Simone Michel-Lévy
23
action count
action filter_type
action find_reverse
entity Bavaria
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Bavaria']
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_death resource:Bavaria }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q980
P915
Q838948
USER
How many works of art had Bavaria as their location of filming ?
(c(Q838948),P915,Q980)
action count
action filter_type
action find_reverse
entity Q980
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q980']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P915 resource:Q980 . ?p rdf:type ontology:Q838948 }
Bavaria
action count
action filter_type
action find_reverse
entity Bavaria
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Bavaria']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:filming_location resource:Bavaria . ?p rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
30
Q948467 Q830191 Q7457411 Q15243037 Q1211871 Q3201333 Q15527682 Q475800 Q694781 Q700765 Q225355 Q2175638 Q822431 Q2019620 Q328096 Q19315473 Q7798456 Q1637791 Q820835 Q601537 Q3298576 Q309248 Q891843 Q12137068 Q15268063 Q1545906 Q161678 Q22000000 Q7230494 Q324524
(c(Q838948),P915,Q980)
action count
action filter_type
action find_reverse
entity Q980
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q980']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P915 resource:Q980 . ?p rdf:type ontology:Q838948 }
Hunting Scenes from Bavaria Gods of the Plague Seven Servants Big Game Die Christel von der Post Koenigsmark Stereo Last Exit to Brooklyn The American Friend Ludwig Last Year at Marienbad Carnival Story Vincent Wants to Sea De Sade Martin Luther Snowden Through the Forests and Through the Trees Chitty Chitty Bang Bang Carl Peters G.I. Blues Mathias Kneissl The Three Musketeers Bombs on Monte Carlo The Eye of Evil Fack ju Göhte Situation Hopeless... But Not Serious Harry Potter and the Deathly Hallows – Part 1 Circus of Love Rubinrot Ludwig II: Glanz und Ende eines Königs
30
action count
action filter_type
action find_reverse
entity Bavaria
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Bavaria']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:filming_location resource:Bavaria . ?p rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q84
P915
Q838948
USER
And also tell me about London?
(c(Q838948),P915,Q84)
action count
action filter_type
action find_reverse
entity Q84
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q84']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ontology:Q838948 . ?k property:P915 resource:Q84 }
London
action count
action filter_type
action find_reverse
entity London
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'London']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ontology:work_of_art . ?k property:filming_location resource:London }
[]
work of art
SYSTEM
327
Q3505719 Q2978749 Q17426161 Q2541350 Q2454282 Q1628298 Q3604808 Q15068238 Q858724 Q181086 Q4928014 Q1535201 Q18330936 Q18162353 Q8990291 Q7559676 Q182727 Q1891905 Q16147478 Q1131791 Q18393623 Q1538224 Q189330 Q18218448 Q15726151 Q5276612 Q568162 Q7746012 Q15527055 Q221102 Q5516100 Q284184 Q7759695 Q6887968 Q2060283 Q23764326 Q1756560 Q15407746 Q752313 Q915845 Q14949832 Q2422607 Q1825585 Q223596 Q568133 Q15046091 Q7997600 Q1508533 Q14950399 Q578873 Q2583180 Q14953721 Q106440 Q1788520 Q102244 Q18406872 Q2474154 Q152531 Q16045281 Q23660760 Q4420282 Q16995656 Q880665 Q3036353 Q761302 Q4996798 Q6670679 Q4120951 Q1278386 Q3506295 Q853351 Q232009 Q4661631 Q8594 Q7742499 Q1166360 Q4595879 Q243643 Q27566067 Q7235999 Q810012 Q14786561 Q102235 Q879029 Q1801544 Q3545779 Q729782 Q16997182 Q934036 Q1417929 Q4526392 Q912877 Q1635863 Q4927924 Q18149041 Q3411010 Q402645 Q6457546 Q226773 Q7332466 Q478395 Q2213842 Q16988558 Q6495199 Q2424215 Q5437222 Q4701744 Q16635326 Q15055478 Q6014960 Q1016369 Q219392 Q106506 Q19573620 Q18703028 Q105702 Q3220957 Q109135 Q17021589 Q576941 Q1215103 Q169996 Q752017 Q752103 Q3382446 Q13217284 Q203560 Q2816898 Q2579784 Q16838897 Q28234 Q3482471 Q1737987 Q4941 Q735314 Q1201853 Q2613359 Q9262039 Q5048673 Q2276148 Q19320982 Q200672 Q1122654 Q7735650 Q6057633 Q7572474 Q1758468 Q15103254 Q18152748 Q7925578 Q208204 Q6548422 Q19089 Q156539 Q24980 Q498910 Q3115764 Q18350210 Q14488725 Q2064212 Q425904 Q470624 Q1187607 Q1760278 Q743463 Q204398 Q5097465 Q848280 Q681962 Q5967392 Q18740682 Q16860865 Q277457 Q221587 Q1506377 Q107914 Q1671622 Q15039707 Q849343 Q17019453 Q386094 Q814790 Q228186 Q1235550 Q159638 Q1455075 Q5578736 Q14942821 Q14467251 Q1518031 Q1524596 Q1068272 Q2979643 Q4353419 Q4840255 Q1963079 Q3061599 Q12129911 Q272860 Q18758160 Q2156798 Q218589 Q467290 Q19363656 Q18602670 Q5893900 Q14171368 Q574986 Q4662711 Q7753615 Q5245700 Q1844760 Q7856081 Q7742757 Q6669761 Q1170481 Q20501835 Q332093 Q3434096 Q7774102 Q14948585 Q3124318 Q15916752 Q7756859 Q1161196 Q6424778 Q15715647 Q592915 Q391172 Q17015736 Q17098977 Q19595098 Q17634968 Q151848 Q4729795 Q16985835 Q3627717 Q1780390 Q658204 Q18811646 Q1653284 Q3715440 Q28196 Q2314831 Q646389 Q17426181 Q1323261 Q5978757 Q5887360 Q5262489 Q107226 Q14833945 Q17017833 Q5978742 Q4666737 Q636553 Q5151551 Q1137856 Q337881 Q1675435 Q12125299 Q5320222 Q6170404 Q332330 Q3517367 Q466485 Q1218526 Q1508611 Q17018891 Q206576 Q921510 Q578344 Q161687 Q160060 Q502908 Q557596 Q2394769 Q903930 Q161678 Q19874547 Q1306837 Q757865 Q7730725 Q12449624 Q221075 Q7533157 Q544664 Q967478 Q1051032 Q898461 Q651196 Q478793 Q602256 Q4155609 Q3207404 Q7534711 Q7401185 Q16997268 Q7977678 Q2628332 Q1101856 Q151904 Q151903 Q16254174 Q263006 Q7839913 Q4812021 Q262173 Q477839 Q402855 Q16993709 Q7497411 Q843612 Q770741 Q7732724 Q19872527 Q221090 Q3869964 Q2079954 Q163549 Q16991846 Q5491064 Q14847067 Q6384646 Q614787 Q2471653 Q185490
(c(Q838948),P915,Q84)
action count
action filter_type
action find_reverse
entity Q84
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q84']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ontology:Q838948 . ?k property:P915 resource:Q84 }
Suspension of Disbelief Cleanskin Don't Hang Up To Sir, with Love St Trinian's 2: The Legend of Fritton's Gold Shock Treatment Action Kingsman: The Secret Service Shaun of the Dead A Clockwork Orange Bloodstained Memoirs Nighthawks Erection Tomorrow Redemption Someone Else The Crying Game The Nanny Allah Made Me Funny - Official Muslim Comedy Show - Live HMV Apollo Yellow Submarine The Paddy Lincoln Gang National Lampoon's European Vacation The Dark Knight Rises Citizenfour Horseplay Dil Diya Hai Leo the Last The Last Seven Far from the Madding Crowd 28 Weeks Later Fast & Furious 6 Ra.One The Reality of the Virtual Mod Fuck Explosion Savage Grace Second Coming Withnail and I Queen of the Desert Bridget Jones's Diary Brighton Rock Fedz 10 Rillington Place Diana X-Men: First Class Another Year Cinderella Whom the Gods Love Wild Target Tower Block Entrapment Glorious 39 A Little Chaos Goldfinger Muppet Treasure Island Harry Potter and the Chamber of Secrets Doctor Strange The Awakening Zero Dark Thirty Spooks: The Greater Good Maremmamara Blue Ice Kill Your Friends Bad Timing Brick Lane Quills Bullet Boy Exhibition Muppets Most Wanted Easy Virtue Dev.D If Only Harry Potter and the Deathly Hallows – Part 2 Aap Ki Khatir 101 Dalmatians The Invisible Woman Darling One Direction: This Is Us Sherlock Holmes: A Game of Shadows The Commuter Powder Room Basic Instinct 2 Fury Harry Potter and the Order of the Phoenix Yaadein Lamhe Wholly Communion The Parent Trap Magik Fiddler on the Roof Run Fatboy Run Adulthood A Good Year The Deep Blue Sea Blooded Criminal Pusher Alfie LD 50 Lethal Dose Wrath of the Titans Ride, Rise, Roar Peeping Tom Salaam-e-Ishq: A Tribute to Love Death Walks Late Bloomers Somers Town Fat Slags Aksar Ex Machina Paddington Incognito Burke & Hare Housefull 2 The Fifth Element Patient Zero Now You See Me: The Second Act Dr. Strangelove Full Circle Trainspotting Suffragette Jhoom Barabar Jhoom Eye of the Needle Stormbreaker Eastern Promises Bean Nice Time Vampire Academy: Blood Sisters 1408 47 Ronin Gravity Get Santa Les Misérables Shooters The Seven-Per-Cent Solution Skyfall My Beautiful Laundrette Thor: The Dark World Blind Date Framed Youth: The Revenge of the Teenage Perverts Cash and Curry Shaadi Karke Phas Gaya Yaar London Road Notting Hill Born Romantic The Galloping Major Intimate Reflections Space Riders Kick-Ass 2 Mortdecai Miss You Already Victim Finding Neverland Lilting GoldenEye Highlander Monty Python's The Meaning of Life Austin Powers in Goldmember I See You London Has Fallen The Man from U.N.C.L.E. Theatre of Blood Night and the City Sliding Doors Edge of Tomorrow The Hit Inseminoid Octopussy Chikku Bukku Death Wish 3 Tinker Tailor Soldier Spy I, Anna Brand New-U Kids in Love 9 Songs Frenzy Thunderbirds Diamonds Are Forever Intruders A Private Enterprise Dilwale Dulhania Le Jayenge Our Kind of Traitor Martha, Meet Frank, Daniel and Laurence Being Julia Lawrence of Arabia W.E. Blade II Something Borrowed Gold Fish Bowl Ten Before I Go to Sleep Nil by Mouth Chalet Girl Chatroom Closed Circuit Kidulthood Bad Day Naked The Counselor Two Days in the Smoke The Elephant Man The Lady in the Van Jew Suss War Horse An American Werewolf in London A Kind of English Spectre Honeymooner Avengers: Age of Ultron Harry Brown Aashiq Banaya Aapne The New Gladiators Deadmeat Meeting People Is Easy Turnout The Italian Key London The Brain Justice League Confetti Road to Nowhere The Wee Man Plastic Baghban Night at the Museum: Secret of the Tomb The Phantom of the Opera at the Royal Albert Hall The Prince and the Showgirl Kochadaiyaan Survivor Chocolate Secrets & Lies The Watcher Self Redirected Jungle Book: Origins Burnt Where the Truth Lies All Things to All Men The Inbetweeners 2 Cocktail The Human Centipede 2 Blowup Welcome to Purgatory 360 Dropout World War Z The Deaths of Ian Stone Hook One Night in Turin Count Your Blessings I Really Hate My Job Guardians of the Galaxy Derek and Clive Get the Horn The Bourne Ultimatum Good People Play Up the Band I Proud to Be an Indian Abendland Don't Open Till Christmas Comes a Bright Day Spice World Johnny English It's a Free World... Jupiter Ascending Déjà Vu Jean Charles For Your Eyes Only Tell Me Lies Chasing Liberty The Great Muppet Caper Moulin Rouge Testament of Youth Hugo Dorian Gray The Imaginarium of Doctor Parnassus Harry Potter and the Half-Blood Prince The King's Speech Lost in Space Fish Tank Ill Manors RED 2 Harry Potter and the Deathly Hallows – Part 1 The Infiltrator The Debt Attack the Block The Double Ramji Londonwale 28 Days Later Sixth Happiness Bel Ami Johnny English Reborn The Italian Job RocknRolla Hellboy II: The Golden Army Berlin 36 Salmon Fishing in the Yemen Twenty-One Sitting Target Sket Saint Dracula 3D Man Up We Moderns Touch of Pink Book of Blood Casino Royale Dirty Pretty Things Shongram Mujhse Dosti Karoge! Triads, Yardies and Onion Bhajees Asylum The Inbetweeners Movie London River Veer The Harry Hill Movie Shiner Bridget Jones: The Edge of Reason In the Loop The Evolved Dangerous Twins Children of Men Naina Great Expectations Black Book Escape Route Frankie Starlight Into the Woods Keith Lemon: The Film Provoked The Beloved Hereafter
327
action count
action filter_type
action find_reverse
entity London
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'London']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ontology:work_of_art . ?k property:filming_location resource:London }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q7275 Q486972
USER
How many human settlements are center of administration for exactly 1 state ?
(c(Q486972),P1376,c(Q7275))
action count
action equal
action find_tuple_counts
relation P1376
type Q486972
type Q7275
value 1
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?m ) WHERE { ?z property:P1376 ?q . ?z rdf:type ontology:Q486972 . ?q rdf:type ontology:Q7275 } GROUP BY ?z } . FILTER ( ?m = 1 ) }
action count
action equal
action find_tuple_counts
relation capital of
type human settlement
type state
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?m ) WHERE { ?z property:capital_of ?q . ?z rdf:type ontology:human_settlement . ?q rdf:type ontology:state } GROUP BY ?z } . FILTER ( ?m = 1 ) }
[]
state human settlement
SYSTEM
7
Q2627464 Q56037 Q104725 Q7420386 Q3777 Q1792 Q200441
(c(Q486972),P1376,c(Q7275))
action count
action equal
action find_tuple_counts
relation P1376
type Q486972
type Q7275
value 1
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?m ) WHERE { ?z property:P1376 ?q . ?z rdf:type ontology:Q486972 . ?q rdf:type ontology:Q7275 } GROUP BY ?z } . FILTER ( ?m = 1 ) }
Almaliq East Berlin Płock Santiago de Rubiás Ouagadougou Gdańsk Antioch
7
action count
action equal
action find_tuple_counts
relation capital of
type human settlement
type state
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?m ) WHERE { ?z property:capital_of ?q . ?z rdf:type ontology:human_settlement . ?q rdf:type ontology:state } GROUP BY ?z } . FILTER ( ?m = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2148059
P135
Q483394 Q968159 Q340169
USER
How many medias are linked with more number of genres or art movements than Fools' kitchen ?
(c(Q340169),P135,c(Q483394)|c(Q968159))
action count
action greater
action union
action find_tuple_counts
relation P135
type Q340169
type Q483394
action find_tuple_counts
relation P135
type Q340169
type Q968159
action count
action filter_multi_types
action find
entity Q2148059
relation P135
type Q483394
type Q968159
[{'concept': 'Q340169'}, 'P135', [{'concept': 'Q483394'}, {'concept': 'Q968159'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { FILTER ( ?z > ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { VALUES ( ?w ) { ( ontology:Q483394 ) ( ontology:Q968159 ) } . ?x rdf:type ?w } . resource:Q2148059 property:P135 ?x } } . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q483394 ) ( ontology:Q968159 ) } } GROUP BY ?e } }
Fools' kitchen
action count
action greater
action union
action find_tuple_counts
relation movement
type media
type genre
action find_tuple_counts
relation movement
type media
type art movement
action count
action filter_multi_types
action find
entity Fools' kitchen
relation movement
type genre
type art movement
[{'concept': 'media'}, 'movement', [{'concept': 'genre'}, {'concept': 'art movement'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { FILTER ( ?z > ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { VALUES ( ?w ) { ( ontology:genre ) ( ontology:art_movement ) } . ?x rdf:type ?w } . resource:Fools'_kitchen property:movement ?x } } . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:genre ) ( ontology:art_movement ) } } GROUP BY ?e } }
[]
genre art movement media
SYSTEM
13
Q19862185 Q18686033 Q19862183 Q19862187 Q19862186 Q19862167 Q3213096 Q19862171 Q19862176 Q19862182 Q19862179 Q19862190 Q19862169
(c(Q340169),P135,c(Q483394)|c(Q968159))
action count
action greater
action union
action find_tuple_counts
relation P135
type Q340169
type Q483394
action find_tuple_counts
relation P135
type Q340169
type Q968159
action count
action filter_multi_types
action find
entity Q2148059
relation P135
type Q483394
type Q968159
[ANSWER]
[{'concept': 'Q340169'}, 'P135', [{'concept': 'Q483394'}, {'concept': 'Q968159'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { FILTER ( ?z > ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { VALUES ( ?w ) { ( ontology:Q483394 ) ( ontology:Q968159 ) } . ?x rdf:type ?w } . resource:Q2148059 property:P135 ?x } } . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q483394 ) ( ontology:Q968159 ) } } GROUP BY ?e } }
Study of Lions Marshal of France Dutch Cavalier Portrait of an Egyptian Fellah Man Walking on a Road Study for "Diogenes" The Temptation of St Anthony Study for "The Tulip Folly" Arab Standing in Prayer Study for "Slave Market at Rome" Study for "Socrates Looking for Alcibiades in the House of Aspasia" Turkish Soldier Study for "Slave Market"
13
action count
action greater
action union
action find_tuple_counts
relation movement
type media
type genre
action find_tuple_counts
relation movement
type media
type art movement
action count
action filter_multi_types
action find
entity Fools' kitchen
relation movement
type genre
type art movement
[{'concept': 'media'}, 'movement', [{'concept': 'genre'}, {'concept': 'art movement'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { FILTER ( ?z > ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { VALUES ( ?w ) { ( ontology:genre ) ( ontology:art_movement ) } . ?x rdf:type ?w } . resource:Fools'_kitchen property:movement ?x } } . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:genre ) ( ontology:art_movement ) } } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1272037
P135
Q483394 Q968159 Q340169
USER
And what about Self-portrait?
(c(Q340169),P135,c(Q483394)|c(Q968159))
action count
action greater
action union
action find_tuple_counts
relation P135
type Q340169
type Q483394
action find_tuple_counts
relation P135
type Q340169
type Q968159
action count
action filter_multi_types
action find
entity Q1272037
relation P135
type Q483394
type Q968159
[{'concept': 'Q340169'}, 'P135', [{'concept': 'Q483394'}, {'concept': 'Q968159'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?z ) WHERE { { ?g property:P135 ?e . ?g rdf:type ontology:Q340169 . ?e rdf:type ontology:Q968159 } UNION { ?g property:P135 ?e . ?g rdf:type ontology:Q340169 . ?e rdf:type ontology:Q483394 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q1272037 property:P135 ?j . { { ?j rdf:type ontology:Q483394 } UNION { ?j rdf:type ontology:Q968159 } } } } . FILTER ( ?z > ?m ) }
Self-portrait
action count
action greater
action union
action find_tuple_counts
relation movement
type media
type genre
action find_tuple_counts
relation movement
type media
type art movement
action count
action filter_multi_types
action find
entity Self-portrait
relation movement
type genre
type art movement
[{'concept': 'media'}, 'movement', [{'concept': 'genre'}, {'concept': 'art movement'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?z ) WHERE { { ?g property:movement ?e . ?g rdf:type ontology:media . ?e rdf:type ontology:art_movement } UNION { ?g property:movement ?e . ?g rdf:type ontology:media . ?e rdf:type ontology:genre } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Self-portrait property:movement ?j . { { ?j rdf:type ontology:genre } UNION { ?j rdf:type ontology:art_movement } } } } . FILTER ( ?z > ?m ) }
[]
genre art movement media
SYSTEM
13
Q19862185 Q18686033 Q19862183 Q19862187 Q19862186 Q19862167 Q3213096 Q19862171 Q19862176 Q19862182 Q19862179 Q19862190 Q19862169
(c(Q340169),P135,c(Q483394)|c(Q968159))
action count
action greater
action union
action find_tuple_counts
relation P135
type Q340169
type Q483394
action find_tuple_counts
relation P135
type Q340169
type Q968159
action count
action filter_multi_types
action find
entity Q1272037
relation P135
type Q483394
type Q968159
[ANSWER]
[{'concept': 'Q340169'}, 'P135', [{'concept': 'Q483394'}, {'concept': 'Q968159'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?z ) WHERE { { ?g property:P135 ?e . ?g rdf:type ontology:Q340169 . ?e rdf:type ontology:Q968159 } UNION { ?g property:P135 ?e . ?g rdf:type ontology:Q340169 . ?e rdf:type ontology:Q483394 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q1272037 property:P135 ?j . { { ?j rdf:type ontology:Q483394 } UNION { ?j rdf:type ontology:Q968159 } } } } . FILTER ( ?z > ?m ) }
Study of Lions Marshal of France Dutch Cavalier Portrait of an Egyptian Fellah Man Walking on a Road Study for "Diogenes" The Temptation of St Anthony Study for "The Tulip Folly" Arab Standing in Prayer Study for "Slave Market at Rome" Study for "Socrates Looking for Alcibiades in the House of Aspasia" Turkish Soldier Study for "Slave Market"
13
action count
action greater
action union
action find_tuple_counts
relation movement
type media
type genre
action find_tuple_counts
relation movement
type media
type art movement
action count
action filter_multi_types
action find
entity Self-portrait
relation movement
type genre
type art movement
[{'concept': 'media'}, 'movement', [{'concept': 'genre'}, {'concept': 'art movement'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?z ) WHERE { { ?g property:movement ?e . ?g rdf:type ontology:media . ?e rdf:type ontology:art_movement } UNION { ?g property:movement ?e . ?g rdf:type ontology:media . ?e rdf:type ontology:genre } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Self-portrait property:movement ?j . { { ?j rdf:type ontology:genre } UNION { ?j rdf:type ontology:art_movement } } } } . FILTER ( ?z > ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q7275
USER
How many assemblies are the legislative bodies for around 1 state ?
(c(Q7275),P194,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 1
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P194 ?r . ?r rdf:type ontology:Q1752346 . ?j rdf:type ontology:Q7275 } GROUP BY ?r } . FILTER ( ?p = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:legislative_body ?r . ?r rdf:type ontology:assembly . ?j rdf:type ontology:state } GROUP BY ?r } . FILTER ( ?p = 1 ) }
[]
assembly state
SYSTEM
26
Q949699 Q17063844 Q1283189 Q1813360 Q2282872 Q11010 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q157638 Q219825 Q321246 Q7253170 Q1269552 Q878525 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 1
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P194 ?r . ?r rdf:type ontology:Q1752346 . ?j rdf:type ontology:Q7275 } GROUP BY ?r } . FILTER ( ?p = 1 ) }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Parliament of Romania diet Parliament of the United Kingdom National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Frankfurt Parliament National Convention Reichstag Prussian estates Dáil Éireann Reichstag Parliament of Cambodia Sejm of the Duchy of Warsaw Junta of the Kingdom of Galicia Cortes Generales Reichstag Diet of Galicia and Lodomeria bicameral legislature
26
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:legislative_body ?r . ?r rdf:type ontology:assembly . ?j rdf:type ontology:state } GROUP BY ?r } . FILTER ( ?p = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q867778
P85
Q484692 Q7725634 Q7275
USER
Which states have an anthem named around the same number of hymns or literary works as People's Republic of Kampuchea ?
(c(Q7275),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q7275
type Q484692
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action count
action filter_multi_types
action find
entity Q867778
relation P85
type Q484692
type Q7725634
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q867778 property:P85 ?y . { { ?y rdf:type ontology:Q7725634 } UNION { ?y rdf:type ontology:Q484692 } } } } . FILTER ( ?r = ?u ) }
People's Republic of Kampuchea
action approx
action union
action find_tuple_counts
relation anthem
type state
type hymn
action find_tuple_counts
relation anthem
type state
type literary work
action count
action filter_multi_types
action find
entity People's Republic of Kampuchea
relation anthem
type hymn
type literary work
[{'concept': 'state'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:hymn ) ( ontology:literary_work ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:People's_Republic_of_Kampuchea property:anthem ?y . { { ?y rdf:type ontology:literary_work } UNION { ?y rdf:type ontology:hymn } } } } . FILTER ( ?r = ?u ) }
[]
hymn literary work state
Q33946 Q980 Q16957
SYSTEM
Czechoslovakia, Bavaria, East Germany
Q241748 Q211853 Q180573 Q797527 Q1274468 Q2414171 Q218023 Q245160 Q25279 Q174193 Q965174 Q233263 Q1028835 Q330988 Q139670 Q27306 Q457167 Q533558 Q167360 Q1044536 Q209065 Q21203 Q713750 Q209062 Q1998866 Q207162 Q11196 Q2006542 Q131964 Q133356 Q2454585 Q33946 Q83572 Q191077 Q2638486 Q28278 Q16957 Q1649871 Q941881 Q870055 Q842794 Q1057542 Q652560 Q550374 Q178038 Q30623 Q203493 Q867778 Q147909 Q980 Q58202 Q1709185 Q154401 Q180393 Q112558 Q252580 Q518101 Q37024 Q16410 Q153128 Q83286 Q173761 Q207272 Q25227 Q15864 Q738144 Q36704 Q950644 Q153015 Q49910 Q386496 Q696242 Q71092 Q217230 Q170072 Q170174 Q212056 Q210542 Q7318 Q1072140 Q170468 Q146328 Q248452 Q8733 Q371334 Q853348 Q824489 Q2342822 Q189988 Q1192936 Q615902 Q708865 Q498735 Q491559 Q154195 Q1072362 Q1775277 Q121932 Q146761 Q153660 Q70972 Q497777 Q206411 Q12548 Q211274 Q6500954 Q26988 Q26273 Q139319 Q171150 Q487687 Q370736 Q541455 Q41304 Q797422 Q216173 Q178469
(c(Q7275),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q7275
type Q484692
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action count
action filter_multi_types
action find
entity Q867778
relation P85
type Q484692
type Q7725634
[ANSWERS] have an anthem named around the same number of hymns or literary works as People's Republic of Kampuchea
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q867778 property:P85 ?y . { { ?y rdf:type ontology:Q7725634 } UNION { ?y rdf:type ontology:Q484692 } } } } . FILTER ( ?r = ?u ) }
Kingdom of Serbia Republic of Serbian Krajina South Vietnam British Togoland Republic of Bosnia and Herzegovina First Brazilian Republic Orange Free State Democratic Republic of Georgia Curaçao United Kingdom of Great Britain and Ireland Coalition Provisional Authority Second Republic of South Korea British Cameroons Democratic Kampuchea Democratic Republic of Armenia Kingdom of Prussia West Ukrainian People's Republic Kingdom of Croatia-Slavonia First Portuguese Republic Spain under the Restoration Kingdom of Greece Aruba West Germany Socialist Republic of Croatia Czech and Slovak Federal Republic Bourbon Restoration Republika Srpska Dominion of Pakistan Austrian Empire Ukrainian Soviet Socialist Republic History of Czechoslovakia Czechoslovakia Sikh Empire Kingdom of Yugoslavia Kingdom of Cambodia Provisional Government of the Republic of Korea East Germany Kingdom of Poland Netherlands New Guinea Kingdom of Laos Socialist Republic of Romania Republic of Hawaii West Indies Federation South African Republic Second Spanish Republic Manchukuo Kingdom of Romania People's Republic of Kampuchea Kingdom of Bulgaria Bavaria July Monarchy Kingdom of Spain under Joseph Bonaparte Slovak Republic Kingdom of the Two Sicilies Republic of Saugeais Duchy of Modena and Reggio First Republic of Austria Serbia and Montenegro People's Republic of Hungary Independent State of Croatia Socialist Federal Republic of Yugoslavia Lithuanian Soviet Socialist Republic Second Polish Republic Netherlands Antilles United Kingdom of the Netherlands United Provinces of the Río de la Plata Yugoslavia Carpatho-Ukraine Kingdom of Saxony Colony of Aden Kingdom of Montenegro Reorganized National Government of China Second French Empire Empire of Brazil Dutch Republic Papal States Mongolian People's Republic Second Brazilian Republic Nazi Germany Roman Republic United Arab Republic Commonwealth of the Philippines British North America Qing dynasty Second Mexican Empire Czechoslovak Socialist Republic Estado Novo West Pakistan Central African Empire Kingdom of Burundi Kingdom of Finland Reformed Government of the Republic of China division of Korea First Republic of South Korea Kingdom of Bavaria Provisional Revolutionary Government of the Republic of South Vietnam Dominion of India People's Republic of Bulgaria Hatay State Italian Social Republic Kingdom of France First Spanish Republic Democratic Republic of Azerbaijan Holy Roman Empire People's Republic of Poland Zaire Cook Islands Sint Maarten Russian Republic Kingdom of Hungary Third Republic of South Korea Cape Colony Anglo-Egyptian Sudan Weimar Republic Republic of Upper Volta Free City of Danzig Biafra
Czechoslovakia, Bavaria and East Germany have an anthem named around the same number of hymns or literary works as People's Republic of Kampuchea
Czechoslovakia Bavaria East Germany
action approx
action union
action find_tuple_counts
relation anthem
type state
type hymn
action find_tuple_counts
relation anthem
type state
type literary work
action count
action filter_multi_types
action find
entity People's Republic of Kampuchea
relation anthem
type hymn
type literary work
[{'concept': 'state'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:hymn ) ( ontology:literary_work ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:People's_Republic_of_Kampuchea property:anthem ?y . { { ?y rdf:type ontology:literary_work } UNION { ?y rdf:type ontology:hymn } } } } . FILTER ( ?r = ?u ) }
[]