Simple Question (Direct)
Simple Question
Q3627697
P161
Q502895
USER
Who were casted in The Man Who Shook the Hand of Vicente Fernandez ?
(Q3627697,P161,c(Q502895))
action filter_type
action find
entity Q3627697
relation P161
type Q502895
['Q3627697', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3627697 property:P161 ?b . ?b rdf:type ontology:Q502895 }
The Man Who Shook the Hand of Vicente Fernandez
action filter_type
action find
entity The Man Who Shook the Hand of Vicente Fernandez
relation cast member
type common name
['The Man Who Shook the Hand of Vicente Fernandez', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Man_Who_Shook_the_Hand_of_Vicente_Fernandez property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
Q102551 Q218122 Q544692
SYSTEM
Ernest Borgnine, Robert Morse, Tony Plana
Q236269 Q544692 Q607678 Q102551 Q2487180 Q218122
(Q3627697,P161,c(Q502895))
action filter_type
action find
entity Q3627697
relation P161
type Q502895
[ANSWERS] were casted in The Man [ANSWERS] Shook the Hand of Vicente Fernandez
['Q3627697', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3627697 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Nathalie Kelley Tony Plana Barry Corbin Ernest Borgnine Dale Dickey Robert Morse
Ernest Borgnine, Robert Morse and Tony Plana were casted in The Man Ernest Borgnine, Robert Morse and Tony Plana Shook the Hand of Vicente Fernandez
Ernest Borgnine Robert Morse Tony Plana
action filter_type
action find
entity The Man Who Shook the Hand of Vicente Fernandez
relation cast member
type common name
['The Man Who Shook the Hand of Vicente Fernandez', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Man_Who_Shook_the_Hand_of_Vicente_Fernandez property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3627697
P364
Q34770
USER
Which language was used originally for the creation of The Man Who Shook the Hand of Vicente Fernandez ?
(Q3627697,P364,c(Q34770))
action filter_type
action find
entity Q3627697
relation P364
type Q34770
['Q3627697', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q3627697 property:P364 ?i . ?i rdf:type ontology:Q34770 }
The Man Who Shook the Hand of Vicente Fernandez
action filter_type
action find
entity The Man Who Shook the Hand of Vicente Fernandez
relation original language of work
type language
['The Man Who Shook the Hand of Vicente Fernandez', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:The_Man_Who_Shook_the_Hand_of_Vicente_Fernandez property:original_language_of_work ?i . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3627697,P364,c(Q34770))
action filter_type
action find
entity Q3627697
relation P364
type Q34770
[ANSWER] was used originally for the creation of The Man Who Shook the Hand of Vicente Fernandez
['Q3627697', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q3627697 property:P364 ?i . ?i rdf:type ontology:Q34770 }
English
English was used originally for the creation of The Man Who Shook the Hand of Vicente Fernandez
English
action filter_type
action find
entity The Man Who Shook the Hand of Vicente Fernandez
relation original language of work
type language
['The Man Who Shook the Hand of Vicente Fernandez', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:The_Man_Who_Shook_the_Hand_of_Vicente_Fernandez property:original_language_of_work ?i . ?i rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102551
P1346
Q4220917
USER
Which film award was won by Ernest Borgnine ?
(c(Q4220917),P1346,Q102551)
action filter_type
action find_reverse
entity Q102551
relation P1346
type Q4220917
[{'concept': 'Q4220917'}, 'P1346', 'Q102551']
SELECT DISTINCT ?m WHERE { ?m property:P1346 resource:Q102551 . ?m rdf:type ontology:Q4220917 }
Ernest Borgnine
action filter_type
action find_reverse
entity Ernest Borgnine
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Ernest Borgnine']
SELECT DISTINCT ?m WHERE { ?m property:winner resource:Ernest_Borgnine . ?m rdf:type ontology:film_award }
[]
film award
Q1790292
SYSTEM
National Board of Review Award for Best Actor
Q1790292
(c(Q4220917),P1346,Q102551)
action filter_type
action find_reverse
entity Q102551
relation P1346
type Q4220917
The [ANSWER] was won by Ernest Borgnine
[{'concept': 'Q4220917'}, 'P1346', 'Q102551']
SELECT DISTINCT ?m WHERE { ?m property:P1346 resource:Q102551 . ?m rdf:type ontology:Q4220917 }
National Board of Review Award for Best Actor
The National Board of Review Award for Best Actor was won by Ernest Borgnine
National Board of Review Award for Best Actor
action filter_type
action find_reverse
entity Ernest Borgnine
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Ernest Borgnine']
SELECT DISTINCT ?m WHERE { ?m property:winner resource:Ernest_Borgnine . ?m rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102551
P1196
Q1931388
USER
What manner did Ernest Borgnine die ?
(Q102551,P1196,c(Q1931388))
action filter_type
action find
entity Q102551
relation P1196
type Q1931388
['Q102551', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?e WHERE { resource:Q102551 property:P1196 ?e . ?e rdf:type ontology:Q1931388 }
Ernest Borgnine
action filter_type
action find
entity Ernest Borgnine
relation manner of death
type cause of death
['Ernest Borgnine', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?e WHERE { resource:Ernest_Borgnine property:manner_of_death ?e . ?e rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q102551,P1196,c(Q1931388))
action filter_type
action find
entity Q102551
relation P1196
type Q1931388
Ernest Borgnine died of [ANSWER]
['Q102551', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?e WHERE { resource:Q102551 property:P1196 ?e . ?e rdf:type ontology:Q1931388 }
natural causes
Ernest Borgnine died of natural causes
natural causes
action filter_type
action find
entity Ernest Borgnine
relation manner of death
type cause of death
['Ernest Borgnine', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?e WHERE { resource:Ernest_Borgnine property:manner_of_death ?e . ?e rdf:type ontology:cause_of_death }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q298016
Q1931388
USER
And what about Fred Thompson?
(Q298016,P1196,c(Q1931388))
action filter_type
action find
entity Q298016
relation P1196
type Q1931388
['Q298016', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1931388 . resource:Q298016 property:P1196 ?o }
Fred Thompson
action filter_type
action find
entity Fred Thompson
relation manner of death
type cause of death
['Fred Thompson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:cause_of_death . resource:Fred_Thompson property:manner_of_death ?o }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q298016,P1196,c(Q1931388))
action filter_type
action find
entity Q298016
relation P1196
type Q1931388
[ANSWER]
['Q298016', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1931388 . resource:Q298016 property:P1196 ?o }
natural causes
natural causes
action filter_type
action find
entity Fred Thompson
relation manner of death
type cause of death
['Fred Thompson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:cause_of_death . resource:Fred_Thompson property:manner_of_death ?o }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q544692
P161 P364
Q838948
USER
Which works of art stars Tony Plana as actor and were done in English language during their inception ?
AND((c(Q838948),P161,Q544692), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q544692
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q544692'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?y WHERE { ?y property:P364 resource:Q1860 . ?y property:P161 resource:Q544692 . ?y rdf:type ontology:Q838948 }
English Tony Plana
action filter_type
action intersection
action find_reverse
entity Tony Plana
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Tony Plana'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?y WHERE { ?y property:original_language_of_work resource:English . ?y property:cast_member resource:Tony_Plana . ?y rdf:type ontology:work_of_art }
[]
work of art
Q1477542 Q1341058 Q5071818 Q285020 Q3627697 Q249288 Q1348423 Q2276261 Q6142015 Q930332
SYSTEM
Some of them are The Best of Times, First Family, Change Your Life!, The Lost City, The Man Who Shook the Hand of Vicente Fernandez, Three Amigos, Salvador, Shadow of Doubt, The Disappearance of Garcia Lorca, Lone Star
Q495138 Q4147906 Q1341058 Q1446886 Q249288 Q822057 Q285020 Q930332 Q697014 Q844296 Q741823 Q1348423 Q1412077 Q2276261 Q375186 Q869862 Q6142015 Q1757905 Q203388 Q3627697 Q4293557 Q5071818 Q5351652 Q1477542 Q1132575 Q389925 Q2567294 Q4024772
AND((c(Q838948),P161,Q544692), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q544692
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] star Tony Plana as actor and were done in English language during their inception
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q544692'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?y WHERE { ?y property:P364 resource:Q1860 . ?y property:P161 resource:Q544692 . ?y rdf:type ontology:Q838948 }
Romero City Limits First Family El Norte Three Amigos Primal Fear The Lost City Lone Star Half Past Dead One Good Cop JFK Salvador Live Wire Shadow of Doubt The Rookie Goal! The Disappearance of Garcia Lorca Nightmares One Eight Seven The Man Who Shook the Hand of Vicente Fernandez A Million to Juan Change Your Life! El Muerto The Best of Times An Officer and a Gentleman Havana Why Me? Zoot Suit
The Best of Times, First Family, Change Your Life!, The Lost City, The Man Who Shook the Hand of Vicente Fernandez, Three Amigos, Salvador, Shadow of Doubt, The Disappearance of Garcia Lorca and Lone Star star Tony Plana as actor and were done in English language during their inception
The Best of Times First Family Change Your Life! The Lost City The Man Who Shook the Hand of Vicente Fernandez Three Amigos Salvador Shadow of Doubt The Disappearance of Garcia Lorca Lone Star
action filter_type
action intersection
action find_reverse
entity Tony Plana
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Tony Plana'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?y WHERE { ?y property:original_language_of_work resource:English . ?y property:cast_member resource:Tony_Plana . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q249288
P57
Q502895
USER
Which person directed Three Amigos ?
(Q249288,P57,c(Q502895))
action filter_type
action find
entity Q249288
relation P57
type Q502895
['Q249288', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q249288 property:P57 ?i }
Three Amigos
action filter_type
action find
entity Three Amigos
relation director
type common name
['Three Amigos', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Three_Amigos property:director ?i }
[]
common name
Q51564
SYSTEM
John Landis
Q51564
(Q249288,P57,c(Q502895))
action filter_type
action find
entity Q249288
relation P57
type Q502895
The [ANSWER] directed Three Amigos
['Q249288', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q249288 property:P57 ?i }
John Landis
The John Landis directed Three Amigos
John Landis
action filter_type
action find
entity Three Amigos
relation director
type common name
['Three Amigos', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Three_Amigos property:director ?i }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q181883 Q249288
P161 P1346
Q502895
USER
Which people were casted in Three Amigos or were the winner of Golden Globe Award for Best Actor – Motion Picture Musical or Comedy ?
OR((Q249288,P161,c(Q502895)), (Q181883,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q249288
relation P161
action find
entity Q181883
relation P1346
type Q502895
{'OR': [['Q249288', 'P161', {'concept': 'Q502895'}], ['Q181883', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q249288 property:P161 ?p } UNION { resource:Q181883 property:P1346 ?p } } . ?p rdf:type ontology:Q502895 }
Golden Globe Award for Best Actor – Motion Picture Musical or Comedy Three Amigos
action filter_type
action union
action find
entity Three Amigos
relation cast member
action find
entity Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
relation winner
type common name
{'OR': [['Three Amigos', 'cast member', {'concept': 'common name'}], ['Golden Globe Award for Best Actor – Motion Picture Musical or Comedy', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Three_Amigos property:cast_member ?p } UNION { resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Musical_or_Comedy property:winner ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q95048 Q55469 Q208681 Q213425 Q80938 Q182431 Q181799 Q138005 Q42930 Q920072
SYSTEM
Some of them are Tim Robbins, Marcello Mastroianni, Kris Kristofferson, Danny Kaye, John Travolta, Art Carney, Richard Dreyfuss, Michael Keaton, Dustin Hoffman, Alfonso Arau
Q76895 Q181799 Q449900 Q427388 Q95048 Q48410 Q2263 Q37175 Q129591 Q195371 Q29250 Q23844 Q3191932 Q38111 Q310343 Q123351 Q296641 Q50003 Q212048 Q55469 Q208681 Q37079 Q94123 Q181887 Q100937 Q172035 Q319133 Q39792 Q106775 Q344793 Q103876 Q3086782 Q208649 Q296524 Q83338 Q106508 Q202172 Q1867549 Q348345 Q544692 Q165219 Q366910 Q366834 Q138005 Q209186 Q276269 Q182431 Q213425 Q1371467 Q95030 Q185140 Q181917 Q189422 Q108283 Q150943 Q16473 Q219546 Q920072 Q40912 Q329744 Q82330 Q42930 Q171905 Q310926 Q80938 Q40504 Q48337 Q163286 Q29055
OR((Q249288,P161,c(Q502895)), (Q181883,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q249288
relation P161
action find
entity Q181883
relation P1346
type Q502895
[ANSWERS] were casted in Three Amigos or were the winner of Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
{'OR': [['Q249288', 'P161', {'concept': 'Q502895'}], ['Q181883', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q249288 property:P161 ?p } UNION { resource:Q181883 property:P1346 ?p } } . ?p rdf:type ontology:Q502895 }
Lee Marvin Richard Dreyfuss George Segal Tom Ewell Tim Robbins Richard Gere Tom Hanks Johnny Depp Hugh Jackman Cantinflas Bill Murray George Clooney Kai Wulff Leonardo DiCaprio Dudley Moore Michael Caine Paul Hogan Alberto Sordi Glenn Ford Marcello Mastroianni Kris Kristofferson Tom Cruise Jack Lemmon Rex Harrison Fred Astaire Colin Farrell Chaim Topol Jack Nicholson Richard Harris George Burns Peter O'Toole Fred Asparagus Paul Giamatti Jon Lovitz Robin Williams Gérard Depardieu Walter Matthau Peter Sellars Donald O'Connor Tony Plana Robert Downey, Jr. Ron Moody Phil Hartman Michael Keaton James Mason Joe Mantegna Art Carney Danny Kaye Ray Sharkey Warren Beatty Joaquin Phoenix David Niven Jean Dujardin Alan Arkin Gene Hackman Steve Martin Albert Finney Alfonso Arau Frank Sinatra Martin Short Brian Thompson Dustin Hoffman Jamie Foxx Chevy Chase John Travolta Jim Carrey Morgan Freeman Hugh Grant Sacha Baron Cohen
Tim Robbins, Marcello Mastroianni, Kris Kristofferson, Danny Kaye, John Travolta, Art Carney, Richard Dreyfuss, Michael Keaton, Dustin Hoffman and Alfonso Arau were casted in Three Amigos or were the winner of Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
Tim Robbins Marcello Mastroianni Kris Kristofferson Danny Kaye John Travolta Art Carney Richard Dreyfuss Michael Keaton Dustin Hoffman Alfonso Arau
action filter_type
action union
action find
entity Three Amigos
relation cast member
action find
entity Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
relation winner
type common name
{'OR': [['Three Amigos', 'cast member', {'concept': 'common name'}], ['Golden Globe Award for Best Actor – Motion Picture Musical or Comedy', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Three_Amigos property:cast_member ?p } UNION { resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Musical_or_Comedy property:winner ?p } } . ?p rdf:type ontology:common_name }
[]