Simple Question (Direct)
Simple Question
Q2186004
P161
Q502895
USER
Which people starred in Ziegfeld Follies ?
(Q2186004,P161,c(Q502895))
action filter_type
action find
entity Q2186004
relation P161
type Q502895
['Q2186004', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2186004 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Ziegfeld Follies
action filter_type
action find
entity Ziegfeld Follies
relation cast member
type common name
['Ziegfeld Follies', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ziegfeld_Follies property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q100937 Q11637 Q112307
SYSTEM
Fred Astaire, Judy Garland, Lena Horne
Q1489956 Q1290248 Q345517 Q73089 Q209662 Q100937 Q11637 Q105960 Q471023 Q469693 Q2474547 Q522803 Q946859 Q234117 Q112307 Q153358 Q3560683 Q232395 Q62558 Q395205 Q6139622 Q1277029
(Q2186004,P161,c(Q502895))
action filter_type
action find
entity Q2186004
relation P161
type Q502895
[ANSWERS] starred in Ziegfeld Follies
['Q2186004', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2186004 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Robert Lewis William Frawley Peter Lawford Gene Kelly Lucille Ball Fred Astaire Judy Garland William Powell Jimmy Durante Lucille Bremer Victor Moore Edward Arnold Keenan Wynn Kathryn Grayson Lena Horne Fanny Brice Virginia O'Brien Esther Williams Cyd Charisse Hume Cronyn James Melton Red Skelton
Fred Astaire, Judy Garland and Lena Horne starred in Ziegfeld Follies
Fred Astaire Judy Garland Lena Horne
action filter_type
action find
entity Ziegfeld Follies
relation cast member
type common name
['Ziegfeld Follies', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ziegfeld_Follies property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q100937 Q11637 Q112307
P161
Q838948
USER
Which works of art have those people in their star cast ?
(c(Q838948),P161,Q100937) (c(Q838948),P161,Q11637) (c(Q838948),P161,Q112307)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q100937'] [{'concept': 'Q838948'}, 'P161', 'Q11637'] [{'concept': 'Q838948'}, 'P161', 'Q112307']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . VALUES ( ?r ) { ( resource:Q1489956 ) ( resource:Q1290248 ) ( resource:Q345517 ) } . ?h property:P161 ?r }
Fred Astaire Judy Garland Lena Horne
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Fred Astaire'] [{'concept': 'work of art'}, 'cast member', 'Judy Garland'] [{'concept': 'work of art'}, 'cast member', 'Lena Horne']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . VALUES ( ?r ) { ( resource:Robert_Lewis ) ( resource:William_Frawley ) ( resource:Peter_Lawford ) } . ?h property:cast_member ?r }
[]
work of art
Q309545 Q882343 Q372959
SYSTEM
Judgment at Nuremberg, Blue Skies, The Towering Inferno
Q1216947 Q1464435 Q882343 Q1660685 Q1198750 Q1862822 Q3206606 Q230488 Q1191081 Q2559974 Q2095063 Q1707931 Q1139031 Q3046393 Q957893 Q1304532 Q3793514 Q2395242 Q17150281 Q1508130 Q1230318 Q1815461 Q947098 Q3511835 Q973616 Q547209 Q1262492 Q60464 Q948153 Q1656323 Q1770642 Q147068 Q372959 Q2484046 Q1257227 Q1469774 Q1576105 Q1434597 Q1431567 Q538600 Q2186004 Q7764665 Q1526747 Q1911365 Q2844035 Q1962098 Q3214231 Q2158869 Q15623975 Q1066873 Q1305622 Q1064838 Q2743076 Q960349 Q3046393 Q1650124 Q957893 Q2742572 Q632753 Q2371931 Q309545 Q2471484 Q3240954 Q2733456 Q2489647 Q430852 Q1881769 Q2082212 Q1933767 Q2604605 Q615028 Q2361984 Q371295 Q1304726 Q1507560 Q2500228 Q4015045 Q4982254 Q2186004 Q773072 Q428158 Q2059143 Q3937291 Q3713975 Q2761816 Q7710892 Q1024839 Q12103455 Q7731174 Q430852 Q2604605 Q17636283 Q2749451 Q1443951 Q1507560 Q2186004
(c(Q838948),P161,Q100937) (c(Q838948),P161,Q11637) (c(Q838948),P161,Q112307)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[ANSWERS] have those people in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q100937'] [{'concept': 'Q838948'}, 'P161', 'Q11637'] [{'concept': 'Q838948'}, 'P161', 'Q112307']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . VALUES ( ?r ) { ( resource:Q1489956 ) ( resource:Q1290248 ) ( resource:Q345517 ) } . ?h property:P161 ?r }
The Barkleys of Broadway Follow the Fleet Blue Skies The Pleasure of His Company Finian's Rainbow Roberta The Belle of New York Ghost Story Swing Time Yolanda and the Thief The Story of Vernon and Irene Castle You'll Never Get Rich Top Hat That's Entertainment! Easter Parade A Damsel in Distress Midas Run The Purple Taxi The Amazing Dobermans The Band Wagon Carefree The Notorious Landlady The Gay Divorcee Brother, Can You Spare a Dime? Daddy Long Legs Silk Stockings You Were Never Lovelier Let's Dance Second Chorus Dancing Lady Broadway Melody of 1940 Funny Face The Towering Inferno That's Entertainment, Part II Three Little Words On the Beach Shall We Dance Flying Down to Rio Holiday Inn Royal Wedding Ziegfeld Follies The Sky's the Limit Girl Crazy Everybody Sing In the Good Old Summertime Gay Purr-ee Life Begins for Andy Hardy Broadway Melody of 1938 The music according to Antonio Carlos Jobim Meet Me in St. Louis A Star Is Born The Family Stone I Could Go On Singing The Pirate That's Entertainment! The Clock Easter Parade Babes on Broadway Babes in Arms For Me and My Gal Judgment at Nuremberg Summer Stock Presenting Lily Mars Love Finds Andy Hardy Thoroughbreds Don't Cry Till the Clouds Roll By The Harvey Girls Ziegfeld Girl Listen, Darling Thousands Cheer Strike Up the Band Little Nellie Kelly Pigskin Parade A Child Is Waiting Words and Music Andy Hardy Meets Debutante Vito Bubbles Ziegfeld Follies I Dood It The Wiz Duchess of Idaho Broadway Rhythm Meet Me in Las Vegas Two Girls and a Sailor That's Entertainment! III Cabin in the Sky Boogie-Woogie Dream The Duke Is Tops Till the Clouds Roll By Thousands Cheer Panama Hattie Stormy Weather Death of a Gunfighter Words and Music Ziegfeld Follies
Judgment at Nuremberg, Blue Skies and The Towering Inferno have those people in their star cast
Judgment at Nuremberg Blue Skies The Towering Inferno
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Fred Astaire'] [{'concept': 'work of art'}, 'cast member', 'Judy Garland'] [{'concept': 'work of art'}, 'cast member', 'Lena Horne']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . VALUES ( ?r ) { ( resource:Robert_Lewis ) ( resource:William_Frawley ) ( resource:Peter_Lawford ) } . ?h property:cast_member ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q372959
P1040
Q502895
USER
Who have editted that work of art ?
(Q372959,P1040,c(Q502895))
action filter_type
action find
entity Q372959
relation P1040
type Q502895
['Q372959', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q372959 property:P1040 ?s }
The Towering Inferno
action filter_type
action find
entity The Towering Inferno
relation film editor
type common name
['The Towering Inferno', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Towering_Inferno property:film_editor ?s }
[]
common name
Clarification for simple ques.
Q309545
SYSTEM
Did you mean Judgment at Nuremberg ?
Q309545 Q882343 Q372959
(Q309545,P1040,c(Q502895)) (Q882343,P1040,c(Q502895)) (Q372959,P1040,c(Q502895))
[ANSWER]
['Q309545', 'P1040', {'concept': 'Q502895'}] ['Q882343', 'P1040', {'concept': 'Q502895'}] ['Q372959', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q372959 property:P1040 ?s }
Judgment at Nuremberg Blue Skies The Towering Inferno
Did you mean Judgment at Nuremberg ?
Judgment at Nuremberg
['Judgment at Nuremberg', 'film editor', {'concept': 'common name'}] ['Blue Skies', 'film editor', {'concept': 'common name'}] ['The Towering Inferno', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Towering_Inferno property:film_editor ?s }
[]
Simple Question (Coreferenced)
USER
No, I meant The Towering Inferno. Could you tell me the answer for that?
(Q372959,P1040,c(Q502895))
Q372959
['Q372959', 'P1040', {'concept': 'Q502895'}]
['The Towering Inferno', 'film editor', {'concept': 'common name'}]
[]
Q325190 Q1039291
SYSTEM
Harold F. Kress, Carl Kress
Q325190 Q1039291
(Q372959,P1040,c(Q502895))
action filter_type
action find
entity Q372959
relation P1040
type Q502895
[ANSWERS] have editted that work of art
['Q372959', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q372959 property:P1040 ?s }
Harold F. Kress Carl Kress
Harold F. Kress and Carl Kress have editted that work of art
Harold F. Kress Carl Kress
action filter_type
action find
entity The Towering Inferno
relation film editor
type common name
['The Towering Inferno', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Towering_Inferno property:film_editor ?s }
[]