Simple Question (Direct)
Simple Question
Q7722571
P58
Q502895
USER
Who wrote the script for The Chinese Puzzle ?
(Q7722571,P58,c(Q502895))
action filter_type
action find
entity Q7722571
relation P58
type Q502895
['Q7722571', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7722571 property:P58 ?p . ?p rdf:type ontology:Q502895 }
The Chinese Puzzle
action filter_type
action find
entity The Chinese Puzzle
relation screenwriter
type common name
['The Chinese Puzzle', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Chinese_Puzzle property:screenwriter ?p . ?p rdf:type ontology:common_name }
[]
common name
Q14692546
SYSTEM
Leon M. Lion
Q14692546
(Q7722571,P58,c(Q502895))
action filter_type
action find
entity Q7722571
relation P58
type Q502895
The [ANSWER] wrote the script for The Chinese Puzzle
['Q7722571', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7722571 property:P58 ?p . ?p rdf:type ontology:Q502895 }
Leon M. Lion
The Leon M. Lion wrote the script for The Chinese Puzzle
Leon M. Lion
action filter_type
action find
entity The Chinese Puzzle
relation screenwriter
type common name
['The Chinese Puzzle', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Chinese_Puzzle property:screenwriter ?p . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q14692546 Q7130171
P106
Q12737077
USER
Does that person do for a living Panbanisha ?
(Q14692546,P106,Q7130171)
action is_in
entity Q7130171
action find
entity Q14692546
relation P106
['Q14692546', 'P106', 'Q7130171']
ASK WHERE { resource:Q14692546 property:P106 resource:Q7130171 }
Leon M. Lion Panbanisha
action is_in
entity Panbanisha
action find
entity Leon M. Lion
relation occupation
['Leon M. Lion', 'occupation', 'Panbanisha']
ASK WHERE { resource:Leon_M._Lion property:occupation resource:Panbanisha }
[]
occupation
SYSTEM
NO
(Q14692546,P106,Q7130171)
action is_in
entity Q7130171
action find
entity Q14692546
relation P106
[ANSWER]
['Q14692546', 'P106', 'Q7130171']
ASK WHERE { resource:Q14692546 property:P106 resource:Q7130171 }
No
action is_in
entity Panbanisha
action find
entity Leon M. Lion
relation occupation
['Leon M. Lion', 'occupation', 'Panbanisha']
ASK WHERE { resource:Leon_M._Lion property:occupation resource:Panbanisha }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7722571 Q7816909
P161
Q502895
USER
Did Tom Moffatt star in The Chinese Puzzle ?
(Q7722571,P161,Q7816909)
action is_in
entity Q7816909
action find
entity Q7722571
relation P161
['Q7722571', 'P161', 'Q7816909']
ASK WHERE { resource:Q7722571 property:P161 resource:Q7816909 }
The Chinese Puzzle Tom Moffatt
action is_in
entity Tom Moffatt
action find
entity The Chinese Puzzle
relation cast member
['The Chinese Puzzle', 'cast member', 'Tom Moffatt']
ASK WHERE { resource:The_Chinese_Puzzle property:cast_member resource:Tom_Moffatt }
[]
common name
SYSTEM
NO
(Q7722571,P161,Q7816909)
action is_in
entity Q7816909
action find
entity Q7722571
relation P161
[ANSWER]
['Q7722571', 'P161', 'Q7816909']
ASK WHERE { resource:Q7722571 property:P161 resource:Q7816909 }
No
action is_in
entity Tom Moffatt
action find
entity The Chinese Puzzle
relation cast member
['The Chinese Puzzle', 'cast member', 'Tom Moffatt']
ASK WHERE { resource:The_Chinese_Puzzle property:cast_member resource:Tom_Moffatt }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3236049 Q7722571
P161
Q502895
USER
Which people are in The Chinese Puzzle or The Green Pastures ?
OR((Q7722571,P161,c(Q502895)), (Q3236049,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7722571
relation P161
action find
entity Q3236049
relation P161
type Q502895
{'OR': [['Q7722571', 'P161', {'concept': 'Q502895'}], ['Q3236049', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7722571 property:P161 ?o } UNION { resource:Q3236049 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
The Green Pastures The Chinese Puzzle
action filter_type
action union
action find
entity The Chinese Puzzle
relation cast member
action find
entity The Green Pastures
relation cast member
type common name
{'OR': [['The Chinese Puzzle', 'cast member', {'concept': 'common name'}], ['The Green Pastures', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:The_Chinese_Puzzle property:cast_member ?o } UNION { resource:The_Green_Pastures property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]
common name
Q3357030 Q3057212 Q546467 Q3048174 Q3314543 Q726459 Q1751027 Q3059381 Q7659502
SYSTEM
Oscar Polk, Ernest Whitman, Lilian Braithwaite, Edna Mae Harris, Milton Rosmer, Rex Ingram, Eddie Anderson, Etta McDaniel, Sybil Arundale
Q3357030 Q3057212 Q546467 Q3048174 Q3314543 Q726459 Q1751027 Q3059381 Q7659502
OR((Q7722571,P161,c(Q502895)), (Q3236049,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7722571
relation P161
action find
entity Q3236049
relation P161
type Q502895
[ANSWERS] are in The Chinese Puzzle or The Green Pastures
{'OR': [['Q7722571', 'P161', {'concept': 'Q502895'}], ['Q3236049', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7722571 property:P161 ?o } UNION { resource:Q3236049 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
Oscar Polk Ernest Whitman Lilian Braithwaite Edna Mae Harris Milton Rosmer Rex Ingram Eddie Anderson Etta McDaniel Sybil Arundale
Oscar Polk, Ernest Whitman, Lilian Braithwaite, Edna Mae Harris, Milton Rosmer, Rex Ingram, Eddie Anderson, Etta McDaniel and Sybil Arundale are in The Chinese Puzzle or The Green Pastures
Oscar Polk Ernest Whitman Lilian Braithwaite Edna Mae Harris Milton Rosmer Rex Ingram Eddie Anderson Etta McDaniel Sybil Arundale
action filter_type
action union
action find
entity The Chinese Puzzle
relation cast member
action find
entity The Green Pastures
relation cast member
type common name
{'OR': [['The Chinese Puzzle', 'cast member', {'concept': 'common name'}], ['The Green Pastures', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:The_Chinese_Puzzle property:cast_member ?o } UNION { resource:The_Green_Pastures property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1751027
P119
Q43229
USER
Where was Eddie Anderson buried ?
(Q1751027,P119,c(Q43229))
action filter_type
action find
entity Q1751027
relation P119
type Q43229
['Q1751027', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q1751027 property:P119 ?v . ?v rdf:type ontology:Q43229 }
Eddie Anderson
action filter_type
action find
entity Eddie Anderson
relation place of burial
type organization
['Eddie Anderson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Eddie_Anderson property:place_of_burial ?v . ?v rdf:type ontology:organization }
[]
organization
Q5417177
SYSTEM
Evergreen Cemetery
Q5417177
(Q1751027,P119,c(Q43229))
action filter_type
action find
entity Q1751027
relation P119
type Q43229
Eddie Anderson was buried at [ANSWER]
['Q1751027', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q1751027 property:P119 ?v . ?v rdf:type ontology:Q43229 }
Evergreen Cemetery
Eddie Anderson was buried at Evergreen Cemetery
Evergreen Cemetery
action filter_type
action find
entity Eddie Anderson
relation place of burial
type organization
['Eddie Anderson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Eddie_Anderson property:place_of_burial ?v . ?v rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1751027
P1196
Q1931388
USER
What situation did that person die in ?
(Q5417177,P1196,c(Q1931388))
action filter_type
action find
entity Q1751027
relation P1196
type Q1931388
['Q5417177', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q1751027 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
Eddie Anderson
action filter_type
action find
entity Eddie Anderson
relation manner of death
type cause of death
['Evergreen Cemetery', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Eddie_Anderson property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q5417177,P1196,c(Q1931388))
action filter_type
action find
entity Q1751027
relation P1196
type Q1931388
That person died in [ANSWER]
['Q5417177', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q1751027 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Eddie Anderson
relation manner of death
type cause of death
['Evergreen Cemetery', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Eddie_Anderson property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3739104 Q5353049
P1196
Q502895
USER
Did Eladio Campos die as that cause of death ?
(Q5353049,P1196,Q3739104)
action is_in
entity Q5353049
action find
entity Q3739104
relation P1196
['Q5353049', 'P1196', 'Q3739104']
ASK WHERE { resource:Q3739104 property:P1196 resource:Q5353049 }
natural causes Eladio Campos
action is_in
entity Eladio Campos
action find
entity natural causes
relation manner of death
['Eladio Campos', 'manner of death', 'natural causes']
ASK WHERE { resource:natural_causes property:manner_of_death resource:Eladio_Campos }
[]
common name
SYSTEM
NO
(Q5353049,P1196,Q3739104)
action is_in
entity Q5353049
action find
entity Q3739104
relation P1196
[ANSWER]
['Q5353049', 'P1196', 'Q3739104']
ASK WHERE { resource:Q3739104 property:P1196 resource:Q5353049 }
No
action is_in
entity Eladio Campos
action find
entity natural causes
relation manner of death
['Eladio Campos', 'manner of death', 'natural causes']
ASK WHERE { resource:natural_causes property:manner_of_death resource:Eladio_Campos }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3314543
P19
Q56061
USER
Which administrative territory is the birthplace of Milton Rosmer ?
(Q3314543,P19,c(Q56061))
action filter_type
action find
entity Q3314543
relation P19
type Q56061
['Q3314543', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q3314543 property:P19 ?r }
Milton Rosmer
action filter_type
action find
entity Milton Rosmer
relation place of birth
type administrative territorial entity
['Milton Rosmer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Milton_Rosmer property:place_of_birth ?r }
[]
administrative territorial entity
Q868647
SYSTEM
Southport
Q868647
(Q3314543,P19,c(Q56061))
action filter_type
action find
entity Q3314543
relation P19
type Q56061
[ANSWER] is the birthplace of Milton Rosmer
['Q3314543', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q3314543 property:P19 ?r }
Southport
Southport is the birthplace of Milton Rosmer
Southport
action filter_type
action find
entity Milton Rosmer
relation place of birth
type administrative territorial entity
['Milton Rosmer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Milton_Rosmer property:place_of_birth ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q868647 Q208302 Q114319
P206
Q355304
USER
Is Southport located next to Siret River and River Ribble ?
(Q868647,P206,Q208302) (Q868647,P206,Q114319)
action is_in
entity Q868647
action intersection
action find_reverse
entity Q208302
relation P206
action find_reverse
entity Q114319
relation P206
['Q868647', 'P206', 'Q208302'] ['Q868647', 'P206', 'Q114319']
ASK WHERE { resource:Q868647 property:P206 resource:Q208302 . resource:Q868647 property:P206 resource:Q114319 }
Southport Siret River River Ribble
action is_in
entity Southport
action intersection
action find_reverse
entity Siret River
relation located next to body of water
action find_reverse
entity River Ribble
relation located next to body of water
['Southport', 'located next to body of water', 'Siret River'] ['Southport', 'located next to body of water', 'River Ribble']
ASK WHERE { resource:Southport property:located_next_to_body_of_water resource:Siret_River . resource:Southport property:located_next_to_body_of_water resource:River_Ribble }
[]
watercourse
SYSTEM
NO and YES respectively
(Q868647,P206,Q208302) (Q868647,P206,Q114319)
action is_in
entity Q868647
action intersection
action find_reverse
entity Q208302
relation P206
action find_reverse
entity Q114319
relation P206
[ANSWER]
['Q868647', 'P206', 'Q208302'] ['Q868647', 'P206', 'Q114319']
ASK WHERE { resource:Q868647 property:P206 resource:Q208302 . resource:Q868647 property:P206 resource:Q114319 }
NO and YES respectively
action is_in
entity Southport
action intersection
action find_reverse
entity Siret River
relation located next to body of water
action find_reverse
entity River Ribble
relation located next to body of water
['Southport', 'located next to body of water', 'Siret River'] ['Southport', 'located next to body of water', 'River Ribble']
ASK WHERE { resource:Southport property:located_next_to_body_of_water resource:Siret_River . resource:Southport property:located_next_to_body_of_water resource:River_Ribble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q868647
P159
Q43229
USER
Which organizations have HQ at Southport ?
(c(Q43229),P159,Q868647)
action filter_type
action find_reverse
entity Q868647
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q868647']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q868647 . ?s rdf:type ontology:Q43229 }
Southport
action filter_type
action find_reverse
entity Southport
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Southport']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:Southport . ?s rdf:type ontology:organization }
[]
organization
Q5170499 Q5402949 Q17986197
SYSTEM
Corgi Motorcycle Co Ltd., Ethan James, Café Royal Books
Q5402949 Q17986197 Q5170499 Q4970133 Q5689078
(c(Q43229),P159,Q868647)
action filter_type
action find_reverse
entity Q868647
relation P159
type Q43229
[ANSWERS] have HQ at Southport
[{'concept': 'Q43229'}, 'P159', 'Q868647']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q868647 . ?s rdf:type ontology:Q43229 }
Ethan James Café Royal Books Corgi Motorcycle Co Ltd. British Insurance HeadFirst PD
Corgi Motorcycle Co Ltd., Ethan James and Café Royal Books have HQ at Southport
Corgi Motorcycle Co Ltd. Ethan James Café Royal Books
action filter_type
action find_reverse
entity Southport
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Southport']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:Southport . ?s rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5170499
P452
Q268592
USER
Which industry does Corgi Motorcycle Co Ltd. belong to ?
(Q5170499,P452,c(Q268592))
action filter_type
action find
entity Q5170499
relation P452
type Q268592
['Q5170499', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?d WHERE { resource:Q5170499 property:P452 ?d . ?d rdf:type ontology:Q268592 }
Corgi Motorcycle Co Ltd.
action filter_type
action find
entity Corgi Motorcycle Co Ltd.
relation industry
type economic branch
['Corgi Motorcycle Co Ltd.', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?d WHERE { resource:Corgi_Motorcycle_Co_Ltd. property:industry ?d . ?d rdf:type ontology:economic_branch }
[]
economic branch
Q190117
SYSTEM
automotive industry
Q190117
(Q5170499,P452,c(Q268592))
action filter_type
action find
entity Q5170499
relation P452
type Q268592
[ANSWER] does Corgi Motorcycle Co Ltd. belong to
['Q5170499', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?d WHERE { resource:Q5170499 property:P452 ?d . ?d rdf:type ontology:Q268592 }
automotive industry
Automotive industry does Corgi Motorcycle Co Ltd. belong to
automotive industry
action filter_type
action find
entity Corgi Motorcycle Co Ltd.
relation industry
type economic branch
['Corgi Motorcycle Co Ltd.', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?d WHERE { resource:Corgi_Motorcycle_Co_Ltd. property:industry ?d . ?d rdf:type ontology:economic_branch }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q157062
Q268592
USER
And what about Unilever?
(Q157062,P452,c(Q268592))
action filter_type
action find
entity Q157062
relation P452
type Q268592
['Q157062', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?i WHERE { resource:Q157062 property:P452 ?i . ?i rdf:type ontology:Q268592 }
Unilever
action filter_type
action find
entity Unilever
relation industry
type economic branch
['Unilever', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?i WHERE { resource:Unilever property:industry ?i . ?i rdf:type ontology:economic_branch }
[]
economic branch
Q540912 Q3246832
SYSTEM
food industry, personal care
Q540912 Q3246832
(Q157062,P452,c(Q268592))
action filter_type
action find
entity Q157062
relation P452
type Q268592
[ANSWERS]
['Q157062', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?i WHERE { resource:Q157062 property:P452 ?i . ?i rdf:type ontology:Q268592 }
food industry personal care
food industry personal care
action filter_type
action find
entity Unilever
relation industry
type economic branch
['Unilever', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?i WHERE { resource:Unilever property:industry ?i . ?i rdf:type ontology:economic_branch }
[]