Simple Question (Direct)
Simple Question
Q73112
P840
Q15617994
USER
Which narrative location is Anabasis set in ?
(Q73112,P840,c(Q15617994))
action filter_type
action find
entity Q73112
relation P840
type Q15617994
['Q73112', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q73112 property:P840 ?m . ?m rdf:type ontology:Q15617994 }
Anabasis
action filter_type
action find
entity Anabasis
relation narrative location
type designation for an administrative territorial entity
['Anabasis', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Anabasis property:narrative_location ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q399
SYSTEM
Armenia
Q399
(Q73112,P840,c(Q15617994))
action filter_type
action find
entity Q73112
relation P840
type Q15617994
Anabasis is set in [ANSWER]
['Q73112', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q73112 property:P840 ?m . ?m rdf:type ontology:Q15617994 }
Armenia
Anabasis is set in Armenia
Armenia
action filter_type
action find
entity Anabasis
relation narrative location
type designation for an administrative territorial entity
['Anabasis', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Anabasis property:narrative_location ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q399
P137
Q3084961
USER
Which product linings were managed by that administrative territory ?
(c(Q3084961),P137,Q399)
action filter_type
action find_reverse
entity Q399
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q399']
SELECT DISTINCT ?t WHERE { ?t property:P137 resource:Q399 . ?t rdf:type ontology:Q3084961 }
Armenia
action filter_type
action find_reverse
entity Armenia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Armenia']
SELECT DISTINCT ?t WHERE { ?t property:operator resource:Armenia . ?t rdf:type ontology:product_lining }
[]
product lining
Q155635 Q142549 Q155651
SYSTEM
Mi-8, Il-76, Mi-24
Q608997 Q142549 Q199570 Q155899 Q155635 Q155651
(c(Q3084961),P137,Q399)
action filter_type
action find_reverse
entity Q399
relation P137
type Q3084961
[ANSWERS] were managed by that administrative territory
[{'concept': 'Q3084961'}, 'P137', 'Q399']
SELECT DISTINCT ?t WHERE { ?t property:P137 resource:Q399 . ?t rdf:type ontology:Q3084961 }
Mi-2 Il-76 MiG-25 L-39 Albatros Mi-8 Mi-24
Mi-8, Il-76 and Mi-24 were managed by that administrative territory
Mi-8 Il-76 Mi-24
action filter_type
action find_reverse
entity Armenia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Armenia']
SELECT DISTINCT ?t WHERE { ?t property:operator resource:Armenia . ?t rdf:type ontology:product_lining }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155635 Q142549 Q155651
P137
Q15617994
USER
Which administrative territories are the facility operator of those product linings ?
(Q155635,P137,c(Q15617994)) (Q142549,P137,c(Q15617994)) (Q155651,P137,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P137
type Q15617994
['Q155635', 'P137', {'concept': 'Q15617994'}] ['Q142549', 'P137', {'concept': 'Q15617994'}] ['Q155651', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?m ) { ( resource:Q608997 ) ( resource:Q142549 ) ( resource:Q199570 ) } . ?m property:P137 ?w . ?w rdf:type ontology:Q15617994 }
Mi-8 Il-76 Mi-24
action filter_type
action find
entity prev_answer
relation operator
type designation for an administrative territorial entity
['Mi-8', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Il-76', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Mi-24', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?m ) { ( resource:Mi-2 ) ( resource:Il-76 ) ( resource:MiG-25 ) } . ?m property:operator ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q148 Q184
SYSTEM
Russia, People's Republic of China, Belarus
Q227 Q225 Q889 Q184 Q971 Q399 Q902 Q917 Q212 Q805 Q159 Q843 Q184 Q265 Q794 Q1016 Q399 Q668 Q148 Q1049 Q916 Q227 Q889 Q184 Q399 Q916
(Q155635,P137,c(Q15617994)) (Q142549,P137,c(Q15617994)) (Q155651,P137,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P137
type Q15617994
[ANSWERS] are the facility operator of those product linings
['Q155635', 'P137', {'concept': 'Q15617994'}] ['Q142549', 'P137', {'concept': 'Q15617994'}] ['Q155651', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?m ) { ( resource:Q608997 ) ( resource:Q142549 ) ( resource:Q199570 ) } . ?m property:P137 ?w . ?w rdf:type ontology:Q15617994 }
Azerbaijan Bosnia and Herzegovina Afghanistan Belarus Republic of the Congo Armenia Bangladesh Bhutan Ukraine Yemen Russia Pakistan Belarus Uzbekistan Iran Libya Armenia India People's Republic of China Sudan Angola Azerbaijan Afghanistan Belarus Armenia Angola
Russia, People's Republic of China and Belarus are the facility operator of those product linings
Russia People's Republic of China Belarus
action filter_type
action find
entity prev_answer
relation operator
type designation for an administrative territorial entity
['Mi-8', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Il-76', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Mi-24', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?m ) { ( resource:Mi-2 ) ( resource:Il-76 ) ( resource:MiG-25 ) } . ?m property:operator ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159 Q148 Q184
P17
Q811430
USER
Which constructions are located in Russia, People's Republic of China and Belarus ?
(c(Q811430),P17,Q159) (c(Q811430),P17,Q148) (c(Q811430),P17,Q184)
action union
action filter_type
action find_reverse
entity Q159
relation P17
type Q811430
action filter_type
action find_reverse
entity Q148
relation P17
type Q811430
action filter_type
action find_reverse
entity Q184
relation P17
type Q811430
[{'concept': 'Q811430'}, 'P17', 'Q159'] [{'concept': 'Q811430'}, 'P17', 'Q148'] [{'concept': 'Q811430'}, 'P17', 'Q184']
SELECT DISTINCT ?t WHERE { { ?t property:P17 resource:Q159 . ?t rdf:type ontology:Q811430 } UNION { ?t property:P17 resource:Q148 . ?t rdf:type ontology:Q811430 } }
Russia People's Republic of China Belarus
action union
action filter_type
action find_reverse
entity Russia
relation country
type construction
action filter_type
action find_reverse
entity People's Republic of China
relation country
type construction
action filter_type
action find_reverse
entity Belarus
relation country
type construction
[{'concept': 'construction'}, 'country', 'Russia'] [{'concept': 'construction'}, 'country', "People's Republic of China"] [{'concept': 'construction'}, 'country', 'Belarus']
SELECT DISTINCT ?t WHERE { { ?t property:country resource:Russia . ?t rdf:type ontology:construction } UNION { ?t property:country resource:People's_Republic_of_China . ?t rdf:type ontology:construction } }
[]
construction
Q968295 Q641320 Q10511094
SYSTEM
Eliseyev Emporium, Arena 2000, Shukhov tower in Polibino
Q195485 Q662367 Q1349703 Q4500980 Q2506798 Q4192854 Q1188019 Q1100423 Q1504212 Q968295 Q191414 Q8072178 Q4057337 Q2477653 Q2139511 Q2979941 Q920292 Q949402 Q4500959 Q594756 Q322967 Q2968525 Q641320 Q24025257 Q445066 Q641353 Q2308006 Q1355638 Q51234 Q1437562 Q4525206 Q1146447 Q641365 Q3408535 Q1329277 Q6351285 Q27295 Q1320620 Q1076326 Q2449813 Q804645 Q1630522 Q200705 Q1255881 Q646940 Q16858328 Q4230442 Q1631004 Q13359071 Q1149480 Q4501024 Q4463570 Q1320509 Q591977 Q1320520 Q1590827 Q2299609 Q136412 Q136414 Q10511094 Q4501163 Q2035845 Q1164909 Q526847 Q1718945 Q4267243 Q4165443 Q14620227 Q4165435 Q4165436 Q1850497 Q1899560 Q671311 Q953885 Q21042353 Q205945 Q1319509 Q1676676 Q1319514 Q1748544 Q728042 Q1635160 Q1778398 Q4426022 Q585060 Q4105629 Q606350 Q6963660 Q16892407 Q1060616 Q2270034 Q1231655 Q1407298 Q1246624 Q1139142 Q1789184 Q2145669 Q2383237 Q2192801 Q971312 Q860188 Q7849711 Q8060179 Q21609052 Q15409971 Q1156708 Q1791802 Q1033099 Q14899142 Q7537147 Q16924941 Q20537029 Q10899096 Q3537713 Q572970 Q516996 Q1241468 Q3373088 Q583651 Q5278199 Q604289 Q1325880 Q13580991 Q5639272 Q8050324 Q1357656 Q244877 Q1076164 Q5470134 Q30136 Q7126256 Q168400 Q1076137 Q6386852 Q7064330 Q6191673 Q60986 Q183033 Q7267658 Q72891 Q863096 Q2067888 Q14954309 Q797764
(c(Q811430),P17,Q159) (c(Q811430),P17,Q148) (c(Q811430),P17,Q184)
action union
action filter_type
action find_reverse
entity Q159
relation P17
type Q811430
action filter_type
action find_reverse
entity Q148
relation P17
type Q811430
action filter_type
action find_reverse
entity Q184
relation P17
type Q811430
[ANSWERS] are located in Russia, People's Republic of China and Belarus
[{'concept': 'Q811430'}, 'P17', 'Q159'] [{'concept': 'Q811430'}, 'P17', 'Q148'] [{'concept': 'Q811430'}, 'P17', 'Q184']
SELECT DISTINCT ?t WHERE { { ?t property:P17 resource:Q159 . ?t rdf:type ontology:Q811430 } UNION { ?t property:P17 resource:Q148 . ?t rdf:type ontology:Q811430 } }
Novaya Opera Theatre Shukhov Tower Platinum Arena Church of Righteous John the Russian Red Banner Textile Factory The cathedral of The Icon of Our Lady of the Sign in Veliky Novgorod Peter the Great Statue Sutyagin House House on the Embankment Eliseyev Emporium Lenin's Mausoleum Zimniy Stadion Adamov's mill Beloselsky-Belozersky Palace Reichsjägerhof Rominten Kauchuk Factory Club Kremlin Presidium Pashkov House Church of Saint Nicholas in Studentsy Mytishchi Arena Kaliningrad Puppet Theatre Belogorka Castle Arena 2000 Taganskaya telephone exchange Holocaust Memorial Synagogue Arena Ugra Spaso House Saint Petersburg TV Tower cloth factory building (Gatchina) Sokolniki Arena School 518 Trade Union Sport Palace Magnitogorsk Arena House of the Unions Novo-Ryazanskaya Street Garage Serepetta Ice Palace Salavat Yulaev Ice Sports Palace Sibir Moscow Choral Synagogue Transvaal Park Balashikha Arena TatNeft Arena Iberian Gate and Chapel Megasport Arena Mosselprom building Republic House , Bashkortostan Congress Hall Pekin (hotel) Water Tower in Kolomenskoye Residence Temple of All Religions Church of the Holy Mandylion (Kukoboy) Old Katholikon of the Trinity Lavra Ice Palace Saint Petersburg Moskva Pool Traktor Ice Arena House of Soviets Monument to the Conquerors of Space CSKA Ice Palace CSKA Universal Sports Hall Shukhov tower in Polibino Saint Alexander Nevsky Church, Pskov Ostpreußische Mädchengewerbeschule Basketball Center of Moscow Region House of Soviets Yekaterinburg Sports Palace Loskutnaya Engelhardt's House Svezhenkaya Tchaikovsky House in Taganrog Nevskiy 13 - Chaplins Mansion Savyolovsky railway station Church of the Dormition (Arkhangelsk) Narkomfin building Yubileyny Sports Palace Category:Church of the Transfiguration in Preobrazhenskoye Yekaterinburg Circus Ice Palace Hotel Lux Vityaz Ice Palace Omsk Arena Kuznetsk Metallurgists Sports Palace Ufa Arena Shukhov tower on the Oka River Holy Trinity Cathedral (Kolpino) Palace of the Soviets Presentation Cathedral, Cheboksary Kwai Tsing Theatre Nanjing Great Hall of the People Horn House China–North Korea border Wusung Radio Tower Diwang International Commerce Center Guangzhou TV Tower Wenchang Satellite Launch Center Beijing National Indoor Stadium Military Museum of the Chinese People's Revolution Kang Baiwan's Mansions Beijing University of Technology Gymnasium Fanling Dapeng International Plaza National Centre for the Performing Arts Tsing Yi Pier Yucheng Postal Stop Haikou Tower Happy Valley (Guangzhou) The Venetian Macao Cultural Palace of Nationalities Grand Lisboa Hefei Feicui TV Tower sky100 Hong Kong Observation Deck Nova Park CNOOC Building Oi! (Hong Kong) Dalian Mosque Shenzhen Special Zone Press Tower Wuhan World Trade Tower Dongtan China pavilion at Expo 2010 Ohel Leah Synagogue Dinghao Market Longxi International Hotel Daqing Radio and Television Tower New Century Global Center Hailong Market Yau Tong Minsheng Bank Building Beijing National Aquatics Center Chongqing World Trade Center Former Residence of the Weng Clan Yangshupu Water Plant Palace of Tranquil Longevity Canton Tower Chongqing Poly Tower Kemao Market Nova Taipa Gardens Jiangnan Examination Hall Kwun Tong Pier Diaoyutai State Guesthouse Qiao's Compound Great Hall of the People Minsk-Arena Minsk Sports Palace National Library of Belarus Babruysk Arena
Eliseyev Emporium, Arena 2000 and Shukhov tower in Polibino are located in Russia, People's Republic of China and Belarus
Eliseyev Emporium Arena 2000 Shukhov tower in Polibino
action union
action filter_type
action find_reverse
entity Russia
relation country
type construction
action filter_type
action find_reverse
entity People's Republic of China
relation country
type construction
action filter_type
action find_reverse
entity Belarus
relation country
type construction
[{'concept': 'construction'}, 'country', 'Russia'] [{'concept': 'construction'}, 'country', "People's Republic of China"] [{'concept': 'construction'}, 'country', 'Belarus']
SELECT DISTINCT ?t WHERE { { ?t property:country resource:Russia . ?t rdf:type ontology:construction } UNION { ?t property:country resource:People's_Republic_of_China . ?t rdf:type ontology:construction } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P138
Q2235308
USER
Which ship type is named after Russia ?
(c(Q2235308),P138,Q159)
action filter_type
action find_reverse
entity Q159
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q159']
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q159 . ?o rdf:type ontology:Q2235308 }
Russia
action filter_type
action find_reverse
entity Russia
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Russia']
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:Russia . ?o rdf:type ontology:ship_type }
[]
ship type
Q690108
SYSTEM
Russian cruiser Rossia
Q690108
(c(Q2235308),P138,Q159)
action filter_type
action find_reverse
entity Q159
relation P138
type Q2235308
As [ANSWER] is named after Russia
[{'concept': 'Q2235308'}, 'P138', 'Q159']
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q159 . ?o rdf:type ontology:Q2235308 }
Russian cruiser Rossia
As Russian cruiser Rossia is named after Russia
Russian cruiser Rossia
action filter_type
action find_reverse
entity Russia
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Russia']
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:Russia . ?o rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P163
Q14660
USER
What is the name of flag associated with Russia ?
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q14660 . resource:Q159 property:P163 ?d }
Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:flag . resource:Russia property:flag ?d }
[]
flag
Q16611
SYSTEM
flag of Russia
Q16611
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
The name of flag associated with Russia is the [ANSWER]
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q14660 . resource:Q159 property:P163 ?d }
flag of Russia
The name of flag associated with Russia is the flag of Russia
flag of Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:flag . resource:Russia property:flag ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q399
P463
Q484652 Q43229
USER
How many international organizations or organizations were Armenia a member of ?
(Q399,P463,c(Q484652)) (Q399,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q399
relation P463
type Q484652
action filter_type
action find
entity Q399
relation P463
type Q43229
['Q399', 'P463', {'concept': 'Q484652'}] ['Q399', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { resource:Q399 property:P463 ?w . ?w rdf:type ontology:Q484652 } UNION { ?w rdf:type ontology:Q43229 . resource:Q399 property:P463 ?w } }
Armenia
action count
action union
action filter_type
action find
entity Armenia
relation member of
type international organization
action filter_type
action find
entity Armenia
relation member of
type organization
['Armenia', 'member of', {'concept': 'international organization'}] ['Armenia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { resource:Armenia property:member_of ?w . ?w rdf:type ontology:international_organization } UNION { ?w rdf:type ontology:organization . resource:Armenia property:member_of ?w } }
[]
international organization organization
SYSTEM
11
Q81299 Q191384 Q208019 Q899770 Q1065 Q188822 Q656801 Q380340 Q7825 Q827525 Q1043527
(Q399,P463,c(Q484652)) (Q399,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q399
relation P463
type Q484652
action filter_type
action find
entity Q399
relation P463
type Q43229
[ANSWER]
['Q399', 'P463', {'concept': 'Q484652'}] ['Q399', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { resource:Q399 property:P463 ?w . ?w rdf:type ontology:Q484652 } UNION { ?w rdf:type ontology:Q43229 . resource:Q399 property:P463 ?w } }
Organization for Security and Co-operation in Europe International Bank for Reconstruction and Development Eastern Partnership International Centre for Settlement of Investment Disputes United Nations Asian Development Bank International Finance Corporation Organization of the Black Sea Economic Cooperation World Trade Organization International Development Association Multilateral Investment Guarantee Agency
11
action count
action union
action filter_type
action find
entity Armenia
relation member of
type international organization
action filter_type
action find
entity Armenia
relation member of
type organization
['Armenia', 'member of', {'concept': 'international organization'}] ['Armenia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { resource:Armenia property:member_of ?w . ?w rdf:type ontology:international_organization } UNION { ?w rdf:type ontology:organization . resource:Armenia property:member_of ?w } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2376939 Q690108
P138 P17
Q15617994
USER
Which administrative territories are Russian cruiser Rossia named after or are ESDES situated in ?
OR((Q690108,P138,c(Q15617994)), (Q2376939,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q690108
relation P138
action find
entity Q2376939
relation P17
type Q15617994
{'OR': [['Q690108', 'P138', {'concept': 'Q15617994'}], ['Q2376939', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q690108 property:P138 ?f } UNION { resource:Q2376939 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
ESDES Russian cruiser Rossia
action filter_type
action union
action find
entity Russian cruiser Rossia
relation named after
action find
entity ESDES
relation country
type designation for an administrative territorial entity
{'OR': [['Russian cruiser Rossia', 'named after', {'concept': 'designation for an administrative territorial entity'}], ['ESDES', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Russian_cruiser_Rossia property:named_after ?f } UNION { resource:ESDES property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q159
SYSTEM
France, Russia
Q142 Q159
OR((Q690108,P138,c(Q15617994)), (Q2376939,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q690108
relation P138
action find
entity Q2376939
relation P17
type Q15617994
Russian cruiser named after situated in Rossia between [ANSWERS]
{'OR': [['Q690108', 'P138', {'concept': 'Q15617994'}], ['Q2376939', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q690108 property:P138 ?f } UNION { resource:Q2376939 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
France Russia
Russian cruiser named after situated in Rossia between France and Russia
France Russia
action filter_type
action union
action find
entity Russian cruiser Rossia
relation named after
action find
entity ESDES
relation country
type designation for an administrative territorial entity
{'OR': [['Russian cruiser Rossia', 'named after', {'concept': 'designation for an administrative territorial entity'}], ['ESDES', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Russian_cruiser_Rossia property:named_after ?f } UNION { resource:ESDES property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q15416
USER
How many administrative territories are the origins of greater number of musical ensembles or television programs than that administrative territory ?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?d ) { ( ?z ) ( ?x ) } . ?d property:P495 ?y } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?d ) { ( ?z ) ( ?x ) } . ?d property:country_of_origin ?y } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
designation for an administrative territorial entity musical ensemble television program
Comparative|Count over More/Less|Mult. entity type|Clarification
Q159
SYSTEM
Did you mean Russia ?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?d ) { ( ?z ) ( ?x ) } . ?d property:P495 ?y } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Did you mean Russia ?
Russia
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?d ) { ( ?z ) ( ?x ) } . ?d property:country_of_origin ?y } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
24
Q668 Q414 Q142 Q55 Q145 Q148 Q717 Q43 Q155 Q884 Q33 Q31 Q30 Q36 Q34 Q928 Q38 Q739 Q20 Q27 Q96 Q17 Q298 Q29
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
India Argentina France Netherlands United Kingdom People's Republic of China Venezuela Turkey Brazil South Korea Finland Belgium United States of America Poland Sweden Philippines Italy Colombia Norway Ireland Mexico Japan Chile Spain
24
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q331795 Q155651
P121
Q781132
USER
Which military branches handle the operation of Mi-24 or patrol boat ?
OR((c(Q781132),P121,Q155651), (c(Q781132),P121,Q331795))
action filter_type
action union
action find_reverse
entity Q155651
relation P121
action find_reverse
entity Q331795
relation P121
type Q781132
{'OR': [[{'concept': 'Q781132'}, 'P121', 'Q155651'], [{'concept': 'Q781132'}, 'P121', 'Q331795']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?n ) { ( resource:Q155651 ) ( resource:Q331795 ) } . ?r property:P121 ?n } . ?r rdf:type ontology:Q781132 }
patrol boat Mi-24
action filter_type
action union
action find_reverse
entity Mi-24
relation item operated
action find_reverse
entity patrol boat
relation item operated
type military branch
{'OR': [[{'concept': 'military branch'}, 'item operated', 'Mi-24'], [{'concept': 'military branch'}, 'item operated', 'patrol boat']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?n ) { ( resource:Mi-24 ) ( resource:patrol_boat ) } . ?r property:item_operated ?n } . ?r rdf:type ontology:military_branch }
[]
military branch
Q4419309 Q2905423 Q18640177 Q4114459 Q1129369 Q18707175 Q2711719 Q4709164
SYSTEM
Kazakh Air and Air Defence Forces, Lebanese Navy, Guinean Navy, Eritrean Navy, Hellenic Navy, Malawi Army Naval Detachment, Lithuanian Naval Force, Albanian Royal Army
Q4419309 Q2905423 Q18640177 Q4114459 Q1129369 Q18707175 Q2711719 Q4709164
OR((c(Q781132),P121,Q155651), (c(Q781132),P121,Q331795))
action filter_type
action union
action find_reverse
entity Q155651
relation P121
action find_reverse
entity Q331795
relation P121
type Q781132
[ANSWERS] handle the operation of Mi-24 or patrol boat
{'OR': [[{'concept': 'Q781132'}, 'P121', 'Q155651'], [{'concept': 'Q781132'}, 'P121', 'Q331795']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?n ) { ( resource:Q155651 ) ( resource:Q331795 ) } . ?r property:P121 ?n } . ?r rdf:type ontology:Q781132 }
Kazakh Air and Air Defence Forces Lebanese Navy Guinean Navy Eritrean Navy Hellenic Navy Malawi Army Naval Detachment Lithuanian Naval Force Albanian Royal Army
Kazakh Air and Air Defence Forces, Lebanese Navy, Guinean Navy, Eritrean Navy, Hellenic Navy, Malawi Army Naval Detachment, Lithuanian Naval Force and Albanian Royal Army handle the operation of Mi-24 or patrol boat
Kazakh Air and Air Defence Forces Lebanese Navy Guinean Navy Eritrean Navy Hellenic Navy Malawi Army Naval Detachment Lithuanian Naval Force Albanian Royal Army
action filter_type
action union
action find_reverse
entity Mi-24
relation item operated
action find_reverse
entity patrol boat
relation item operated
type military branch
{'OR': [[{'concept': 'military branch'}, 'item operated', 'Mi-24'], [{'concept': 'military branch'}, 'item operated', 'patrol boat']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?n ) { ( resource:Mi-24 ) ( resource:patrol_boat ) } . ?r property:item_operated ?n } . ?r rdf:type ontology:military_branch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q781132 Q781132
USER
How many military branches are atleast 1 military branch a part of ?
(c(Q781132),P361,c(Q781132))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
value 1
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P361 ?x . ?x rdf:type ontology:Q781132 . ?m rdf:type ontology:Q781132 } GROUP BY ?x } . FILTER ( ?n >= 1 ) }
action count
action atleast
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
value 1
[{'concept': 'military branch'}, 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:part_of ?x . ?x rdf:type ontology:military_branch . ?m rdf:type ontology:military_branch } GROUP BY ?x } . FILTER ( ?n >= 1 ) }
[]
military branch military branch
SYSTEM
12
Q676404 Q313422 Q488756 Q1067064 Q2862927 Q1750688 Q208711 Q2292358 Q2301347 Q18643350 Q2258261 Q355771
(c(Q781132),P361,c(Q781132))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
value 1
[ANSWER]
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P361 ?x . ?x rdf:type ontology:Q781132 . ?m rdf:type ontology:Q781132 } GROUP BY ?x } . FILTER ( ?n >= 1 ) }
Spanish Navy German Army Republic of Korea Navy United States Special Operations Command Indonesian Army Brazilian Navy Chilean Navy Brazilian Army Argentine Army Islamic Republic of Iran Ground Force Pakistan Navy Indian Army
12
action count
action atleast
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
value 1
[{'concept': 'military branch'}, 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:part_of ?x . ?x rdf:type ontology:military_branch . ?m rdf:type ontology:military_branch } GROUP BY ?x } . FILTER ( ?n >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q159
P463
Q484652 Q35749
USER
How many international organizations and parliaments were Russia a member of ?
(Q159,P463,c(Q484652)) (Q159,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q159
relation P463
type Q484652
action filter_type
action find
entity Q159
relation P463
type Q35749
['Q159', 'P463', {'concept': 'Q484652'}] ['Q159', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { resource:Q159 property:P463 ?e . ?e rdf:type ontology:Q484652 } UNION { ?e rdf:type ontology:Q35749 . resource:Q159 property:P463 ?e } }
Russia
action count
action union
action filter_type
action find
entity Russia
relation member of
type international organization
action filter_type
action find
entity Russia
relation member of
type parliament
['Russia', 'member of', {'concept': 'international organization'}] ['Russia', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { resource:Russia property:member_of ?e . ?e rdf:type ontology:international_organization } UNION { ?e rdf:type ontology:parliament . resource:Russia property:member_of ?e } }
[]
international organization parliament
SYSTEM
9 international organizations and 1 parliaments
Q81299 Q789769 Q8475 Q19771 Q1065 Q37143 Q674182 Q37470 Q1043527 Q166110
(Q159,P463,c(Q484652)) (Q159,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q159
relation P463
type Q484652
action filter_type
action find
entity Q159
relation P463
type Q35749
[ANSWER]
['Q159', 'P463', {'concept': 'Q484652'}] ['Q159', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { resource:Q159 property:P463 ?e . ?e rdf:type ontology:Q484652 } UNION { ?e rdf:type ontology:Q35749 . resource:Q159 property:P463 ?e } }
Organization for Security and Co-operation in Europe Council of the Baltic Sea States Interpol G20 United Nations G8 Arctic Council United Nations Security Council Multilateral Investment Guarantee Agency Union State
9 international organizations and 1 parliaments
action count
action union
action filter_type
action find
entity Russia
relation member of
type international organization
action filter_type
action find
entity Russia
relation member of
type parliament
['Russia', 'member of', {'concept': 'international organization'}] ['Russia', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { resource:Russia property:member_of ?e . ?e rdf:type ontology:international_organization } UNION { ?e rdf:type ontology:parliament . resource:Russia property:member_of ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P610
Q14524493
USER
Which is the highest peak of Russia ?
(Q159,P610,c(Q14524493))
action filter_type
action find
entity Q159
relation P610
type Q14524493
['Q159', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14524493 . resource:Q159 property:P610 ?k }
Russia
action filter_type
action find
entity Russia
relation highest point
type terrain
['Russia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:terrain . resource:Russia property:highest_point ?k }
[]
terrain
Q43105
SYSTEM
Mount Elbrus
Q43105
(Q159,P610,c(Q14524493))
action filter_type
action find
entity Q159
relation P610
type Q14524493
The highest peak of Russia is the [ANSWER]
['Q159', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14524493 . resource:Q159 property:P610 ?k }
Mount Elbrus
The highest peak of Russia is the Mount Elbrus
Mount Elbrus
action filter_type
action find
entity Russia
relation highest point
type terrain
['Russia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:terrain . resource:Russia property:highest_point ?k }
[]