Simple Question (Direct)
Simple Question
Q314436
P166
Q2003221
USER
What was received by Bob Paisley ?
(Q314436,P166,c(Q2003221))
action filter_type
action find
entity Q314436
relation P166
type Q2003221
['Q314436', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?t WHERE { resource:Q314436 property:P166 ?t . ?t rdf:type ontology:Q2003221 }
Bob Paisley
action filter_type
action find
entity Bob Paisley
relation award received
type chivalric order
['Bob Paisley', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?t WHERE { resource:Bob_Paisley property:award_received ?t . ?t rdf:type ontology:chivalric_order }
[]
chivalric order
Q10762848
SYSTEM
Officer of the Order of the British Empire
Q10762848
(Q314436,P166,c(Q2003221))
action filter_type
action find
entity Q314436
relation P166
type Q2003221
[ANSWER]
['Q314436', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?t WHERE { resource:Q314436 property:P166 ?t . ?t rdf:type ontology:Q2003221 }
Officer of the Order of the British Empire
Officer of the Order of the British Empire
action filter_type
action find
entity Bob Paisley
relation award received
type chivalric order
['Bob Paisley', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?t WHERE { resource:Bob_Paisley property:award_received ?t . ?t rdf:type ontology:chivalric_order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q314436
P734
Q82799
USER
Which name is associated with that person ?
(Q10762848,P734,c(Q82799))
action filter_type
action find
entity Q314436
relation P734
type Q82799
['Q10762848', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q314436 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Bob Paisley
action filter_type
action find
entity Bob Paisley
relation family name
type name
['Officer of the Order of the British Empire', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Bob_Paisley property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q25343653
SYSTEM
Paisley
Q25343653
(Q10762848,P734,c(Q82799))
action filter_type
action find
entity Q314436
relation P734
type Q82799
[ANSWER]
['Q10762848', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q314436 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Paisley
Paisley
action filter_type
action find
entity Bob Paisley
relation family name
type name
['Officer of the Order of the British Empire', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Bob_Paisley property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314436
P241
Q781132
USER
Which military branch is Bob Paisley associated with ?
(Q314436,P241,c(Q781132))
action filter_type
action find
entity Q314436
relation P241
type Q781132
['Q314436', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { resource:Q314436 property:P241 ?g . ?g rdf:type ontology:Q781132 }
Bob Paisley
action filter_type
action find
entity Bob Paisley
relation military branch
type military branch
['Bob Paisley', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { resource:Bob_Paisley property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q314436,P241,c(Q781132))
action filter_type
action find
entity Q314436
relation P241
type Q781132
[ANSWER]
['Q314436', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { resource:Q314436 property:P241 ?g . ?g rdf:type ontology:Q781132 }
British Army
British Army
action filter_type
action find
entity Bob Paisley
relation military branch
type military branch
['Bob Paisley', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { resource:Bob_Paisley property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1548147
Q781132
USER
And how about Raymond Jolliffe, 5th Baron Hylton?
(Q1548147,P241,c(Q781132))
action filter_type
action find
entity Q1548147
relation P241
type Q781132
['Q1548147', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { resource:Q1548147 property:P241 ?f . ?f rdf:type ontology:Q781132 }
Raymond Jolliffe, 5th Baron Hylton
action filter_type
action find
entity Raymond Jolliffe, 5th Baron Hylton
relation military branch
type military branch
['Raymond Jolliffe, 5th Baron Hylton', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { resource:Raymond_Jolliffe,_5th_Baron_Hylton property:military_branch ?f . ?f rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q1548147,P241,c(Q781132))
action filter_type
action find
entity Q1548147
relation P241
type Q781132
[ANSWER]
['Q1548147', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { resource:Q1548147 property:P241 ?f . ?f rdf:type ontology:Q781132 }
British Army
British Army
action filter_type
action find
entity Raymond Jolliffe, 5th Baron Hylton
relation military branch
type military branch
['Raymond Jolliffe, 5th Baron Hylton', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { resource:Raymond_Jolliffe,_5th_Baron_Hylton property:military_branch ?f . ?f rdf:type ontology:military_branch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1548147
P69
Q1244442 Q3914
USER
How many school buildings or schools are the alma mater of Raymond Jolliffe, 5th Baron Hylton ?
(Q1548147,P69,c(Q1244442)) (Q1548147,P69,c(Q3914))
action count
action union
action filter_type
action find
entity Q1548147
relation P69
type Q1244442
action filter_type
action find
entity Q1548147
relation P69
type Q3914
['Q1548147', 'P69', {'concept': 'Q1244442'}] ['Q1548147', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m rdf:type ontology:Q1244442 . resource:Q1548147 property:P69 ?m } UNION { resource:Q1548147 property:P69 ?m . ?m rdf:type ontology:Q3914 } }
Raymond Jolliffe, 5th Baron Hylton
action count
action union
action filter_type
action find
entity Raymond Jolliffe, 5th Baron Hylton
relation educated at
type school building
action filter_type
action find
entity Raymond Jolliffe, 5th Baron Hylton
relation educated at
type school
['Raymond Jolliffe, 5th Baron Hylton', 'educated at', {'concept': 'school building'}] ['Raymond Jolliffe, 5th Baron Hylton', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m rdf:type ontology:school_building . resource:Raymond_Jolliffe,_5th_Baron_Hylton property:educated_at ?m } UNION { resource:Raymond_Jolliffe,_5th_Baron_Hylton property:educated_at ?m . ?m rdf:type ontology:school } }
[]
school building school
SYSTEM
2
Q192088 Q73079
(Q1548147,P69,c(Q1244442)) (Q1548147,P69,c(Q3914))
action count
action union
action filter_type
action find
entity Q1548147
relation P69
type Q1244442
action filter_type
action find
entity Q1548147
relation P69
type Q3914
[ANSWER]
['Q1548147', 'P69', {'concept': 'Q1244442'}] ['Q1548147', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m rdf:type ontology:Q1244442 . resource:Q1548147 property:P69 ?m } UNION { resource:Q1548147 property:P69 ?m . ?m rdf:type ontology:Q3914 } }
Eton College Trinity College
2
action count
action union
action filter_type
action find
entity Raymond Jolliffe, 5th Baron Hylton
relation educated at
type school building
action filter_type
action find
entity Raymond Jolliffe, 5th Baron Hylton
relation educated at
type school
['Raymond Jolliffe, 5th Baron Hylton', 'educated at', {'concept': 'school building'}] ['Raymond Jolliffe, 5th Baron Hylton', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m rdf:type ontology:school_building . resource:Raymond_Jolliffe,_5th_Baron_Hylton property:educated_at ?m } UNION { resource:Raymond_Jolliffe,_5th_Baron_Hylton property:educated_at ?m . ?m rdf:type ontology:school } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q192350 Q781132
USER
Which ministries are min number of military branches a component of ?
(c(Q781132),P361,Q6866930)
action argmin
action find_reverse_tuple_counts
relation P361
type Q192350
type Q781132
[{'concept': 'Q781132'}, 'P361', 'Q6866930']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?d ) { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P361 ?z . ?z rdf:type ontology:Q192350 . ?p rdf:type ontology:Q781132 } GROUP BY ?z } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?q ) WHERE { ?k rdf:type ontology:Q192350 . ?i rdf:type ontology:Q781132 . ?i property:P361 ?k } GROUP BY ?k } . FILTER ( ?q = ?d ) }
action argmin
action find_reverse_tuple_counts
relation part of
type ministry
type military branch
[{'concept': 'military branch'}, 'part of', 'Ministry of Finance']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?d ) { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:part_of ?z . ?z rdf:type ontology:ministry . ?p rdf:type ontology:military_branch } GROUP BY ?z } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?q ) WHERE { ?k rdf:type ontology:ministry . ?i rdf:type ontology:military_branch . ?i property:part_of ?k } GROUP BY ?k } . FILTER ( ?q = ?d ) }
[]
ministry military branch
Q789915 Q640365 Q501542
SYSTEM
United States Department of State, Ministry of Interior of the Kingdom of Thailand, United States Department of Agriculture
Q640365 Q1191438 Q578269 Q2565708 Q3044742 Q6867670 Q2612011 Q4922984 Q6865959 Q1780908 Q1322605 Q6867382 Q1774229 Q491637 Q2081328 Q3268130 Q11781499 Q1197264 Q4294879 Q3347142 Q16874286 Q10547426 Q11775449 Q10517070 Q2081350 Q5995 Q4294689 Q4294535 Q628807 Q2081359 Q3708665 Q1041343 Q19315413 Q25991767 Q896375 Q608427 Q2605674 Q2976206 Q939757 Q13537355 Q262509 Q1037495 Q358834 Q944762 Q5892583 Q942326 Q6867043 Q7258698 Q5195474 Q7258696 Q7258697 Q4919401 Q811595 Q3359275 Q1627146 Q2661479 Q2726949 Q1054379 Q1416512 Q2982287 Q3002326 Q4294796 Q1419663 Q4294791 Q1862884 Q2080931 Q763388 Q25907383 Q1769416 Q2433166 Q1431423 Q4294734 Q4294807 Q6867588 Q1283287 Q2982684 Q20021288 Q592576 Q491566 Q2303759 Q699656 Q2641068 Q4294949 Q4294782 Q4294435 Q789915 Q1769657 Q4294683 Q56034 Q6866750 Q1707870 Q1143596 Q1771611 Q138515 Q1518496 Q1540348 Q501542 Q2565132 Q2590151 Q3315253 Q2605975 Q18596534 Q4294838 Q3065145 Q2986560 Q782620 Q7258700 Q7258701 Q7258702 Q7258703 Q789889 Q1192838 Q6867033 Q1640407 Q731336 Q2565106 Q11231 Q1469956 Q7032562 Q1143261 Q1780898 Q2907759 Q4294757 Q3443880 Q2077979 Q4294665 Q2508854 Q11989565 Q11989566 Q1816353 Q877814 Q4294512 Q7258712 Q3125291 Q4294359 Q5260457 Q3648988 Q20021281 Q3315371 Q1398002 Q746439 Q217810 Q10495302 Q2909783 Q2611987 Q1479660 Q3555550 Q1049362 Q2091087 Q3362362 Q6866981 Q2639539 Q2091487 Q18611993 Q2612392 Q2982160 Q3181026 Q2119820 Q697158 Q2491421 Q2612001 Q3557111 Q1583463 Q861556 Q2611994 Q648666 Q3288496 Q13765742 Q16071066 Q2188136 Q4294526 Q6866996 Q776570 Q1037511 Q3319270 Q6866930
(c(Q781132),P361,Q6866930)
action argmin
action find_reverse_tuple_counts
relation P361
type Q192350
type Q781132
[ANSWERS]
[{'concept': 'Q781132'}, 'P361', 'Q6866930']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?d ) { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P361 ?z . ?z rdf:type ontology:Q192350 . ?p rdf:type ontology:Q781132 } GROUP BY ?z } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?q ) WHERE { ?k rdf:type ontology:Q192350 . ?i rdf:type ontology:Q781132 . ?i property:P361 ?k } GROUP BY ?k } . FILTER ( ?q = ?d ) }
Ministry of Interior of the Kingdom of Thailand Department of Finance Canada HM Treasury Ministry of Foreign Affairs of Iran Department of Health ministry of propaganda Ministry of Justice Ministry of Culture Ministry for Refugees, Immigrants and Integration Ministry of Employment Ministry of Finance National Defence Ministry Ministry of Finance Federal Ministry of Transport and Digital Infrastructure Culture and Sport Ministry Ministry of Industry Ministry of the Interior of the Czech Republic Ministry of Economy, Trade and Industry (Japan) Ministry of Justice Ministry of Foreign Affairs of the People's Republic of Bangladesh Ministry of Foreign Affairs and Regional Integration of the Republic of Ghana Ministry of Communications Ministry of Culture of the Republic of Belarus Ministry of Trade Ministry of Agriculture and Rural Development of Israel Cabinet Office Ministry of Agriculture and Rural Development of Romania Ministry of Education and Research United States Department of Labor Ministry of Religious Services Puerto Rico Department of Natural and Environmental Resources Ministry of Security and Justice Justice Ministry Department for International Trade Federal Ministry in Germany United States Department of the Interior Ministry of Finance Ministry of Defence Ministry of General Affairs Finance Ministry of Slovakia Department of Energy Ministry of Foreign Affairs Foreign and Commonwealth Office Ministry of Environment Ministry of Finance United States Department of Health and Human Services Ministry of Foreign Affairs and African Integration of the Republic of Benin Puerto Rico Department of Housing Puerto Rico Department of Corrections and Rehabilitation Puerto Rico Department of Consumer Affairs Puerto Rico Department of Family Affairs Ministry of Tourism and Sports (Thailand) United States Department of Housing and Urban Development Ministry of Foreign Affairs Ministry of National Defense Ministry of Transport and Road Safety Ministry of Higher Education and Research Ministry of Education, Culture, Sports, Science and Technology Ministry of the Economy, Finances and Industry Department for Transport Department of Finance Ministry of Finance Ministry of Culture Ministry of Finance Ministry of Defense Ministry of Housing and Construction Home Office Department for Exiting the European Union Royal Norwegian Ministry of Finance Ministry of Transport, Public Works and Water Management Ministry of Foreign Affairs of Israel Danish Ministry of Transport Ministry of Finance and Planning Ministry of Tourism Ministry of Foreign Affairs of Portugal Ministry of Defence Development Ministry of Israel United States Department of Veterans Affairs Ministry of Health of Germany Home Affairs Bureau Federal Ministry of Food, Agriculture and Consumer Protection Ministry of Finance Energy and Water Resources Ministry Ministry of Finance Ministry of Culture United States Department of State Ministry of Education and Research Puerto Rico Department of Agriculture Foreign Office Ministry of Defence Ministry of Finance United States Department of War Ministry of Justice Security Bureau Ministry of the Interior Ministry of Posts and Telecommunications of the GDR United States Department of Agriculture Tourism Ministry Ministry of Education Ministry of Education and Culture Ministry of Health Ministry of Defense Puerto Rico Department of Economic Development and Commerce Ministry of Economy and Finance Ministry of Economic Affairs Ministry of Agricultural, Food and Forestry Policies Puerto Rico Department of Justice Puerto Rico Department of Sports and Recreation Puerto Rico Department of State Puerto Rico Department of Treasury Ministry of Foreign Affairs Ministry of Internal Affairs Ministry of Foreign Affairs Ministry of Defence of Azerbaijan Department of Finance Ministry of Public Security United States Department of Homeland Security Federal Public Service Justice Ministry of Law and Justice Ministry of Defence Ministry of Enterprise, Energy and Communications Environmental Protection Ministry Puerto Rico Department of Labor and Human Resources Ministry of Finance of the Republic of Croatia Ministry of Communications Ministry of Communications and Information Society Ministry of Foreign Affairs and European Integration Ministry of Ecclesiastical Affairs Danish Ministry of Education Ministry of Finance Federal Ministry of Finance Ministry of Defence of Finland Puerto Rico Department of Transportation and Public Works Ministry of Foreign Affairs of the Hellenic Republic of Greece Puerto Rico Department of Health Department of Prices and Consumer Protection Ministry of Defense Ministry of Labor Global Affairs Canada Ministry of Culture and National Patrimony Federal Public Service Health United States Department of Energy Ministry of Finance of Finland Ministry of Interior Ministry of Health and Social Affairs Federal Public Service Economy Ministry of the Interior Ministry of Education, Culture and Science Ministry of Science, Technology and Space Ministry of Finance Ministry of Foreign Affairs, Cooperation and African Integration Ministry for Foreign Affairs Ministry of Economy Ministry of National Defense Ministry of National Defence Ministry of Defence Ministry of Defence Ministry of Defence Ministry of Foreign Affairs Ministry of the Interior and Kingdom Relations Ministry of the Environment Ministry of Justice, Transparency and Human Rights Ministry of Regional Development and Public Administration United States Department of Education Ministry of Culture United States Department of the Treasury Ministry for Rural Affairs of Sweden Ministry of Employment and the Economy Ministry of Foreign Affairs of Mongolia Ministry of Infrastructure and the Environment Puerto Rico Department of Education Ministry of Foreign Affairs of Eritrea Ministry for Foreign Affairs of Sweden Ministry of Finance Ministry of Defence of Armenia Ministry of Finance
United States Department of State Ministry of Interior of the Kingdom of Thailand United States Department of Agriculture
action argmin
action find_reverse_tuple_counts
relation part of
type ministry
type military branch
[{'concept': 'military branch'}, 'part of', 'Ministry of Finance']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?d ) { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:part_of ?z . ?z rdf:type ontology:ministry . ?p rdf:type ontology:military_branch } GROUP BY ?z } } . { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?q ) WHERE { ?k rdf:type ontology:ministry . ?i rdf:type ontology:military_branch . ?i property:part_of ?k } GROUP BY ?k } . FILTER ( ?q = ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q192350 Q874405
USER
Which social groups are a part of around 1 ministry ?
(c(Q874405),P361,c(Q192350))
action approx
action find_tuple_counts
relation P361
type Q874405
type Q192350
value 1
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q192350'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?v ) WHERE { ?k property:P361 ?h . ?k rdf:type ontology:Q874405 . ?h rdf:type ontology:Q192350 } GROUP BY ?k } . FILTER ( ?v = 1 ) }
action approx
action find_tuple_counts
relation part of
type social group
type ministry
value 1
[{'concept': 'social group'}, 'part of', {'concept': 'ministry'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?v ) WHERE { ?k property:part_of ?h . ?k rdf:type ontology:social_group . ?h rdf:type ontology:ministry } GROUP BY ?k } . FILTER ( ?v = 1 ) }
[]
ministry social group
Q10503899 Q10531505 Q10585398
SYSTEM
Swedish Gene Technology Advisory Board, Medical Responsibility Board, Environmental Advisory Council
Q4346801 Q2353346 Q10503899 Q10531505 Q10585398 Q23810809
(c(Q874405),P361,c(Q192350))
action approx
action find_tuple_counts
relation P361
type Q874405
type Q192350
value 1
[ANSWERS]
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q192350'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?v ) WHERE { ?k property:P361 ?h . ?k rdf:type ontology:Q874405 . ?h rdf:type ontology:Q192350 } GROUP BY ?k } . FILTER ( ?v = 1 ) }
Information-technology Promotion Agency Leisure and Cultural Services Department Swedish Gene Technology Advisory Board Medical Responsibility Board Environmental Advisory Council The Norwegian Joint Student Administration Service
Swedish Gene Technology Advisory Board Medical Responsibility Board Environmental Advisory Council
action approx
action find_tuple_counts
relation part of
type social group
type ministry
value 1
[{'concept': 'social group'}, 'part of', {'concept': 'ministry'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?v ) WHERE { ?k property:part_of ?h . ?k rdf:type ontology:social_group . ?h rdf:type ontology:ministry } GROUP BY ?k } . FILTER ( ?v = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q874405 Q62447
USER
How many aerodromes are the administrator of atleast 1 social group ?
(c(Q62447),P137,c(Q874405))
action count
action atleast
action find_tuple_counts
relation P137
type Q62447
type Q874405
value 1
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?b ) WHERE { ?v property:P137 ?o . ?v rdf:type ontology:Q62447 . ?o rdf:type ontology:Q874405 } GROUP BY ?v } . FILTER ( ?b >= 1 ) }
action count
action atleast
action find_tuple_counts
relation operator
type aerodrome
type social group
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?b ) WHERE { ?v property:operator ?o . ?v rdf:type ontology:aerodrome . ?o rdf:type ontology:social_group } GROUP BY ?v } . FILTER ( ?b >= 1 ) }
[]
social group aerodrome
SYSTEM
8
Q2788843 Q9001 Q1432146 Q771340 Q466835 Q429304 Q1416280 Q127958
(c(Q62447),P137,c(Q874405))
action count
action atleast
action find_tuple_counts
relation P137
type Q62447
type Q874405
value 1
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?b ) WHERE { ?v property:P137 ?o . ?v rdf:type ontology:Q62447 . ?o rdf:type ontology:Q874405 } GROUP BY ?v } . FILTER ( ?b >= 1 ) }
Bantayan Airport Isle of Man Airport Nashville International Airport William P. Hobby Airport Washington Dulles International Airport Marrakesh Menara Airport Agadir–Al Massira Airport Thessaloniki International Airport
8
action count
action atleast
action find_tuple_counts
relation operator
type aerodrome
type social group
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?b ) WHERE { ?v property:operator ?o . ?v rdf:type ontology:aerodrome . ?o rdf:type ontology:social_group } GROUP BY ?v } . FILTER ( ?b >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q337567 Q874405
USER
Which still waterss are min number of social groups named after ?
(c(Q874405),P138,Q1247231)
action argmin
action find_reverse_tuple_counts
relation P138
type Q337567
type Q874405
[{'concept': 'Q874405'}, 'P138', 'Q1247231']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?q ) { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:Q874405 . ?d rdf:type ontology:Q337567 . ?h property:P138 ?d } GROUP BY ?d } } . { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P138 ?e . ?e rdf:type ontology:Q337567 . ?f rdf:type ontology:Q874405 } GROUP BY ?e } . FILTER ( ?w = ?q ) }
action argmin
action find_reverse_tuple_counts
relation named after
type still waters
type social group
[{'concept': 'social group'}, 'named after', 'Oneida Lake']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?q ) { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:social_group . ?d rdf:type ontology:still_waters . ?h property:named_after ?d } GROUP BY ?d } } . { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:named_after ?e . ?e rdf:type ontology:still_waters . ?f rdf:type ontology:social_group } GROUP BY ?e } . FILTER ( ?w = ?q ) }
[]
still waters social group
Q15288 Q5513 Q4127
SYSTEM
Lake Ladoga, Lake Baikal, Lake Constance
Q213769 Q23775622 Q835186 Q445408 Q1062 Q304933 Q5492 Q1301207 Q5513 Q3215178 Q3591716 Q1473008 Q1882698 Q716287 Q24305783 Q26268941 Q2249567 Q1029508 Q1652613 Q265997 Q1242053 Q2264730 Q575489 Q845876 Q639919 Q332894 Q2232549 Q2254073 Q360892 Q454646 Q272463 Q5399915 Q808245 Q1548593 Q890532 Q962898 Q722633 Q704782 Q6476967 Q10315693 Q201843 Q688459 Q26268793 Q187782 Q450031 Q18175332 Q1805526 Q3214976 Q203137 Q11221125 Q881665 Q3215157 Q2043091 Q19636338 Q846456 Q1407004 Q192770 Q2283279 Q18326756 Q635952 Q18327260 Q2055426 Q1923898 Q1797016 Q1424609 Q3369 Q1299170 Q908661 Q1298761 Q2211792 Q3424558 Q188487 Q22691357 Q565637 Q1674859 Q1772785 Q7362220 Q2155789 Q3361115 Q257232 Q694789 Q22329016 Q15288 Q15523 Q1129374 Q114397 Q184492 Q203811 Q24731533 Q1535615 Q1549188 Q1345130 Q1684060 Q248234 Q1771237 Q22454153 Q958388 Q891693 Q1565645 Q200239 Q12979759 Q2439795 Q3257708 Q1493200 Q318313 Q880631 Q2457181 Q14459 Q1485521 Q3023366 Q3658218 Q6977483 Q19963110 Q12268925 Q1460079 Q7109416 Q19829392 Q15694938 Q2283141 Q1714919 Q688154 Q1600016 Q1389195 Q3149577 Q11871887 Q1799613 Q7264846 Q1817607 Q1361869 Q18661301 Q4983082 Q905065 Q2018667 Q1058308 Q1549069 Q2530182 Q805098 Q3257692 Q5254523 Q1675244 Q11873196 Q402778 Q165782 Q1552345 Q799691 Q2264279 Q2452182 Q884662 Q1799601 Q1271778 Q370128 Q319144 Q1329031 Q2564653 Q16065440 Q7337838 Q3504077 Q5602756 Q4991981 Q1657905 Q845891 Q1805105 Q2162424 Q2350816 Q1532485 Q1381569 Q2045081 Q16433904 Q209333 Q1415971 Q3049825 Q1074063 Q1143502 Q202905 Q1020737 Q68467 Q338137 Q27092901 Q842881 Q20736849 Q1658740 Q1320568 Q1474939 Q4127 Q2363863 Q2458029 Q3378013 Q17487950 Q6403 Q1247231
(c(Q874405),P138,Q1247231)
action argmin
action find_reverse_tuple_counts
relation P138
type Q337567
type Q874405
[ANSWERS]
[{'concept': 'Q874405'}, 'P138', 'Q1247231']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?q ) { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:Q874405 . ?d rdf:type ontology:Q337567 . ?h property:P138 ?d } GROUP BY ?d } } . { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P138 ?e . ?e rdf:type ontology:Q337567 . ?f rdf:type ontology:Q874405 } GROUP BY ?e } . FILTER ( ?w = ?q ) }
Päijänne Lindenweiher Krüselinsee Altshauser Weiher Lake Ontario Lake Abaya Lake Erie Eibsee Lake Baikal Lake Saint Francis Saint-Paul Pond Fuhlensee Lake Machnow Jingpo Lake Vikajärvi Erlachsee Schreckensee Red Lake Hüttensee Lake Imandra Donoperteich Seedorfer See Plansee Lake of the Woods Mechower See Lake Überlingen Scheibensee Schwarzer See Lake George Ratzeburger See Lake Athabasca Essingen Islands Barkauer See Großer Auesee Kallavesi Großes Heiliges Meer Lake Aschersleben Schaalsee Lake Monger Feia Lake Khanka Lake Dümmer Erlachsee Zellersee Selenter See Bülter See Lankower See Kejimikujik Lake Lake Inari Lake Gjerdingen Blanksee Redberry Lake Ozegahara Bogen Lake Lake Mégantic Schulensee Saimaa lake Flevo Kauhajärvi Beetzsee Kuivasjärvi Paschensee Binnenbedijkte Maas Kührener Teich kettle Müritz Uckermark Lakes Hartbeespoort Dam Glaswaldsee Sager Meer Orlången Lake Trasimeno Bibersee Untersee Lengener Meer Mindelsee Vaalajärvi Rixdorfer Teich Trekanten Oijärvi Müggelsee Entenfang Lake Ladoga Lake Como Conventer See Lanker See Mälaren Lake Skadar Senat lake Goldensee Großes Meer Koitere Jastorfer See Federsee Plätlinsee Cayuga Lake Loch Coruisk Bolzer See Kreuzweiher Lake Biwa Flaten Cardiel Lake Loch Nevis Lake Traverse Schwielowsee Teterower See Tröndelsee Lake Sempach Hengelesweiher Étang de Lers Lake Bile Lillsjön Lausheimer Weiher Vuontisjärvi Lake Umbozero Otter Tail Lake Ruschweiler See Crassensee Lake Chicot Jägerweiher Kummerower See Mille Lacs Lake Schönitzer See Imuta-ike Kivijärvi Lake Témiscouata Pöyrisjärvi Lengeder Teiche Loch Striven Piikajärvi Buckeye Lake Breeser See Oldenburger See Zabuye lake Loch Earn Vogelwoog Balksee Loch Aline Delsjön Itelteich Kuivasjärvi Ahrensee Steinhuder Meer Almere Badsee Seddinsee Treßsee Einfelder See Lac Le Jeune Northeim Lake District Neffelsee Lake Stechlin Lake Saroma Westensee Pyykösjärvi Lake Freeman Lake Žuvintas Green Lake Magelungen Ihlsee Pielinen Langensee Rohrsee Stocksee Großer Binnensee Last Mountain Lake Braslau Lakes Bueng Kum oxbow lake Niep Lake Iguaque Lake Mackay Culpiner See Lake Okeechobee Bültsee Lake Champlain IJ Rovajärvi Lake Saint Pierre Kauhajärvi Lake Illawarra Red Lake Lake Seydozero Lake Constance Suhrer See Clean Ponds Ådran Kaukajärvi Lake Geneva Oneida Lake
Lake Ladoga Lake Baikal Lake Constance
action argmin
action find_reverse_tuple_counts
relation named after
type still waters
type social group
[{'concept': 'social group'}, 'named after', 'Oneida Lake']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?q ) { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:social_group . ?d rdf:type ontology:still_waters . ?h property:named_after ?d } GROUP BY ?d } } . { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:named_after ?e . ?e rdf:type ontology:still_waters . ?f rdf:type ontology:social_group } GROUP BY ?e } . FILTER ( ?w = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1324290
P121
Q20027953 Q20027951 Q781132
USER
How many military branches manage approximately the same number of aircraft functional classes or aircraft power classes as Vietnam People's Navy ?
(c(Q781132),P121,c(Q20027953)|c(Q20027951))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027953
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action count
action filter_multi_types
action find
entity Q1324290
relation P121
type Q20027953
type Q20027951
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q20027951'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?s WHERE { { ?s property:P121 ?l . ?s rdf:type ontology:Q781132 . ?l rdf:type ontology:Q20027953 } UNION { ?s property:P121 ?l . ?s rdf:type ontology:Q781132 . ?l rdf:type ontology:Q20027951 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q1324290 property:P121 ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q20027951 ) ( ontology:Q20027953 ) } } } } . FILTER ( ?g = ?y ) }
Vietnam People's Navy
action count
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft functional class
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action count
action filter_multi_types
action find
entity Vietnam People's Navy
relation item operated
type aircraft functional class
type aircraft power class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'aircraft power class'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?s WHERE { { ?s property:item_operated ?l . ?s rdf:type ontology:military_branch . ?l rdf:type ontology:aircraft_functional_class } UNION { ?s property:item_operated ?l . ?s rdf:type ontology:military_branch . ?l rdf:type ontology:aircraft_power_class } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Vietnam_People's_Navy property:item_operated ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:aircraft_power_class ) ( ontology:aircraft_functional_class ) } } } } . FILTER ( ?g = ?y ) }
[]
aircraft functional class aircraft power class military branch
SYSTEM
49
Q6082582 Q897614 Q17404781 Q18696932 Q1324290 Q18640177 Q11220 Q2408298 Q18615980 Q172771 Q1129369 Q3958034 Q18640276 Q4709164 Q2055634 Q833040 Q2905423 Q1546449 Q4939559 Q2704661 Q3293231 Q356359 Q2862927 Q376676 Q2862841 Q1777326 Q2665572 Q731647 Q3277832 Q4855270 Q1491482 Q1322103 Q4114459 Q2711719 Q2370391 Q11218 Q2301347 Q4709134 Q2349884 Q17597972 Q5985661 Q355771 Q2071948 Q192366 Q2074039 Q17049310 Q18707175 Q3293247 Q569328
(c(Q781132),P121,c(Q20027953)|c(Q20027951))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027953
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action count
action filter_multi_types
action find
entity Q1324290
relation P121
type Q20027953
type Q20027951
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q20027951'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?s WHERE { { ?s property:P121 ?l . ?s rdf:type ontology:Q781132 . ?l rdf:type ontology:Q20027953 } UNION { ?s property:P121 ?l . ?s rdf:type ontology:Q781132 . ?l rdf:type ontology:Q20027951 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q1324290 property:P121 ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q20027951 ) ( ontology:Q20027953 ) } } } } . FILTER ( ?g = ?y ) }
Islamic Republic of Iran Air Defense Force Iraqi Army Afghan Special Mission Wing Lao People's Army Vietnam People's Navy Guinean Navy United States Navy Islamic Republic of Iran Navy Gambian Navy Royal Navy Hellenic Navy Argentine Army Aviation Bissau-Guinean Army Albanian Royal Army Royal Bahrain Naval Force Italian Navy Lebanese Navy Hellenic Army Bolivian Army Indonesian Navy Bangladesh Navy Indian Navy Indonesian Army Albanian Naval Force Congolese Army Argentine Navy Algerian National Navy Japan Maritime Self-Defense Force Hungarian Ground Forces Bangladesh Army Lao People's Navy Spanish Army Eritrean Navy Lithuanian Naval Force Royal Bhutan Army United States Marine Corps Argentine Army Albanian Land Force Croatian Navy Angolan Army Iceland Air Defence System Indian Army Finnish Navy Royal Bahraini Army Latvian Land Forces Angolan Navy Malawi Army Naval Detachment Benin Naval Forces Air Force and Anti-Air Defence Brigade
49
action count
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft functional class
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action count
action filter_multi_types
action find
entity Vietnam People's Navy
relation item operated
type aircraft functional class
type aircraft power class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'aircraft power class'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?s WHERE { { ?s property:item_operated ?l . ?s rdf:type ontology:military_branch . ?l rdf:type ontology:aircraft_functional_class } UNION { ?s property:item_operated ?l . ?s rdf:type ontology:military_branch . ?l rdf:type ontology:aircraft_power_class } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Vietnam_People's_Navy property:item_operated ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:aircraft_power_class ) ( ontology:aircraft_functional_class ) } } } } . FILTER ( ?g = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q18707175
P121
Q20027953 Q20027951 Q781132
USER
And what about Malawi Army Naval Detachment?
(c(Q781132),P121,c(Q20027953)|c(Q20027951))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027953
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action count
action filter_multi_types
action find
entity Q18707175
relation P121
type Q20027953
type Q20027951
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q20027951'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?o ) { ( ontology:Q20027951 ) ( ontology:Q20027953 ) } . ?u rdf:type ?o } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { { ?z rdf:type ontology:Q20027953 } UNION { ?z rdf:type ontology:Q20027951 } } . resource:Q18707175 property:P121 ?z } } . FILTER ( ?a = ?r ) }
Malawi Army Naval Detachment
action count
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft functional class
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action count
action filter_multi_types
action find
entity Malawi Army Naval Detachment
relation item operated
type aircraft functional class
type aircraft power class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'aircraft power class'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?o ) { ( ontology:aircraft_power_class ) ( ontology:aircraft_functional_class ) } . ?u rdf:type ?o } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { { ?z rdf:type ontology:aircraft_functional_class } UNION { ?z rdf:type ontology:aircraft_power_class } } . resource:Malawi_Army_Naval_Detachment property:item_operated ?z } } . FILTER ( ?a = ?r ) }
[]
aircraft functional class aircraft power class military branch
SYSTEM
49
Q6082582 Q897614 Q17404781 Q18696932 Q1324290 Q18640177 Q11220 Q2408298 Q18615980 Q172771 Q1129369 Q3958034 Q18640276 Q4709164 Q2055634 Q833040 Q2905423 Q1546449 Q4939559 Q2704661 Q3293231 Q356359 Q2862927 Q376676 Q2862841 Q1777326 Q2665572 Q731647 Q3277832 Q4855270 Q1491482 Q1322103 Q4114459 Q2711719 Q2370391 Q11218 Q2301347 Q4709134 Q2349884 Q17597972 Q5985661 Q355771 Q2071948 Q192366 Q2074039 Q17049310 Q18707175 Q3293247 Q569328
(c(Q781132),P121,c(Q20027953)|c(Q20027951))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027953
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action count
action filter_multi_types
action find
entity Q18707175
relation P121
type Q20027953
type Q20027951
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q20027951'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?o ) { ( ontology:Q20027951 ) ( ontology:Q20027953 ) } . ?u rdf:type ?o } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { { ?z rdf:type ontology:Q20027953 } UNION { ?z rdf:type ontology:Q20027951 } } . resource:Q18707175 property:P121 ?z } } . FILTER ( ?a = ?r ) }
Islamic Republic of Iran Air Defense Force Iraqi Army Afghan Special Mission Wing Lao People's Army Vietnam People's Navy Guinean Navy United States Navy Islamic Republic of Iran Navy Gambian Navy Royal Navy Hellenic Navy Argentine Army Aviation Bissau-Guinean Army Albanian Royal Army Royal Bahrain Naval Force Italian Navy Lebanese Navy Hellenic Army Bolivian Army Indonesian Navy Bangladesh Navy Indian Navy Indonesian Army Albanian Naval Force Congolese Army Argentine Navy Algerian National Navy Japan Maritime Self-Defense Force Hungarian Ground Forces Bangladesh Army Lao People's Navy Spanish Army Eritrean Navy Lithuanian Naval Force Royal Bhutan Army United States Marine Corps Argentine Army Albanian Land Force Croatian Navy Angolan Army Iceland Air Defence System Indian Army Finnish Navy Royal Bahraini Army Latvian Land Forces Angolan Navy Malawi Army Naval Detachment Benin Naval Forces Air Force and Anti-Air Defence Brigade
49
action count
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft functional class
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action count
action filter_multi_types
action find
entity Malawi Army Naval Detachment
relation item operated
type aircraft functional class
type aircraft power class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'aircraft power class'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?o ) { ( ontology:aircraft_power_class ) ( ontology:aircraft_functional_class ) } . ?u rdf:type ?o } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { { ?z rdf:type ontology:aircraft_functional_class } UNION { ?z rdf:type ontology:aircraft_power_class } } . resource:Malawi_Army_Naval_Detachment property:item_operated ?z } } . FILTER ( ?a = ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5513
P828
Q337567
USER
What is the cause of Lake Baikal ?
(Q5513,P828,c(Q337567))
action filter_type
action find
entity Q5513
relation P828
type Q337567
['Q5513', 'P828', {'concept': 'Q337567'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q337567 . resource:Q5513 property:P828 ?h }
Lake Baikal
action filter_type
action find
entity Lake Baikal
relation has cause
type still waters
['Lake Baikal', 'has cause', {'concept': 'still waters'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:still_waters . resource:Lake_Baikal property:has_cause ?h }
[]
still waters
Q6341928
SYSTEM
rift lake
Q6341928
(Q5513,P828,c(Q337567))
action filter_type
action find
entity Q5513
relation P828
type Q337567
[ANSWER]
['Q5513', 'P828', {'concept': 'Q337567'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q337567 . resource:Q5513 property:P828 ?h }
rift lake
rift lake
action filter_type
action find
entity Lake Baikal
relation has cause
type still waters
['Lake Baikal', 'has cause', {'concept': 'still waters'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:still_waters . resource:Lake_Baikal property:has_cause ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5513
P30
Q2221906
USER
Which geographic location is Lake Baikal a part of ?
(Q5513,P30,c(Q2221906))
action filter_type
action find
entity Q5513
relation P30
type Q2221906
['Q5513', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q5513 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Lake Baikal
action filter_type
action find
entity Lake Baikal
relation continent
type geographic location
['Lake Baikal', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Lake_Baikal property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q5513,P30,c(Q2221906))
action filter_type
action find
entity Q5513
relation P30
type Q2221906
[ANSWER]
['Q5513', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q5513 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Asia
Asia
action filter_type
action find
entity Lake Baikal
relation continent
type geographic location
['Lake Baikal', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Lake_Baikal property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5513
P200
Q355304
USER
What flows into that still waters ?
(Q48,P200,c(Q355304))
action filter_type
action find
entity Q5513
relation P200
type Q355304
['Q48', 'P200', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q5513 property:P200 ?x . ?x rdf:type ontology:Q355304 }
Lake Baikal
action filter_type
action find
entity Lake Baikal
relation lake inflows
type watercourse
['Asia', 'lake inflows', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:Lake_Baikal property:lake_inflows ?x . ?x rdf:type ontology:watercourse }
[]
watercourse
Q75745 Q1054311 Q4424134
SYSTEM
Selenga River, Upper Angara River, Slyudyanka
Q4424134 Q3196524 Q808176 Q4424133 Q4246441 Q4375034 Q2090382 Q1054311 Q4408691 Q248756 Q785531 Q2462900 Q4222569 Q4074592 Q1009177 Q3017105 Q75745 Q4460344 Q4427701 Q4081114
(Q48,P200,c(Q355304))
action filter_type
action find
entity Q5513
relation P200
type Q355304
[ANSWERS]
['Q48', 'P200', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q5513 property:P200 ?x . ?x rdf:type ontology:Q355304 }
Slyudyanka Kika Barguzin River Slyudyanka Kultuchnaya Pokhabikha Khara-Murin Upper Angara River Sarma River Tyya Snezhnaya River Utulik Kichera Babkha Turka Davsha Selenga River Tompuda Solzan Bezymyannaya
Selenga River Upper Angara River Slyudyanka
action filter_type
action find
entity Lake Baikal
relation lake inflows
type watercourse
['Asia', 'lake inflows', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:Lake_Baikal property:lake_inflows ?x . ?x rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P403
Q15324 Q355304
USER
How many bodies of water do approximately 33 watercourses drain into ?
(c(Q355304),P403,c(Q15324))
action count
action approx
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 33
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P403 ?y . ?y rdf:type ontology:Q15324 . ?k rdf:type ontology:Q355304 } GROUP BY ?y } . FILTER ( ?i = 33 ) }
action count
action approx
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 33
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:mouth_of_the_watercourse ?y . ?y rdf:type ontology:body_of_water . ?k rdf:type ontology:watercourse } GROUP BY ?y } . FILTER ( ?i = 33 ) }
[]
body of water watercourse
SYSTEM
8
Q12630 Q58705 Q37495 Q41735 Q82931 Q38882 Q223810 Q545
(c(Q355304),P403,c(Q15324))
action count
action approx
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 33
[ANSWER]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P403 ?y . ?y rdf:type ontology:Q15324 . ?k rdf:type ontology:Q355304 } GROUP BY ?y } . FILTER ( ?i = 33 ) }
Gulf of Mexico Arabian Sea Ionian Sea Irish Sea Coral Sea Tyrrhenian Sea James Bay Baltic Sea
8
action count
action approx
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 33
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:mouth_of_the_watercourse ?y . ?y rdf:type ontology:body_of_water . ?k rdf:type ontology:watercourse } GROUP BY ?y } . FILTER ( ?i = 33 ) }
[]