Simple Question (Direct)
Simple Question
Q7610649
P27
Q15617994
USER
Which administrative territory is the native country of Stephen Talbot ?
(Q7610649,P27,c(Q15617994))
action filter_type
action find
entity Q7610649
relation P27
type Q15617994
['Q7610649', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7610649 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Stephen Talbot
action filter_type
action find
entity Stephen Talbot
relation country of citizenship
type designation for an administrative territorial entity
['Stephen Talbot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Stephen_Talbot property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7610649,P27,c(Q15617994))
action filter_type
action find
entity Q7610649
relation P27
type Q15617994
The [ANSWER] is the native country of Stephen Talbot
['Q7610649', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7610649 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Stephen Talbot
United States of America
action filter_type
action find
entity Stephen Talbot
relation country of citizenship
type designation for an administrative territorial entity
['Stephen Talbot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Stephen_Talbot property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P610
Q14524493
USER
Which is the zenith of that administrative territory ?
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
United States of America
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
terrain
Q130018
SYSTEM
Denali
Q130018
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
The zenith of that administrative territory is the [ANSWER]
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Denali
The zenith of that administrative territory is the Denali
Denali
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q130018 Q6835859
P138
Q502895
USER
Is Michal Škoda Denali named after ?
(Q130018,P138,Q6835859)
action is_in
entity Q6835859
action find
entity Q130018
relation P138
['Q130018', 'P138', 'Q6835859']
ASK WHERE { resource:Q130018 property:P138 resource:Q6835859 }
Denali Michal Škoda
action is_in
entity Michal Škoda
action find
entity Denali
relation named after
['Denali', 'named after', 'Michal Škoda']
ASK WHERE { resource:Denali property:named_after resource:Michal_Škoda }
[]
common name
SYSTEM
NO
(Q130018,P138,Q6835859)
action is_in
entity Q6835859
action find
entity Q130018
relation P138
[ANSWER]
['Q130018', 'P138', 'Q6835859']
ASK WHERE { resource:Q130018 property:P138 resource:Q6835859 }
No
action is_in
entity Michal Škoda
action find
entity Denali
relation named after
['Denali', 'named after', 'Michal Škoda']
ASK WHERE { resource:Denali property:named_after resource:Michal_Škoda }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7610649 Q8079307
P19
Q56061
USER
Is Øyna the birthplace of Stephen Talbot ?
(Q7610649,P19,Q8079307)
action is_in
entity Q8079307
action find
entity Q7610649
relation P19
['Q7610649', 'P19', 'Q8079307']
ASK WHERE { resource:Q7610649 property:P19 resource:Q8079307 }
Stephen Talbot Øyna
action is_in
entity Øyna
action find
entity Stephen Talbot
relation place of birth
['Stephen Talbot', 'place of birth', 'Øyna']
ASK WHERE { resource:Stephen_Talbot property:place_of_birth resource:Øyna }
[]
administrative territorial entity
SYSTEM
NO
(Q7610649,P19,Q8079307)
action is_in
entity Q8079307
action find
entity Q7610649
relation P19
[ANSWER]
['Q7610649', 'P19', 'Q8079307']
ASK WHERE { resource:Q7610649 property:P19 resource:Q8079307 }
No
action is_in
entity Øyna
action find
entity Stephen Talbot
relation place of birth
['Stephen Talbot', 'place of birth', 'Øyna']
ASK WHERE { resource:Stephen_Talbot property:place_of_birth resource:Øyna }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7610649
P21
Q290
USER
Which sex does that person possess ?
action filter_type
action find
entity Q7610649
relation P21
type Q290
SELECT DISTINCT ?a WHERE { resource:Q7610649 property:P21 ?a . ?a rdf:type ontology:Q290 }
Stephen Talbot
action filter_type
action find
entity Stephen Talbot
relation gender
type sex
SELECT DISTINCT ?a WHERE { resource:Stephen_Talbot property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q7610649
relation P21
type Q290
That person possesses a [ANSWER]
SELECT DISTINCT ?a WHERE { resource:Q7610649 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Stephen Talbot
relation gender
type sex
SELECT DISTINCT ?a WHERE { resource:Stephen_Talbot property:gender ?a . ?a rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q586807 Q7610649
P21
Q290
USER
Or Paula Kelly?
OR((Q7610649,P21,c(Q290)), (Q586807,P21,c(Q290)))
action filter_type
action union
action find
entity Q7610649
relation P21
action find
entity Q586807
relation P21
type Q290
{'OR': [['Q7610649', 'P21', {'concept': 'Q290'}], ['Q586807', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q586807 property:P21 ?y } UNION { resource:Q7610649 property:P21 ?y } } . ?y rdf:type ontology:Q290 }
Paula Kelly Stephen Talbot
action filter_type
action union
action find
entity Stephen Talbot
relation gender
action find
entity Paula Kelly
relation gender
type sex
{'OR': [['Stephen Talbot', 'gender', {'concept': 'sex'}], ['Paula Kelly', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Paula_Kelly property:gender ?y } UNION { resource:Stephen_Talbot property:gender ?y } } . ?y rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q7610649,P21,c(Q290)), (Q586807,P21,c(Q290)))
action filter_type
action union
action find
entity Q7610649
relation P21
action find
entity Q586807
relation P21
type Q290
[ANSWERS]
{'OR': [['Q7610649', 'P21', {'concept': 'Q290'}], ['Q586807', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q586807 property:P21 ?y } UNION { resource:Q7610649 property:P21 ?y } } . ?y rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Stephen Talbot
relation gender
action find
entity Paula Kelly
relation gender
type sex
{'OR': [['Stephen Talbot', 'gender', {'concept': 'sex'}], ['Paula Kelly', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Paula_Kelly property:gender ?y } UNION { resource:Stephen_Talbot property:gender ?y } } . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P47
Q7275 Q1048835
USER
How many states and political territories share the border with United States of America ?
(Q30,P47,c(Q7275)) (Q30,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q7275
action filter_type
action find
entity Q30
relation P47
type Q1048835
['Q30', 'P47', {'concept': 'Q7275'}] ['Q30', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { ?p rdf:type ontology:Q7275 . resource:Q30 property:P47 ?p } UNION { resource:Q30 property:P47 ?p . ?p rdf:type ontology:Q1048835 } }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type state
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
['United States of America', 'shares border with', {'concept': 'state'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { ?p rdf:type ontology:state . resource:United_States_of_America property:shares_border_with ?p } UNION { resource:United_States_of_America property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity } }
[]
state political territorial entity
SYSTEM
1 states and 2 political territories
Q248452 Q16 Q778
(Q30,P47,c(Q7275)) (Q30,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q7275
action filter_type
action find
entity Q30
relation P47
type Q1048835
[ANSWER]
['Q30', 'P47', {'concept': 'Q7275'}] ['Q30', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { ?p rdf:type ontology:Q7275 . resource:Q30 property:P47 ?p } UNION { resource:Q30 property:P47 ?p . ?p rdf:type ontology:Q1048835 } }
British North America Canada The Bahamas
1 states and 2 political territories
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type state
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
['United States of America', 'shares border with', {'concept': 'state'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { ?p rdf:type ontology:state . resource:United_States_of_America property:shares_border_with ?p } UNION { resource:United_States_of_America property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3805138 Q7610649
P19
Q56061
USER
Which administrative territories were Stephen Talbot or J. Thomas Looney born in ?
OR((Q7610649,P19,c(Q56061)), (Q3805138,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7610649
relation P19
action find
entity Q3805138
relation P19
type Q56061
{'OR': [['Q7610649', 'P19', {'concept': 'Q56061'}], ['Q3805138', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . { VALUES ( ?x ) { ( resource:Q7610649 ) ( resource:Q3805138 ) } . ?x property:P19 ?f } }
J. Thomas Looney Stephen Talbot
action filter_type
action union
action find
entity Stephen Talbot
relation place of birth
action find
entity J. Thomas Looney
relation place of birth
type administrative territorial entity
{'OR': [['Stephen Talbot', 'place of birth', {'concept': 'administrative territorial entity'}], ['J. Thomas Looney', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . { VALUES ( ?x ) { ( resource:Stephen_Talbot ) ( resource:J._Thomas_Looney ) } . ?x property:place_of_birth ?f } }
[]
administrative territorial entity
Q279000 Q65
SYSTEM
South Shields, Los Angeles
Q279000 Q65
OR((Q7610649,P19,c(Q56061)), (Q3805138,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7610649
relation P19
action find
entity Q3805138
relation P19
type Q56061
Stephen Talbot or J. Thomas Looney were born in [ANSWERS]
{'OR': [['Q7610649', 'P19', {'concept': 'Q56061'}], ['Q3805138', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . { VALUES ( ?x ) { ( resource:Q7610649 ) ( resource:Q3805138 ) } . ?x property:P19 ?f } }
South Shields Los Angeles
Stephen Talbot or J. Thomas Looney were born in South Shields and Los Angeles
South Shields Los Angeles
action filter_type
action union
action find
entity Stephen Talbot
relation place of birth
action find
entity J. Thomas Looney
relation place of birth
type administrative territorial entity
{'OR': [['Stephen Talbot', 'place of birth', {'concept': 'administrative territorial entity'}], ['J. Thomas Looney', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . { VALUES ( ?x ) { ( resource:Stephen_Talbot ) ( resource:J._Thomas_Looney ) } . ?x property:place_of_birth ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q148154
P206
Q337567 Q355304 Q14524493
USER
Which terrains are located in the neighbourhood of greater number of still waterss and watercourses than Paulet Island ?
(c(Q14524493),P206,c(Q337567)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P206
type Q14524493
type Q337567
action find_tuple_counts
relation P206
type Q14524493
type Q355304
action count
action filter_multi_types
action find
entity Q148154
relation P206
type Q337567
type Q355304
[{'concept': 'Q14524493'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { { ?m property:P206 ?y . ?y rdf:type ontology:Q337567 . ?m rdf:type ontology:Q14524493 } UNION { ?m rdf:type ontology:Q14524493 . ?y rdf:type ontology:Q355304 . ?m property:P206 ?y } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { { ?f rdf:type ontology:Q337567 } UNION { ?f rdf:type ontology:Q355304 } } . resource:Q148154 property:P206 ?f } } . FILTER ( ?x > ?w ) }
Paulet Island
action greater
action union
action find_tuple_counts
relation located next to body of water
type terrain
type still waters
action find_tuple_counts
relation located next to body of water
type terrain
type watercourse
action count
action filter_multi_types
action find
entity Paulet Island
relation located next to body of water
type still waters
type watercourse
[{'concept': 'terrain'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { { ?m property:located_next_to_body_of_water ?y . ?y rdf:type ontology:still_waters . ?m rdf:type ontology:terrain } UNION { ?m rdf:type ontology:terrain . ?y rdf:type ontology:watercourse . ?m property:located_next_to_body_of_water ?y } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { { ?f rdf:type ontology:still_waters } UNION { ?f rdf:type ontology:watercourse } } . resource:Paulet_Island property:located_next_to_body_of_water ?f } } . FILTER ( ?x > ?w ) }
[]
still waters watercourse terrain
Q20858395 Q746262 Q7620138
SYSTEM
Sugarloaf Mountain, Scarba, Storm King Mountain
Q20858395 Q746262 Q7620138
(c(Q14524493),P206,c(Q337567)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P206
type Q14524493
type Q337567
action find_tuple_counts
relation P206
type Q14524493
type Q355304
action count
action filter_multi_types
action find
entity Q148154
relation P206
type Q337567
type Q355304
[ANSWERS] are located in the neighbourhood of greater number of still waterss and watercourses than Paulet Island
[{'concept': 'Q14524493'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { { ?m property:P206 ?y . ?y rdf:type ontology:Q337567 . ?m rdf:type ontology:Q14524493 } UNION { ?m rdf:type ontology:Q14524493 . ?y rdf:type ontology:Q355304 . ?m property:P206 ?y } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { { ?f rdf:type ontology:Q337567 } UNION { ?f rdf:type ontology:Q355304 } } . resource:Q148154 property:P206 ?f } } . FILTER ( ?x > ?w ) }
Sugarloaf Mountain Scarba Storm King Mountain
Sugarloaf Mountain, Scarba and Storm King Mountain are located in the neighbourhood of greater number of still waterss and watercourses than Paulet Island
Sugarloaf Mountain Scarba Storm King Mountain
action greater
action union
action find_tuple_counts
relation located next to body of water
type terrain
type still waters
action find_tuple_counts
relation located next to body of water
type terrain
type watercourse
action count
action filter_multi_types
action find
entity Paulet Island
relation located next to body of water
type still waters
type watercourse
[{'concept': 'terrain'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { { ?m property:located_next_to_body_of_water ?y . ?y rdf:type ontology:still_waters . ?m rdf:type ontology:terrain } UNION { ?m rdf:type ontology:terrain . ?y rdf:type ontology:watercourse . ?m property:located_next_to_body_of_water ?y } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { { ?f rdf:type ontology:still_waters } UNION { ?f rdf:type ontology:watercourse } } . resource:Paulet_Island property:located_next_to_body_of_water ?f } } . FILTER ( ?x > ?w ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P180
Q3305213
USER
How many paintings demonstrate that terrain ?
(c(Q3305213),P180,Q7620138)
[{'concept': 'Q3305213'}, 'P180', 'Q7620138']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P180 resource:Q7620138 . ?z rdf:type ontology:Q19925980 }
[{'concept': 'painting'}, 'depicts', 'Storm King Mountain']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:depicts resource:Storm_King_Mountain . ?z rdf:type ontology:painting }
[]
painting
Quantitative|Count|Single entity type|Clarification
Q20858395
SYSTEM
Did you mean Sugarloaf Mountain ?
(c(Q3305213),P180,Q20858395) (c(Q3305213),P180,Q746262) (c(Q3305213),P180,Q7620138)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q20858395'] [{'concept': 'Q3305213'}, 'P180', 'Q746262'] [{'concept': 'Q3305213'}, 'P180', 'Q7620138']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P180 resource:Q7620138 . ?z rdf:type ontology:Q19925980 }
Did you mean Sugarloaf Mountain ?
Sugarloaf Mountain
[{'concept': 'painting'}, 'depicts', 'Sugarloaf Mountain'] [{'concept': 'painting'}, 'depicts', 'Scarba'] [{'concept': 'painting'}, 'depicts', 'Storm King Mountain']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:depicts resource:Storm_King_Mountain . ?z rdf:type ontology:painting }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Storm King Mountain. Could you tell me the answer for that?
(c(Q3305213),P180,Q7620138)
Q7620138
[{'concept': 'Q3305213'}, 'P180', 'Q7620138']
[{'concept': 'painting'}, 'depicts', 'Storm King Mountain']
[]
SYSTEM
1
Q20667106
(c(Q3305213),P180,Q7620138)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q7620138']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P180 resource:Q7620138 . ?z rdf:type ontology:Q19925980 }
Storm King on the Hudson. 30 x 50 inches, watercolor on paper
1
[{'concept': 'painting'}, 'depicts', 'Storm King Mountain']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:depicts resource:Storm_King_Mountain . ?z rdf:type ontology:painting }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q15324 Q14524493
USER
Which bodies of water are min number of terrains located on ?
(c(Q14524493),P706,Q392623)
action argmin
action find_reverse_tuple_counts
relation P706
type Q15324
type Q14524493
[{'concept': 'Q14524493'}, 'P706', 'Q392623']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?j ) { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P706 ?d . ?d rdf:type ontology:Q15324 . ?u rdf:type ontology:Q14524493 } GROUP BY ?d } } . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:P706 ?w . ?m rdf:type ontology:Q14524493 . ?w rdf:type ontology:Q15324 } GROUP BY ?w } . FILTER ( ?i = ?j ) }
action argmin
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type terrain
[{'concept': 'terrain'}, 'located on terrain feature', 'Samar Sea']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?j ) { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:located_on_terrain_feature ?d . ?d rdf:type ontology:body_of_water . ?u rdf:type ontology:terrain } GROUP BY ?d } } . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:located_on_terrain_feature ?w . ?m rdf:type ontology:terrain . ?w rdf:type ontology:body_of_water } GROUP BY ?w } . FILTER ( ?i = ?j ) }
[]
body of water terrain
Q213367 Q37660 Q131217
SYSTEM
Gdańsk Bay, South China Sea, Gulf of Thailand
Q27092 Q41430 Q1359524 Q12630 Q1004067 Q204703 Q947086 Q114575 Q141376 Q271043 Q211779 Q33254 Q810532 Q13924 Q805470 Q5003930 Q948291 Q2879789 Q3377211 Q717765 Q321837 Q481734 Q4176307 Q19876312 Q1631174 Q131217 Q47632 Q531060 Q1779743 Q867460 Q702691 Q164466 Q45341 Q159183 Q183455 Q140290 Q2344806 Q217501 Q20680338 Q5413918 Q21906844 Q3740577 Q178914 Q13234218 Q1247 Q254164 Q281813 Q2203907 Q7988 Q648954 Q938327 Q223810 Q11416963 Q1185210 Q35367 Q2292350 Q186733 Q41573 Q76925 Q540179 Q1144680 Q1693 Q173343 Q271198 Q21885510 Q700309 Q317006 Q594834 Q3059070 Q2621502 Q474708 Q494927 Q37495 Q3306188 Q231312 Q14686 Q379063 Q21973072 Q2879577 Q1127599 Q7355798 Q695074 Q1267413 Q21922838 Q312433 Q4161995 Q7963133 Q4812258 Q767824 Q202083 Q7838780 Q22351839 Q242326 Q1649939 Q207468 Q132868 Q1680511 Q647879 Q34675 Q201385 Q11613279 Q326170 Q1419628 Q81499 Q545 Q42820 Q141017 Q803717 Q213517 Q1064776 Q193149 Q132811 Q41735 Q213367 Q37660 Q1679819 Q1165951 Q650654 Q1368308 Q82931 Q20922822 Q2879639 Q392623
(c(Q14524493),P706,Q392623)
action argmin
action find_reverse_tuple_counts
relation P706
type Q15324
type Q14524493
[ANSWERS] are min number of terrains located on
[{'concept': 'Q14524493'}, 'P706', 'Q392623']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?j ) { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P706 ?d . ?d rdf:type ontology:Q15324 . ?u rdf:type ontology:Q14524493 } GROUP BY ?d } } . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:P706 ?w . ?m rdf:type ontology:Q14524493 . ?w rdf:type ontology:Q15324 } GROUP BY ?w } . FILTER ( ?i = ?j ) }
Sea of Japan Gulf of Guinea Bay of Bangkok Gulf of Mexico Frobisher Bay Scotia Sea Green Bay Hiroshima Bay Bouquet Bay Sea of Åland Saronic Gulf Tasman Sea Arcachon Bay Adriatic Sea Balmer See Byam Martin Channel Chesterfield Inlet Le Pouliguen Bay Little Roussel Phang Nga Bay German Bight Amur Bay Saltsjön Norfolk Bay Isefjord Gulf of Thailand Andaman Sea Bay of Wismar Abu Qir Bay Long Island Sound Heligoland Bight Ross Sea East China Sea Philippine Sea Bellingshausen Sea Bay of Plenty Hakata Bay Pechora Sea Yobukonoseto Kempeleenlahti The Narrows Admiralty Inlet Martinique Passage Bothnian Bay Caribbean Sea Ōmura Bay Holme Bay Rügischer Bodden Laptev Sea Spencer Gulf Cumberland Sound James Bay Sudo nada Pagasetic Gulf Sea of Marmara Bantry Bay Great Australian Bight Bay of Biscay Venetian Lagoon Camotes Sea Gulf of Morbihan North Sea Weddell Sea Årstaviken Shark Bay Bay of Lübeck Bay of Mecklenburg Sibuyan Sea Loire estuary Nakhodka Bay Visayan Sea Peter the Great Gulf Ionian Sea Amakusa Sea Seto Inland Sea Gulf of Finland Thracian Sea Tipplers Passage Ago Bay Galway Bay Rocky Harbour Bay of Mali Ston Georgian Bay Ansons Bay Schlei Maxwell Bay Wallis Lake Asō Bay Hauraki Gulf Firth of Forth Tresilian Bay Burnt Point Bay Bohol Sea Bothnian Sea Bay of Kotor Greenland Sea Kleiner Jasmunder Bodden Bay of Greifswald Persian Gulf Gulf of Naples Usuki Bay Bay of Pomerania Firth of Thames Celtic Sea Baltic Sea Ligurian Sea Tokyo Bay Mont Saint-Michel Bay Gironde estuary Upper New York Bay Sea of Crete Gulf of California Irish Sea Gdańsk Bay South China Sea Jamaica Bay Ungava Bay Archipelago Sea Ise Bay Coral Sea Għadira Bay Baie de Douarnenez Samar Sea
Gdańsk Bay, South China Sea and Gulf of Thailand are min number of terrains located on
Gdańsk Bay South China Sea Gulf of Thailand
action argmin
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type terrain
[{'concept': 'terrain'}, 'located on terrain feature', 'Samar Sea']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?j ) { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:located_on_terrain_feature ?d . ?d rdf:type ontology:body_of_water . ?u rdf:type ontology:terrain } GROUP BY ?d } } . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:located_on_terrain_feature ?w . ?m rdf:type ontology:terrain . ?w rdf:type ontology:body_of_water } GROUP BY ?w } . FILTER ( ?i = ?j ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q14524493 Q15324
USER
How many bodies of water are a portion of greater number of terrains than that body of water ?
(c(Q15324),P361,c(Q14524493))
[{'concept': 'Q15324'}, 'P361', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q15324 . ?y rdf:type ontology:Q14524493 }
[{'concept': 'body of water'}, 'part of', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:body_of_water . ?y rdf:type ontology:terrain }
[]
terrain body of water
Comparative|Count over More/Less|Single entity type|Clarification
Q213367
SYSTEM
Did you mean Gdańsk Bay ?
(c(Q15324),P361,c(Q14524493))
[ANSWER]
[{'concept': 'Q15324'}, 'P361', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q15324 . ?y rdf:type ontology:Q14524493 }
Did you mean Gdańsk Bay ?
Gdańsk Bay
[{'concept': 'body of water'}, 'part of', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:body_of_water . ?y rdf:type ontology:terrain }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Gulf of Thailand. Could you tell me the answer for that?
(c(Q15324),P361,c(Q14524493))
Q131217
[{'concept': 'Q15324'}, 'P361', {'concept': 'Q14524493'}]
[{'concept': 'body of water'}, 'part of', {'concept': 'terrain'}]
[]
SYSTEM
1
Q5155246
(c(Q15324),P361,c(Q14524493))
[ANSWER]
[{'concept': 'Q15324'}, 'P361', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q15324 . ?y rdf:type ontology:Q14524493 }
Comox Glacier
1
[{'concept': 'body of water'}, 'part of', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:body_of_water . ?y rdf:type ontology:terrain }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q107425 Q15324
USER
Which landscapes are min number of bodies of water located on ?
(c(Q15324),P706,Q304679)
action argmin
action find_reverse_tuple_counts
relation P706
type Q107425
type Q15324
[{'concept': 'Q15324'}, 'P706', 'Q304679']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P706 ?q . ?q rdf:type ontology:Q107425 . ?t rdf:type ontology:Q15324 } GROUP BY ?q } } . { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P706 ?h . ?h rdf:type ontology:Q107425 . ?g rdf:type ontology:Q15324 } GROUP BY ?h } . FILTER ( ?r = ?y ) }
action argmin
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', 'Palmer Archipelago']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:located_on_terrain_feature ?q . ?q rdf:type ontology:landscape . ?t rdf:type ontology:body_of_water } GROUP BY ?q } } . { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:located_on_terrain_feature ?h . ?h rdf:type ontology:landscape . ?g rdf:type ontology:body_of_water } GROUP BY ?h } . FILTER ( ?r = ?y ) }
[]
landscape body of water
Q140298 Q46772 Q38095
SYSTEM
Windward Islands, Kerguelen Islands, Galápagos Islands
Q537749 Q5238909 Q3593572 Q201698 Q184355 Q218907 Q205711 Q171132 Q3628422 Q6549341 Q1133595 Q122641 Q46623 Q7361436 Q26399 Q1371403 Q83788 Q3437341 Q181528 Q3182351 Q15622837 Q8534941 Q5053601 Q3298193 Q47141 Q846021 Q189429 Q1670250 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q202207 Q855658 Q11767 Q775944 Q46772 Q119206 Q472207 Q202816 Q10688475 Q5312305 Q38272 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q634740 Q829084 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q118350 Q797807 Q292647 Q23011164 Q653732 Q172702 Q753719 Q272521 Q1348763 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q15324),P706,Q304679)
action argmin
action find_reverse_tuple_counts
relation P706
type Q107425
type Q15324
[ANSWERS]
[{'concept': 'Q15324'}, 'P706', 'Q304679']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P706 ?q . ?q rdf:type ontology:Q107425 . ?t rdf:type ontology:Q15324 } GROUP BY ?q } } . { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P706 ?h . ?h rdf:type ontology:Q107425 . ?g rdf:type ontology:Q15324 } GROUP BY ?h } . FILTER ( ?r = ?y ) }
Florida Keys Svenska Högarna Apostle Islands Crozet Islands Mojave Desert Sharon Plain Solovetsky Islands Cyclades Madeira Islands Limestone Massif Meridiani Planum Lechquellen Mountains Prince Edward Islands Rolwaling Himal Hoggar Mountains Similan Islands Cordillera Central Roc de Chère National Nature Reserve Libyan Desert Plain of the Cul-de-Sac Guaniguanico Cerro de la Neblina Cato Reef Borg Massif Atacama Desert Southern Coral Group Sonoran Desert Jenolan Caves Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Po Valley Chihuahuan Desert Mesopotamia Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Söderarm archipelago Dufek Massif British Isles St Anthony Head Visayas Great Plains Thar Desert Kawdy Plateau Ford Massif Huvudskär Seychelles Inner Islands Argentine Islands Comoros Islands Vegaøyan Lower Rhine Plain Alphonse Group Louisiade Archipelago Phraya Nakhon Cave Red Centre Melchior Islands Mascarene Islands Gran Paradiso massif South Orkney Islands Île d'Orléans Morvan Hawaiian Islands Laurentian Mountains Galápagos Islands Isles of Scilly Inner Hebrides Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Karakum Desert Fjäderholmarna Ténéré Magdalen Islands Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
Windward Islands Kerguelen Islands Galápagos Islands
action argmin
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', 'Palmer Archipelago']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:located_on_terrain_feature ?q . ?q rdf:type ontology:landscape . ?t rdf:type ontology:body_of_water } GROUP BY ?q } } . { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:located_on_terrain_feature ?h . ?h rdf:type ontology:landscape . ?g rdf:type ontology:body_of_water } GROUP BY ?h } . FILTER ( ?r = ?y ) }
[]