Simple Question (Direct)
Simple Question
Q437970
P27
Q15617994
USER
Which administrative territory is the native country of Ryan Adams ?
(Q437970,P27,c(Q15617994))
action filter_type
action find
entity Q437970
relation P27
type Q15617994
['Q437970', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q437970 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Ryan Adams
action filter_type
action find
entity Ryan Adams
relation country of citizenship
type designation for an administrative territorial entity
['Ryan Adams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Ryan_Adams property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q437970,P27,c(Q15617994))
action filter_type
action find
entity Q437970
relation P27
type Q15617994
The [ANSWER] is the native country of Ryan Adams
['Q437970', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q437970 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Ryan Adams
United States of America
action filter_type
action find
entity Ryan Adams
relation country of citizenship
type designation for an administrative territorial entity
['Ryan Adams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Ryan_Adams property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q437970
P86
Q838948
USER
Which works of art have Ryan Adams as the composer ?
(c(Q838948),P86,Q437970)
action filter_type
action find_reverse
entity Q437970
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q437970']
SELECT DISTINCT ?v WHERE { ?v property:P86 resource:Q437970 . ?v rdf:type ontology:Q838948 }
Ryan Adams
action filter_type
action find_reverse
entity Ryan Adams
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Ryan Adams']
SELECT DISTINCT ?v WHERE { ?v property:composer resource:Ryan_Adams . ?v rdf:type ontology:work_of_art }
[]
work of art
Q15046541 Q113052
SYSTEM
Danny Collins, Elizabethtown
Q15046541 Q113052
(c(Q838948),P86,Q437970)
action filter_type
action find_reverse
entity Q437970
relation P86
type Q838948
[ANSWERS] have Ryan Adams as the composer
[{'concept': 'Q838948'}, 'P86', 'Q437970']
SELECT DISTINCT ?v WHERE { ?v property:P86 resource:Q437970 . ?v rdf:type ontology:Q838948 }
Danny Collins Elizabethtown
Danny Collins and Elizabethtown have Ryan Adams as the composer
Danny Collins Elizabethtown
action filter_type
action find_reverse
entity Ryan Adams
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Ryan Adams']
SELECT DISTINCT ?v WHERE { ?v property:composer resource:Ryan_Adams . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15046541 Q113052
P57
Q502895
USER
Who were Danny Collins and Elizabethtown directed by ?
(Q15046541,P57,c(Q502895)) (Q113052,P57,c(Q502895))
action union
action filter_type
action find
entity Q15046541
relation P57
type Q502895
action filter_type
action find
entity Q113052
relation P57
type Q502895
['Q15046541', 'P57', {'concept': 'Q502895'}] ['Q113052', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { resource:Q113052 property:P57 ?h . ?h rdf:type ontology:Q502895 } UNION { resource:Q15046541 property:P57 ?h . ?h rdf:type ontology:Q502895 } }
Danny Collins Elizabethtown
action union
action filter_type
action find
entity Danny Collins
relation director
type common name
action filter_type
action find
entity Elizabethtown
relation director
type common name
['Danny Collins', 'director', {'concept': 'common name'}] ['Elizabethtown', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { resource:Elizabethtown property:director ?h . ?h rdf:type ontology:common_name } UNION { resource:Danny_Collins property:director ?h . ?h rdf:type ontology:common_name } }
[]
common name
Q5213495 Q318287
SYSTEM
Dan Fogelman, Cameron Crowe
Q5213495 Q318287
(Q15046541,P57,c(Q502895)) (Q113052,P57,c(Q502895))
action union
action filter_type
action find
entity Q15046541
relation P57
type Q502895
action filter_type
action find
entity Q113052
relation P57
type Q502895
By Danny Collins and Elizabethtown were directed by [ANSWERS]
['Q15046541', 'P57', {'concept': 'Q502895'}] ['Q113052', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { resource:Q113052 property:P57 ?h . ?h rdf:type ontology:Q502895 } UNION { resource:Q15046541 property:P57 ?h . ?h rdf:type ontology:Q502895 } }
Dan Fogelman Cameron Crowe
By Danny Collins and Elizabethtown were directed by Dan Fogelman and Cameron Crowe
Dan Fogelman Cameron Crowe
action union
action filter_type
action find
entity Danny Collins
relation director
type common name
action filter_type
action find
entity Elizabethtown
relation director
type common name
['Danny Collins', 'director', {'concept': 'common name'}] ['Elizabethtown', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { resource:Elizabethtown property:director ?h . ?h rdf:type ontology:common_name } UNION { resource:Danny_Collins property:director ?h . ?h rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q318287
P166
Q4220917
USER
Which film award was received by that person ?
(Q318287,P166,c(Q4220917))
action filter_type
action find
entity Q318287
relation P166
type Q4220917
['Q318287', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q4220917 . resource:Q318287 property:P166 ?e }
Cameron Crowe
action filter_type
action find
entity Cameron Crowe
relation award received
type film award
['Cameron Crowe', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:film_award . resource:Cameron_Crowe property:award_received ?e }
[]
film award
Clarification for simple ques.
Q5213495
SYSTEM
Did you mean Dan Fogelman ?
Q5213495 Q318287
(Q5213495,P166,c(Q4220917)) (Q318287,P166,c(Q4220917))
[ANSWER]
['Q5213495', 'P166', {'concept': 'Q4220917'}] ['Q318287', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q4220917 . resource:Q318287 property:P166 ?e }
Dan Fogelman Cameron Crowe
Did you mean Dan Fogelman ?
Dan Fogelman
['Dan Fogelman', 'award received', {'concept': 'film award'}] ['Cameron Crowe', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:film_award . resource:Cameron_Crowe property:award_received ?e }
[]
Simple Question (Coreferenced)
USER
No, I meant Cameron Crowe. Could you tell me the answer for that?
(Q318287,P166,c(Q4220917))
Q318287
['Q318287', 'P166', {'concept': 'Q4220917'}]
['Cameron Crowe', 'award received', {'concept': 'film award'}]
[]
Q41417
SYSTEM
Academy Award for Best Writing, Original Screenplay
Q41417
(Q318287,P166,c(Q4220917))
action filter_type
action find
entity Q318287
relation P166
type Q4220917
[ANSWER] was received by that person
['Q318287', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q4220917 . resource:Q318287 property:P166 ?e }
Academy Award for Best Writing, Original Screenplay
Academy Award for Best Writing, Original Screenplay was received by that person
Academy Award for Best Writing, Original Screenplay
action filter_type
action find
entity Cameron Crowe
relation award received
type film award
['Cameron Crowe', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:film_award . resource:Cameron_Crowe property:award_received ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q41417 Q1699413
P1411
Q502895
USER
Was John Briley a nomination for that film award ?
(Q1699413,P1411,Q41417)
action is_in
entity Q41417
action find
entity Q1699413
relation P1411
['Q1699413', 'P1411', 'Q41417']
ASK WHERE { resource:Q1699413 property:P1411 resource:Q41417 }
Academy Award for Best Writing, Original Screenplay John Briley
action is_in
entity Academy Award for Best Writing, Original Screenplay
action find
entity John Briley
relation nominated for
['John Briley', 'nominated for', 'Academy Award for Best Writing, Original Screenplay']
ASK WHERE { resource:John_Briley property:nominated_for resource:Academy_Award_for_Best_Writing,_Original_Screenplay }
[]
common name
SYSTEM
YES
(Q1699413,P1411,Q41417)
action is_in
entity Q41417
action find
entity Q1699413
relation P1411
[ANSWER]
['Q1699413', 'P1411', 'Q41417']
ASK WHERE { resource:Q1699413 property:P1411 resource:Q41417 }
Yes
action is_in
entity Academy Award for Best Writing, Original Screenplay
action find
entity John Briley
relation nominated for
['John Briley', 'nominated for', 'Academy Award for Best Writing, Original Screenplay']
ASK WHERE { resource:John_Briley property:nominated_for resource:Academy_Award_for_Best_Writing,_Original_Screenplay }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41417
P166
Q838948
USER
Which works of art were honoured with that film award ?
action filter_type
action find_reverse
entity Q41417
relation P166
type Q838948
SELECT DISTINCT ?f WHERE { ?f property:P166 resource:Q41417 . ?f rdf:type ontology:Q838948 }
Academy Award for Best Writing, Original Screenplay
action filter_type
action find_reverse
entity Academy Award for Best Writing, Original Screenplay
relation award received
type work of art
SELECT DISTINCT ?f WHERE { ?f property:award_received resource:Academy_Award_for_Best_Writing,_Original_Screenplay . ?f rdf:type ontology:work_of_art }
[]
work of art
Q107270 Q104123 Q571032
SYSTEM
Lost in Translation, Pulp Fiction, Django Unchained
Q188000 Q726294 Q1411454 Q3227109 Q18154496 Q1197729 Q1168531 Q939495 Q132351 Q1365174 Q1212587 Q606928 Q653462 Q1063525 Q117315 Q1630422 Q188845 Q747570 Q533638 Q222720 Q79503 Q25139 Q106316 Q162518 Q458656 Q261403 Q107270 Q62665 Q1620831 Q1336107 Q208269 Q165392 Q1113987 Q13255497 Q182944 Q207921 Q217220 Q1166360 Q391343 Q644987 Q832487 Q24815 Q2119500 Q736969 Q201687 Q206124 Q2060027 Q845057 Q202211 Q182727 Q658041 Q270510 Q571032 Q183066 Q1889498 Q731082 Q59073 Q211372 Q488041 Q788822 Q232000 Q160060 Q233464 Q1114683 Q193835 Q478780 Q49003 Q500672 Q104123 Q315732 Q192073 Q193570 Q1419410 Q572165
action filter_type
action find_reverse
entity Q41417
relation P166
type Q838948
[ANSWERS] were honoured with that film award
SELECT DISTINCT ?f WHERE { ?f property:P166 resource:Q41417 . ?f rdf:type ontology:Q838948 }
Crash Almost Famous Splendor in the Grass The Seventh Veil Spotlight Titanic The Lavender Hill Mob Marie-Louise The Usual Suspects Divorce, Italian Style Woman of the Year Wilson Princess O'Rourke The Defiant Ones The Piano The Hospital Rain Man An American in Paris Father Goose Fargo Juno American Beauty Dead Poets Society How the West Was Won Dog Day Afternoon A Man and a Woman Lost in Translation The Sting Battleground Moonstruck Eternal Sunshine of the Spotless Mind Gosford Park Tender Mercies Birdman Shakespeare in Love Chariots of Fire Patton Darling The Great McGinty Chinatown Pillow Talk Citizen Kane Designing Woman Guess Who's Coming to Dinner Milk Midnight in Paris The Bachelor and the Bobby-Soxer Hannah and Her Sisters Gandhi The Crying Game Thelma & Louise The Apartment Django Unchained The Hurt Locker Interrupted Melody Breaking Away Places in the Heart On the Waterfront Witness Her Butch Cassidy and the Sundance Kid The King's Speech Annie Hall Coming Home Good Will Hunting Talk to Her Ghost The Candidate Pulp Fiction The Producers Little Miss Sunshine Sunset Boulevard Melvin and Howard Network
Lost in Translation, Pulp Fiction and Django Unchained were honoured with that film award
Lost in Translation Pulp Fiction Django Unchained
action filter_type
action find_reverse
entity Academy Award for Best Writing, Original Screenplay
relation award received
type work of art
SELECT DISTINCT ?f WHERE { ?f property:award_received resource:Academy_Award_for_Best_Writing,_Original_Screenplay . ?f rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q571032
P1431
Q502895
USER
Which person is the excecutive producer of that work of art ?
(Q571032,P1431,c(Q502895))
action filter_type
action find
entity Q571032
relation P1431
type Q502895
['Q571032', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q571032 property:P1431 ?t . ?t rdf:type ontology:Q502895 }
Django Unchained
action filter_type
action find
entity Django Unchained
relation executive producer
type common name
['Django Unchained', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Django_Unchained property:executive_producer ?t . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q571032
SYSTEM
Did you mean Django Unchained ?
Q107270 Q104123 Q571032
(Q107270,P1431,c(Q502895)) (Q104123,P1431,c(Q502895)) (Q571032,P1431,c(Q502895))
[ANSWER]
['Q107270', 'P1431', {'concept': 'Q502895'}] ['Q104123', 'P1431', {'concept': 'Q502895'}] ['Q571032', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q571032 property:P1431 ?t . ?t rdf:type ontology:Q502895 }
Lost in Translation Pulp Fiction Django Unchained
Did you mean Django Unchained ?
Django Unchained
['Lost in Translation', 'executive producer', {'concept': 'common name'}] ['Pulp Fiction', 'executive producer', {'concept': 'common name'}] ['Django Unchained', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Django_Unchained property:executive_producer ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q571032,P1431,c(Q502895))
['Q571032', 'P1431', {'concept': 'Q502895'}]
['Django Unchained', 'executive producer', {'concept': 'common name'}]
[]
Q888311
SYSTEM
Bob Weinstein
Q888311
(Q571032,P1431,c(Q502895))
action filter_type
action find
entity Q571032
relation P1431
type Q502895
[ANSWER] is the excecutive producer of that work of art
['Q571032', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q571032 property:P1431 ?t . ?t rdf:type ontology:Q502895 }
Bob Weinstein
Bob Weinstein is the excecutive producer of that work of art
Bob Weinstein
action filter_type
action find
entity Django Unchained
relation executive producer
type common name
['Django Unchained', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Django_Unchained property:executive_producer ?t . ?t rdf:type ontology:common_name }
[]