Simple Question (Direct)
Simple Question
Q4530040
P136
Q151885
USER
Which genre does Vadim Eilenkrig belong to ?
(Q4530040,P136,c(Q151885))
action filter_type
action find
entity Q4530040
relation P136
type Q151885
['Q4530040', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q4530040 property:P136 ?d . ?d rdf:type ontology:Q151885 }
Vadim Eilenkrig
action filter_type
action find
entity Vadim Eilenkrig
relation genre
type concept
['Vadim Eilenkrig', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Vadim_Eilenkrig property:genre ?d . ?d rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q4530040,P136,c(Q151885))
action filter_type
action find
entity Q4530040
relation P136
type Q151885
Vadim Eilenkrig belongs to [ANSWER]
['Q4530040', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q4530040 property:P136 ?d . ?d rdf:type ontology:Q151885 }
jazz
Vadim Eilenkrig belongs to jazz
jazz
action filter_type
action find
entity Vadim Eilenkrig
relation genre
type concept
['Vadim Eilenkrig', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Vadim_Eilenkrig property:genre ?d . ?d rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4530040
P1303
Q34379
USER
Which musical instrument is played by Vadim Eilenkrig ?
(Q4530040,P1303,c(Q34379))
action filter_type
action find
entity Q4530040
relation P1303
type Q34379
['Q4530040', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { resource:Q4530040 property:P1303 ?b . ?b rdf:type ontology:Q34379 }
Vadim Eilenkrig
action filter_type
action find
entity Vadim Eilenkrig
relation instrument
type musical instrument
['Vadim Eilenkrig', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { resource:Vadim_Eilenkrig property:instrument ?b . ?b rdf:type ontology:musical_instrument }
[]
musical instrument
Q8338
SYSTEM
trumpet
Q8338
(Q4530040,P1303,c(Q34379))
action filter_type
action find
entity Q4530040
relation P1303
type Q34379
S [ANSWER] is played by Vadim Eilenkrig
['Q4530040', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { resource:Q4530040 property:P1303 ?b . ?b rdf:type ontology:Q34379 }
trumpet
S trumpet is played by Vadim Eilenkrig
trumpet
action filter_type
action find
entity Vadim Eilenkrig
relation instrument
type musical instrument
['Vadim Eilenkrig', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { resource:Vadim_Eilenkrig property:instrument ?b . ?b rdf:type ontology:musical_instrument }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6218623
Q34379
USER
And also tell me about Åke Uddén?
(Q6218623,P1303,c(Q34379))
action filter_type
action find
entity Q6218623
relation P1303
type Q34379
['Q6218623', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { resource:Q6218623 property:P1303 ?t . ?t rdf:type ontology:Q34379 }
Åke Uddén
action filter_type
action find
entity Åke Uddén
relation instrument
type musical instrument
['Åke Uddén', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { resource:Åke_Uddén property:instrument ?t . ?t rdf:type ontology:musical_instrument }
[]
musical instrument
Q80284
SYSTEM
viola
Q80284
(Q6218623,P1303,c(Q34379))
action filter_type
action find
entity Q6218623
relation P1303
type Q34379
[ANSWER]
['Q6218623', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { resource:Q6218623 property:P1303 ?t . ?t rdf:type ontology:Q34379 }
viola
viola
action filter_type
action find
entity Åke Uddén
relation instrument
type musical instrument
['Åke Uddén', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { resource:Åke_Uddén property:instrument ?t . ?t rdf:type ontology:musical_instrument }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q80284 Q17496617
P1303
Q502895
USER
Does Jean Charles-Roux can play that musical instrument ?
(Q17496617,P1303,Q80284)
action is_in
entity Q17496617
action find
entity Q80284
relation P1303
['Q17496617', 'P1303', 'Q80284']
ASK WHERE { resource:Q80284 property:P1303 resource:Q17496617 }
viola Jean Charles-Roux
action is_in
entity Jean Charles-Roux
action find
entity viola
relation instrument
['Jean Charles-Roux', 'instrument', 'viola']
ASK WHERE { resource:viola property:instrument resource:Jean_Charles-Roux }
[]
common name
SYSTEM
NO
(Q17496617,P1303,Q80284)
action is_in
entity Q17496617
action find
entity Q80284
relation P1303
[ANSWER]
['Q17496617', 'P1303', 'Q80284']
ASK WHERE { resource:Q80284 property:P1303 resource:Q17496617 }
No
action is_in
entity Jean Charles-Roux
action find
entity viola
relation instrument
['Jean Charles-Roux', 'instrument', 'viola']
ASK WHERE { resource:viola property:instrument resource:Jean_Charles-Roux }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q82794 Q151885
USER
Which geographic regions are min number of concepts located on ?
(c(Q151885),P706,Q2866905)
action argmin
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q2866905']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?y ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P706 ?d . ?d rdf:type ontology:Q82794 . ?x rdf:type ontology:Q151885 } GROUP BY ?d } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P706 ?t . ?t rdf:type ontology:Q82794 . ?b rdf:type ontology:Q151885 } GROUP BY ?t } . FILTER ( ?l = ?y ) }
action argmin
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Aspé Valley']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?y ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:located_on_terrain_feature ?d . ?d rdf:type ontology:geographic_region . ?x rdf:type ontology:concept } GROUP BY ?d } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_region . ?b rdf:type ontology:concept } GROUP BY ?t } . FILTER ( ?l = ?y ) }
[]
geographic region concept
Q2887520 Q20925112 Q20906226
SYSTEM
Vistula basin, Bug Basin, Narew Basin
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q375953 Q22951373 Q3039434 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q721298 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q178925 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q39061 Q12880609 Q2148017 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q170526 Q1935344 Q1471257 Q22680049 Q2282388 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q151885),P706,Q2866905)
action argmin
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
Min number of concepts are located in [ANSWERS]
[{'concept': 'Q151885'}, 'P706', 'Q2866905']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?y ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P706 ?d . ?d rdf:type ontology:Q82794 . ?x rdf:type ontology:Q151885 } GROUP BY ?d } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P706 ?t . ?t rdf:type ontology:Q82794 . ?b rdf:type ontology:Q151885 } GROUP BY ?t } . FILTER ( ?l = ?y ) }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Asbacher Hochfläche Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Gran Canaria Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Northern Hemisphere Makedonika Tembi Rheinwesterwälder Vulkanrücken Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Narew Basin Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Fertile Crescent Tarfala Valley Franconian Keuper-Lias Plains Pregolya Basin Siebenmühlental Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
Min number of concepts are located in Vistula basin, Bug Basin and Narew Basin
Vistula basin Bug Basin Narew Basin
action argmin
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Aspé Valley']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?y ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:located_on_terrain_feature ?d . ?d rdf:type ontology:geographic_region . ?x rdf:type ontology:concept } GROUP BY ?d } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_region . ?b rdf:type ontology:concept } GROUP BY ?t } . FILTER ( ?l = ?y ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20925112
P361
Q82794
USER
What is that one a portion of ?
(Q20925112,P361,c(Q82794))
action filter_type
action find
entity Q20925112
relation P361
type Q82794
['Q20925112', 'P361', {'concept': 'Q82794'}]
SELECT DISTINCT ?g WHERE { resource:Q20925112 property:P361 ?g . ?g rdf:type ontology:Q82794 }
Bug Basin
action filter_type
action find
entity Bug Basin
relation part of
type geographic region
['Bug Basin', 'part of', {'concept': 'geographic region'}]
SELECT DISTINCT ?g WHERE { resource:Bug_Basin property:part_of ?g . ?g rdf:type ontology:geographic_region }
[]
geographic region
Clarification for simple ques.
Q20906226
SYSTEM
Did you mean Narew Basin ?
Q2887520 Q20925112 Q20906226
(Q2887520,P361,c(Q82794)) (Q20925112,P361,c(Q82794)) (Q20906226,P361,c(Q82794))
[ANSWER]
['Q2887520', 'P361', {'concept': 'Q82794'}] ['Q20925112', 'P361', {'concept': 'Q82794'}] ['Q20906226', 'P361', {'concept': 'Q82794'}]
SELECT DISTINCT ?g WHERE { resource:Q20925112 property:P361 ?g . ?g rdf:type ontology:Q82794 }
Vistula basin Bug Basin Narew Basin
Did you mean Narew Basin ?
Narew Basin
['Vistula basin', 'part of', {'concept': 'geographic region'}] ['Bug Basin', 'part of', {'concept': 'geographic region'}] ['Narew Basin', 'part of', {'concept': 'geographic region'}]
SELECT DISTINCT ?g WHERE { resource:Bug_Basin property:part_of ?g . ?g rdf:type ontology:geographic_region }
[]
Simple Question (Coreferenced)
USER
No, I meant Bug Basin. Could you tell me the answer for that?
(Q20925112,P361,c(Q82794))
Q20925112
['Q20925112', 'P361', {'concept': 'Q82794'}]
['Bug Basin', 'part of', {'concept': 'geographic region'}]
[]
Q20906226
SYSTEM
Narew Basin
Q20906226
(Q20925112,P361,c(Q82794))
action filter_type
action find
entity Q20925112
relation P361
type Q82794
That one a portion of is in [ANSWER]
['Q20925112', 'P361', {'concept': 'Q82794'}]
SELECT DISTINCT ?g WHERE { resource:Q20925112 property:P361 ?g . ?g rdf:type ontology:Q82794 }
Narew Basin
That one a portion of is in Narew Basin
Narew Basin
action filter_type
action find
entity Bug Basin
relation part of
type geographic region
['Bug Basin', 'part of', {'concept': 'geographic region'}]
SELECT DISTINCT ?g WHERE { resource:Bug_Basin property:part_of ?g . ?g rdf:type ontology:geographic_region }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q20906226 Q2887520
P361
Q82794
USER
Is that one a part of Vistula basin ?
(Q20906226,P361,Q2887520)
action is_in
entity Q2887520
action find
entity Q20906226
relation P361
['Q20906226', 'P361', 'Q2887520']
ASK WHERE { resource:Q20906226 property:P361 resource:Q2887520 }
Narew Basin Vistula basin
action is_in
entity Vistula basin
action find
entity Narew Basin
relation part of
['Narew Basin', 'part of', 'Vistula basin']
ASK WHERE { resource:Narew_Basin property:part_of resource:Vistula_basin }
[]
geographic region
SYSTEM
YES
(Q20906226,P361,Q2887520)
action is_in
entity Q2887520
action find
entity Q20906226
relation P361
[ANSWER]
['Q20906226', 'P361', 'Q2887520']
ASK WHERE { resource:Q20906226 property:P361 resource:Q2887520 }
Yes
action is_in
entity Vistula basin
action find
entity Narew Basin
relation part of
['Narew Basin', 'part of', 'Vistula basin']
ASK WHERE { resource:Narew_Basin property:part_of resource:Vistula_basin }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20906226
P974
Q355304
USER
Which rivers or lakes flow into Narew Basin ?
(Q20906226,P974,c(Q355304))
action filter_type
action find
entity Q20906226
relation P974
type Q355304
['Q20906226', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { resource:Q20906226 property:P974 ?g . ?g rdf:type ontology:Q355304 }
Narew Basin
action filter_type
action find
entity Narew Basin
relation tributary
type watercourse
['Narew Basin', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { resource:Narew_Basin property:tributary ?g . ?g rdf:type ontology:watercourse }
[]
watercourse
Q156237 Q857160 Q1722452
SYSTEM
Western Bug, Biebrza, Narewka
Q857160 Q646358 Q771440 Q1644971 Q7386586 Q1333952 Q1722452 Q156237 Q941710 Q1630608
(Q20906226,P974,c(Q355304))
action filter_type
action find
entity Q20906226
relation P974
type Q355304
[ANSWERS] flow into Narew Basin
['Q20906226', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { resource:Q20906226 property:P974 ?g . ?g rdf:type ontology:Q355304 }
Biebrza Rządza Wkra Supraśl Róż Orzyc Narewka Western Bug Pisa Orlanka
Western Bug, Biebrza and Narewka flow into Narew Basin
Western Bug Biebrza Narewka
action filter_type
action find
entity Narew Basin
relation tributary
type watercourse
['Narew Basin', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { resource:Narew_Basin property:tributary ?g . ?g rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2544353
Q355304
USER
And what about River Wyre?
(Q2544353,P974,c(Q355304))
action filter_type
action find
entity Q2544353
relation P974
type Q355304
['Q2544353', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { resource:Q2544353 property:P974 ?d . ?d rdf:type ontology:Q355304 }
River Wyre
action filter_type
action find
entity River Wyre
relation tributary
type watercourse
['River Wyre', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { resource:River_Wyre property:tributary ?d . ?d rdf:type ontology:watercourse }
[]
watercourse
Q371301 Q1508854
SYSTEM
River Calder, Wyre, River Brock
Q371301 Q1508854
(Q2544353,P974,c(Q355304))
action filter_type
action find
entity Q2544353
relation P974
type Q355304
[ANSWERS]
['Q2544353', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { resource:Q2544353 property:P974 ?d . ?d rdf:type ontology:Q355304 }
River Calder, Wyre River Brock
River Calder, Wyre River Brock
action filter_type
action find
entity River Wyre
relation tributary
type watercourse
['River Wyre', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { resource:River_Wyre property:tributary ?d . ?d rdf:type ontology:watercourse }
[]