Simple Question (Direct)
Simple Question
Q3627741
P57
Q502895
USER
Which person served as the directed of At the Old Stage Door ?
(Q3627741,P57,c(Q502895))
action filter_type
action find
entity Q3627741
relation P57
type Q502895
['Q3627741', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q3627741 property:P57 ?d . ?d rdf:type ontology:Q502895 }
At the Old Stage Door
action filter_type
action find
entity At the Old Stage Door
relation director
type common name
['At the Old Stage Door', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:At_the_Old_Stage_Door property:director ?d . ?d rdf:type ontology:common_name }
[]
common name
Q72792
SYSTEM
Hal Roach
Q72792
(Q3627741,P57,c(Q502895))
action filter_type
action find
entity Q3627741
relation P57
type Q502895
The [ANSWER] served as the directed of At the Old Stage Door
['Q3627741', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q3627741 property:P57 ?d . ?d rdf:type ontology:Q502895 }
Hal Roach
The Hal Roach served as the directed of At the Old Stage Door
Hal Roach
action filter_type
action find
entity At the Old Stage Door
relation director
type common name
['At the Old Stage Door', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:At_the_Old_Stage_Door property:director ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3627741
P162
Q502895
USER
Which person is the produced of At the Old Stage Door ?
(Q3627741,P162,c(Q502895))
action filter_type
action find
entity Q3627741
relation P162
type Q502895
['Q3627741', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3627741 property:P162 ?t . ?t rdf:type ontology:Q502895 }
At the Old Stage Door
action filter_type
action find
entity At the Old Stage Door
relation producer
type common name
['At the Old Stage Door', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:At_the_Old_Stage_Door property:producer ?t . ?t rdf:type ontology:common_name }
[]
common name
Q72792
SYSTEM
Hal Roach
Q72792
(Q3627741,P162,c(Q502895))
action filter_type
action find
entity Q3627741
relation P162
type Q502895
[ANSWER] is the produced of At the Old Stage Door
['Q3627741', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3627741 property:P162 ?t . ?t rdf:type ontology:Q502895 }
Hal Roach
Hal Roach is the produced of At the Old Stage Door
Hal Roach
action filter_type
action find
entity At the Old Stage Door
relation producer
type common name
['At the Old Stage Door', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:At_the_Old_Stage_Door property:producer ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q72792
P1411
Q4220917
USER
Which film awards were that person a recipient of ?
(Q72792,P1411,c(Q4220917))
action filter_type
action find
entity Q72792
relation P1411
type Q4220917
['Q72792', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?b WHERE { resource:Q72792 property:P1411 ?b . ?b rdf:type ontology:Q4220917 }
Hal Roach
action filter_type
action find
entity Hal Roach
relation nominated for
type film award
['Hal Roach', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?b WHERE { resource:Hal_Roach property:nominated_for ?b . ?b rdf:type ontology:film_award }
[]
film award
Q3886464 Q22335251
SYSTEM
Academy Award for Best Live Action Short Film, Comedy, Academy Award for Best Live Action Short Film, One-Reel
Q3886464 Q22335251
(Q72792,P1411,c(Q4220917))
action filter_type
action find
entity Q72792
relation P1411
type Q4220917
[ANSWERS]
['Q72792', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?b WHERE { resource:Q72792 property:P1411 ?b . ?b rdf:type ontology:Q4220917 }
Academy Award for Best Live Action Short Film, Comedy Academy Award for Best Live Action Short Film, One-Reel
Academy Award for Best Live Action Short Film, Comedy and Academy Award for Best Live Action Short Film, One-Reel were that person a recipient of
Academy Award for Best Live Action Short Film, Comedy Academy Award for Best Live Action Short Film, One-Reel
action filter_type
action find
entity Hal Roach
relation nominated for
type film award
['Hal Roach', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?b WHERE { resource:Hal_Roach property:nominated_for ?b . ?b rdf:type ontology:film_award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3886464
P166
Q502895
USER
Who were awarded with that film award ?
(c(Q502895),P166,Q3886464)
action filter_type
action find_reverse
entity Q3886464
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q3886464']
SELECT DISTINCT ?u WHERE { ?u property:P166 resource:Q3886464 . ?u rdf:type ontology:Q502895 }
Academy Award for Best Live Action Short Film, Comedy
action filter_type
action find_reverse
entity Academy Award for Best Live Action Short Film, Comedy
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Academy Award for Best Live Action Short Film, Comedy']
SELECT DISTINCT ?u WHERE { ?u property:award_received resource:Academy_Award_for_Best_Live_Action_Short_Film,_Comedy . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q22335251
SYSTEM
Did you mean Academy Award for Best Live Action Short Film, One-Reel ?
Q3886464 Q22335251
(c(Q502895),P166,Q3886464) (c(Q502895),P166,Q22335251)
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q3886464'] [{'concept': 'Q502895'}, 'P166', 'Q22335251']
SELECT DISTINCT ?u WHERE { ?u property:P166 resource:Q3886464 . ?u rdf:type ontology:Q502895 }
Academy Award for Best Live Action Short Film, Comedy Academy Award for Best Live Action Short Film, One-Reel
Did you mean Academy Award for Best Live Action Short Film, One-Reel ?
Academy Award for Best Live Action Short Film, One-Reel
[{'concept': 'common name'}, 'award received', 'Academy Award for Best Live Action Short Film, Comedy'] [{'concept': 'common name'}, 'award received', 'Academy Award for Best Live Action Short Film, One-Reel']
SELECT DISTINCT ?u WHERE { ?u property:award_received resource:Academy_Award_for_Best_Live_Action_Short_Film,_Comedy . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Academy Award for Best Live Action Short Film, Comedy. Could you tell me the answer for that?
(c(Q502895),P166,Q3886464)
Q3886464
[{'concept': 'Q502895'}, 'P166', 'Q3886464']
[{'concept': 'common name'}, 'award received', 'Academy Award for Best Live Action Short Film, Comedy']
[]
Q1383334 Q72792 Q1493931
SYSTEM
Lou Brock, Hal Roach, Kenneth Macgowan
Q1676994 Q1383334 Q72792 Q1493931
(c(Q502895),P166,Q3886464)
action filter_type
action find_reverse
entity Q3886464
relation P166
type Q502895
[ANSWERS] were awarded with that film award
[{'concept': 'Q502895'}, 'P166', 'Q3886464']
SELECT DISTINCT ?u WHERE { ?u property:P166 resource:Q3886464 . ?u rdf:type ontology:Q502895 }
Jack Chertok Lou Brock Hal Roach Kenneth Macgowan
Lou Brock, Hal Roach and Kenneth Macgowan were awarded with that film award
Lou Brock Hal Roach Kenneth Macgowan
action filter_type
action find_reverse
entity Academy Award for Best Live Action Short Film, Comedy
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Academy Award for Best Live Action Short Film, Comedy']
SELECT DISTINCT ?u WHERE { ?u property:award_received resource:Academy_Award_for_Best_Live_Action_Short_Film,_Comedy . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q3886464
P1411 P27
Q502895
USER
Which people received nomination for Academy Award for Best Live Action Short Film, Comedy and are a citizen of United States of America ?
AND((c(Q502895),P1411,Q3886464), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q3886464
relation P1411
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q3886464'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?o WHERE { ?o property:P1411 resource:Q3886464 . ?o property:P27 resource:Q30 . ?o rdf:type ontology:Q502895 }
United States of America Academy Award for Best Live Action Short Film, Comedy
action filter_type
action intersection
action find_reverse
entity Academy Award for Best Live Action Short Film, Comedy
relation nominated for
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'Academy Award for Best Live Action Short Film, Comedy'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?o WHERE { ?o property:nominated_for resource:Academy_Award_for_Best_Live_Action_Short_Film,_Comedy . ?o property:country_of_citizenship resource:United_States_of_America . ?o rdf:type ontology:common_name }
[]
common name
Q1526143 Q1676994 Q317574 Q1383334 Q72792 Q1493931 Q2549683
SYSTEM
Jules White, Jack Chertok, Mack Sennett, Lou Brock, Hal Roach, Kenneth Macgowan, Warren Doane
Q1526143 Q1676994 Q317574 Q1383334 Q72792 Q1493931 Q2549683
AND((c(Q502895),P1411,Q3886464), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q3886464
relation P1411
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] received nomination for Academy Award for Best Live Action Short Film, Comedy and are a citizen of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q3886464'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?o WHERE { ?o property:P1411 resource:Q3886464 . ?o property:P27 resource:Q30 . ?o rdf:type ontology:Q502895 }
Jules White Jack Chertok Mack Sennett Lou Brock Hal Roach Kenneth Macgowan Warren Doane
Jules White, Jack Chertok, Mack Sennett, Lou Brock, Hal Roach, Kenneth Macgowan and Warren Doane received nomination for Academy Award for Best Live Action Short Film, Comedy and are a citizen of United States of America
Jules White Jack Chertok Mack Sennett Lou Brock Hal Roach Kenneth Macgowan Warren Doane
action filter_type
action intersection
action find_reverse
entity Academy Award for Best Live Action Short Film, Comedy
relation nominated for
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'Academy Award for Best Live Action Short Film, Comedy'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?o WHERE { ?o property:nominated_for resource:Academy_Award_for_Best_Live_Action_Short_Film,_Comedy . ?o property:country_of_citizenship resource:United_States_of_America . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1676994
P21
Q290
USER
Which sex does that person belong to ?
(Q1676994,P21,c(Q290))
action filter_type
action find
entity Q1676994
relation P21
type Q290
['Q1676994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q1676994 property:P21 ?p }
Jack Chertok
action filter_type
action find
entity Jack Chertok
relation gender
type sex
['Jack Chertok', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Jack_Chertok property:gender ?p }
[]
sex
Clarification for simple ques.
Q72792
SYSTEM
Did you mean Hal Roach ?
Q1526143 Q1676994 Q317574 Q1383334 Q72792 Q1493931 Q2549683
(Q1526143,P21,c(Q290)) (Q1676994,P21,c(Q290)) (Q317574,P21,c(Q290)) (Q1383334,P21,c(Q290)) (Q72792,P21,c(Q290)) (Q1493931,P21,c(Q290)) (Q2549683,P21,c(Q290))
[ANSWER]
['Q1526143', 'P21', {'concept': 'Q290'}] ['Q1676994', 'P21', {'concept': 'Q290'}] ['Q317574', 'P21', {'concept': 'Q290'}] ['Q1383334', 'P21', {'concept': 'Q290'}] ['Q72792', 'P21', {'concept': 'Q290'}] ['Q1493931', 'P21', {'concept': 'Q290'}] ['Q2549683', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q1676994 property:P21 ?p }
Jules White Jack Chertok Mack Sennett Lou Brock Hal Roach Kenneth Macgowan Warren Doane
Did you mean Hal Roach ?
Hal Roach
['Jules White', 'gender', {'concept': 'sex'}] ['Jack Chertok', 'gender', {'concept': 'sex'}] ['Mack Sennett', 'gender', {'concept': 'sex'}] ['Lou Brock', 'gender', {'concept': 'sex'}] ['Hal Roach', 'gender', {'concept': 'sex'}] ['Kenneth Macgowan', 'gender', {'concept': 'sex'}] ['Warren Doane', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Jack_Chertok property:gender ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant Jack Chertok. Could you tell me the answer for that?
(Q1676994,P21,c(Q290))
Q1676994
['Q1676994', 'P21', {'concept': 'Q290'}]
['Jack Chertok', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q1676994,P21,c(Q290))
action filter_type
action find
entity Q1676994
relation P21
type Q290
That person belongs to [ANSWER]
['Q1676994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q1676994 property:P21 ?p }
male
That person belongs to male
male
action filter_type
action find
entity Jack Chertok
relation gender
type sex
['Jack Chertok', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Jack_Chertok property:gender ?p }
[]