Simple Question (Direct)
Simple Question
Q1909486
P166
Q618779
USER
What was awarded to Matthew Croucher ?
(Q1909486,P166,c(Q618779))
action filter_type
action find
entity Q1909486
relation P166
type Q618779
['Q1909486', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q1909486 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Matthew Croucher
action filter_type
action find
entity Matthew Croucher
relation award received
type award
['Matthew Croucher', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Matthew_Croucher property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q1143510
SYSTEM
George Cross
Q1143510
(Q1909486,P166,c(Q618779))
action filter_type
action find
entity Q1909486
relation P166
type Q618779
Sir [ANSWER] was awarded to Matthew Croucher
['Q1909486', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q1909486 property:P166 ?z . ?z rdf:type ontology:Q618779 }
George Cross
Sir George Cross was awarded to Matthew Croucher
George Cross
action filter_type
action find
entity Matthew Croucher
relation award received
type award
['Matthew Croucher', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Matthew_Croucher property:award_received ?z . ?z rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1909486
P106
Q151885
USER
Which concept has Matthew Croucher as his/her 's career ?
(Q1909486,P106,c(Q151885))
action filter_type
action find
entity Q1909486
relation P106
type Q151885
['Q1909486', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q1909486 property:P106 ?c . ?c rdf:type ontology:Q151885 }
Matthew Croucher
action filter_type
action find
entity Matthew Croucher
relation occupation
type concept
['Matthew Croucher', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Matthew_Croucher property:occupation ?c . ?c rdf:type ontology:concept }
[]
concept
Q18814623
SYSTEM
autobiographer
Q18814623
(Q1909486,P106,c(Q151885))
action filter_type
action find
entity Q1909486
relation P106
type Q151885
The [ANSWER] has Matthew Croucher as his/her 's career
['Q1909486', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q1909486 property:P106 ?c . ?c rdf:type ontology:Q151885 }
autobiographer
The autobiographer has Matthew Croucher as his/her 's career
autobiographer
action filter_type
action find
entity Matthew Croucher
relation occupation
type concept
['Matthew Croucher', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Matthew_Croucher property:occupation ?c . ?c rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1909486
P607
Q350604
USER
What was the armed conflict that Matthew Croucher took part in
(Q1909486,P607,c(Q350604))
action filter_type
action find
entity Q1909486
relation P607
type Q350604
['Q1909486', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?t WHERE { resource:Q1909486 property:P607 ?t . ?t rdf:type ontology:Q350604 }
Matthew Croucher
action filter_type
action find
entity Matthew Croucher
relation conflict
type armed conflict
['Matthew Croucher', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?t WHERE { resource:Matthew_Croucher property:conflict ?t . ?t rdf:type ontology:armed_conflict }
[]
armed conflict
Q182865
SYSTEM
War in Afghanistan
Q182865
(Q1909486,P607,c(Q350604))
action filter_type
action find
entity Q1909486
relation P607
type Q350604
The armed conflict that Matthew Croucher took part in was the [ANSWER]
['Q1909486', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?t WHERE { resource:Q1909486 property:P607 ?t . ?t rdf:type ontology:Q350604 }
War in Afghanistan
The armed conflict that Matthew Croucher took part in was the War in Afghanistan
War in Afghanistan
action filter_type
action find
entity Matthew Croucher
relation conflict
type armed conflict
['Matthew Croucher', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?t WHERE { resource:Matthew_Croucher property:conflict ?t . ?t rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18814623
P101
Q1792379
USER
What is the field of work of autobiographer ?
(Q18814623,P101,c(Q1792379))
action filter_type
action find
entity Q18814623
relation P101
type Q1792379
['Q18814623', 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q18814623 property:P101 ?c . ?c rdf:type ontology:Q1792379 }
autobiographer
action filter_type
action find
entity autobiographer
relation field of work
type art genre
['autobiographer', 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:autobiographer property:field_of_work ?c . ?c rdf:type ontology:art_genre }
[]
art genre
Q4184
SYSTEM
autobiography
Q4184
(Q18814623,P101,c(Q1792379))
action filter_type
action find
entity Q18814623
relation P101
type Q1792379
The field of work of autobiographer is the [ANSWER]
['Q18814623', 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q18814623 property:P101 ?c . ?c rdf:type ontology:Q1792379 }
autobiography
The field of work of autobiographer is the autobiography
autobiography
action filter_type
action find
entity autobiographer
relation field of work
type art genre
['autobiographer', 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:autobiographer property:field_of_work ?c . ?c rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1143510
P138
Q502895
USER
Which person is the origin of George Cross ?
(Q1143510,P138,c(Q502895))
action filter_type
action find
entity Q1143510
relation P138
type Q502895
['Q1143510', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1143510 property:P138 ?c . ?c rdf:type ontology:Q502895 }
George Cross
action filter_type
action find
entity George Cross
relation named after
type common name
['George Cross', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:George_Cross property:named_after ?c . ?c rdf:type ontology:common_name }
[]
common name
Q280856
SYSTEM
George VI
Q280856
(Q1143510,P138,c(Q502895))
action filter_type
action find
entity Q1143510
relation P138
type Q502895
[ANSWER] is the origin of George Cross
['Q1143510', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1143510 property:P138 ?c . ?c rdf:type ontology:Q502895 }
George VI
George VI is the origin of George Cross
George VI
action filter_type
action find
entity George Cross
relation named after
type common name
['George Cross', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:George_Cross property:named_after ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11288203
Q502895
USER
And how about USS Will Rogers?
(Q11288203,P138,c(Q502895))
action filter_type
action find
entity Q11288203
relation P138
type Q502895
['Q11288203', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q11288203 property:P138 ?e . ?e rdf:type ontology:Q502895 }
USS Will Rogers
action filter_type
action find
entity USS Will Rogers
relation named after
type common name
['USS Will Rogers', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:USS_Will_Rogers property:named_after ?e . ?e rdf:type ontology:common_name }
[]
common name
Q457840
SYSTEM
Will Rogers
Q457840
(Q11288203,P138,c(Q502895))
action filter_type
action find
entity Q11288203
relation P138
type Q502895
[ANSWER]
['Q11288203', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q11288203 property:P138 ?e . ?e rdf:type ontology:Q502895 }
Will Rogers
Will Rogers
action filter_type
action find
entity USS Will Rogers
relation named after
type common name
['USS Will Rogers', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:USS_Will_Rogers property:named_after ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art stars that person as actor ?
(c(Q838948),P161,Q457840)
action count
action filter_type
action find_reverse
entity Q457840
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q457840']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P161 resource:Q457840 . ?c rdf:type ontology:Q838948 }
action count
action filter_type
action find_reverse
entity Will Rogers
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Will Rogers']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:cast_member resource:Will_Rogers . ?c rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
27
Q3238473 Q19880588 Q21527884 Q3986421 Q3023608 Q6301938 Q21527617 Q2756483 Q4656074 Q19363725 Q20650067 Q2121348 Q23767798 Q12125709 Q21527700 Q1858871 Q21527594 Q20649837 Q3647570 Q1618931 Q7549541 Q4741056 Q3520080 Q7808776 Q3523964 Q3765965 Q21528173
(c(Q838948),P161,Q457840)
action count
action filter_type
action find_reverse
entity Q457840
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q457840']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P161 resource:Q457840 . ?c rdf:type ontology:Q838948 }
Lightnin' In Old Kentucky Mr. Skitch The County Chairman The Bay Jubilo, Jr. Doubting Thomas Doctor Bull A Connecticut Yankee One Glorious Day Young as You Feel Steamboat Round the Bend A Texas Steer Life Begins at Forty Handy Andy Judge Priest David Harum Down to Earth Business and Pleasure State Fair So This Is London Ambassador Bill The Boy from Oklahoma Tip Toes They Had to See Paris Happy Days Too Busy to Work
27
action count
action filter_type
action find_reverse
entity Will Rogers
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Will Rogers']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:cast_member resource:Will_Rogers . ?c rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q457840
P161
Q201658 Q838948
USER
How many film genres or works of art have Will Rogers in their star cast ?
(c(Q201658),P161,Q457840) (c(Q838948),P161,Q457840)
action count
action union
action filter_type
action find_reverse
entity Q457840
relation P161
type Q201658
action filter_type
action find_reverse
entity Q457840
relation P161
type Q838948
[{'concept': 'Q201658'}, 'P161', 'Q457840'] [{'concept': 'Q838948'}, 'P161', 'Q457840']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u property:P161 resource:Q457840 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P161 resource:Q457840 . ?u rdf:type ontology:Q201658 } }
Will Rogers
action count
action union
action filter_type
action find_reverse
entity Will Rogers
relation cast member
type film genre
action filter_type
action find_reverse
entity Will Rogers
relation cast member
type work of art
[{'concept': 'film genre'}, 'cast member', 'Will Rogers'] [{'concept': 'work of art'}, 'cast member', 'Will Rogers']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u property:cast_member resource:Will_Rogers . ?u rdf:type ontology:work_of_art } UNION { ?u property:cast_member resource:Will_Rogers . ?u rdf:type ontology:film_genre } }
[]
film genre work of art
SYSTEM
28
Q21527700 Q3986421 Q3238473 Q1618931 Q7808776 Q3765965 Q1858871 Q19363725 Q3647570 Q23767798 Q4741056 Q3023608 Q20649837 Q3523964 Q2756483 Q6301938 Q21528173 Q19880588 Q7549541 Q21527617 Q21527884 Q2121348 Q4656074 Q20650067 Q3520080 Q12125709 Q3987481 Q21527594
(c(Q201658),P161,Q457840) (c(Q838948),P161,Q457840)
action count
action union
action filter_type
action find_reverse
entity Q457840
relation P161
type Q201658
action filter_type
action find_reverse
entity Q457840
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q201658'}, 'P161', 'Q457840'] [{'concept': 'Q838948'}, 'P161', 'Q457840']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u property:P161 resource:Q457840 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P161 resource:Q457840 . ?u rdf:type ontology:Q201658 } }
Handy Andy The County Chairman Lightnin' State Fair Tip Toes Happy Days Judge Priest One Glorious Day Business and Pleasure A Texas Steer Ambassador Bill The Bay Down to Earth They Had to See Paris Doctor Bull Jubilo, Jr. Too Busy to Work In Old Kentucky So This Is London Doubting Thomas Mr. Skitch Steamboat Round the Bend A Connecticut Yankee Young as You Feel The Boy from Oklahoma Life Begins at Forty The Headless Horseman David Harum
28
action count
action union
action filter_type
action find_reverse
entity Will Rogers
relation cast member
type film genre
action filter_type
action find_reverse
entity Will Rogers
relation cast member
type work of art
[{'concept': 'film genre'}, 'cast member', 'Will Rogers'] [{'concept': 'work of art'}, 'cast member', 'Will Rogers']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u property:cast_member resource:Will_Rogers . ?u rdf:type ontology:work_of_art } UNION { ?u property:cast_member resource:Will_Rogers . ?u rdf:type ontology:film_genre } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q106001 Q1909486
P607
Q198
USER
Which wars did Matthew Croucher or Maurice Chevalier take part in ?
OR((Q1909486,P607,c(Q198)), (Q106001,P607,c(Q198)))
action filter_type
action union
action find
entity Q1909486
relation P607
action find
entity Q106001
relation P607
type Q198
{'OR': [['Q1909486', 'P607', {'concept': 'Q198'}], ['Q106001', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1909486 property:P607 ?f } UNION { resource:Q106001 property:P607 ?f } } . ?f rdf:type ontology:Q198 }
Maurice Chevalier Matthew Croucher
action filter_type
action union
action find
entity Matthew Croucher
relation conflict
action find
entity Maurice Chevalier
relation conflict
type war
{'OR': [['Matthew Croucher', 'conflict', {'concept': 'war'}], ['Maurice Chevalier', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Matthew_Croucher property:conflict ?f } UNION { resource:Maurice_Chevalier property:conflict ?f } } . ?f rdf:type ontology:war }
[]
war
Q545449 Q361
SYSTEM
Iraq War, World War I
Q545449 Q361
OR((Q1909486,P607,c(Q198)), (Q106001,P607,c(Q198)))
action filter_type
action union
action find
entity Q1909486
relation P607
action find
entity Q106001
relation P607
type Q198
Matthew Croucher or Maurice Chevalier took in the [ANSWERS] part
{'OR': [['Q1909486', 'P607', {'concept': 'Q198'}], ['Q106001', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1909486 property:P607 ?f } UNION { resource:Q106001 property:P607 ?f } } . ?f rdf:type ontology:Q198 }
Iraq War World War I
Matthew Croucher or Maurice Chevalier took in the Iraq War and World War I part
Iraq War World War I
action filter_type
action union
action find
entity Matthew Croucher
relation conflict
action find
entity Maurice Chevalier
relation conflict
type war
{'OR': [['Matthew Croucher', 'conflict', {'concept': 'war'}], ['Maurice Chevalier', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Matthew_Croucher property:conflict ?f } UNION { resource:Maurice_Chevalier property:conflict ?f } } . ?f rdf:type ontology:war }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2358
P607
Q21506450
USER
Did those wars engage in 82nd Airborne Division ?
(Q2358,P607,Q545449) (Q2358,P607,Q361)
action is_in
entity prev_answer
action find
entity Q2358
relation P607
['Q2358', 'P607', 'Q545449'] ['Q2358', 'P607', 'Q361']
ASK WHERE { VALUES ( ?q ) { ( resource:Q545449 ) ( resource:Q361 ) } . resource:Q2358 property:P607 ?q }
82nd Airborne Division
action is_in
entity prev_answer
action find
entity 82nd Airborne Division
relation conflict
['82nd Airborne Division', 'conflict', 'Iraq War'] ['82nd Airborne Division', 'conflict', 'World War I']
ASK WHERE { VALUES ( ?q ) { ( resource:Iraq_War ) ( resource:World_War_I ) } . resource:82nd_Airborne_Division property:conflict ?q }
[]
military unit size class
SYSTEM
YES
(Q2358,P607,Q545449) (Q2358,P607,Q361)
action is_in
entity prev_answer
action find
entity Q2358
relation P607
[ANSWER]
['Q2358', 'P607', 'Q545449'] ['Q2358', 'P607', 'Q361']
ASK WHERE { VALUES ( ?q ) { ( resource:Q545449 ) ( resource:Q361 ) } . resource:Q2358 property:P607 ?q }
Yes
action is_in
entity prev_answer
action find
entity 82nd Airborne Division
relation conflict
['82nd Airborne Division', 'conflict', 'Iraq War'] ['82nd Airborne Division', 'conflict', 'World War I']
ASK WHERE { VALUES ( ?q ) { ( resource:Iraq_War ) ( resource:World_War_I ) } . resource:82nd_Airborne_Division property:conflict ?q }
[]