Simple Question (Direct)
Simple Question
Q274529
P86
Q502895
USER
Who wrote the music for The Book of Eli ?
(Q274529,P86,c(Q502895))
action filter_type
action find
entity Q274529
relation P86
type Q502895
['Q274529', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q274529 property:P86 ?w }
The Book of Eli
action filter_type
action find
entity The Book of Eli
relation composer
type common name
['The Book of Eli', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Book_of_Eli property:composer ?w }
[]
common name
Q520346
SYSTEM
Atticus Ross
Q520346
(Q274529,P86,c(Q502895))
action filter_type
action find
entity Q274529
relation P86
type Q502895
[ANSWER] wrote the music for The Book of Eli
['Q274529', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q274529 property:P86 ?w }
Atticus Ross
Atticus Ross wrote the music for The Book of Eli
Atticus Ross
action filter_type
action find
entity The Book of Eli
relation composer
type common name
['The Book of Eli', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Book_of_Eli property:composer ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q274529
P162
Q502895
USER
Who produced that work of art ?
(Q520346,P162,c(Q502895))
action filter_type
action find
entity Q274529
relation P162
type Q502895
['Q520346', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q274529 property:P162 ?q . ?q rdf:type ontology:Q502895 }
The Book of Eli
action filter_type
action find
entity The Book of Eli
relation producer
type common name
['Atticus Ross', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Book_of_Eli property:producer ?q . ?q rdf:type ontology:common_name }
[]
common name
Q42101 Q4972958 Q4757652
SYSTEM
Denzel Washington, Broderick Johnson, Andrew Kosove
Q4757652 Q433157 Q42101 Q4972958 Q539718
(Q520346,P162,c(Q502895))
action filter_type
action find
entity Q274529
relation P162
type Q502895
[ANSWERS] produced that work of art
['Q520346', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q274529 property:P162 ?q . ?q rdf:type ontology:Q502895 }
Andrew Kosove Susan Downey Denzel Washington Broderick Johnson Joel Silver
Denzel Washington, Broderick Johnson and Andrew Kosove produced that work of art
Denzel Washington Broderick Johnson Andrew Kosove
action filter_type
action find
entity The Book of Eli
relation producer
type common name
['Atticus Ross', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Book_of_Eli property:producer ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q42101 Q4972958 Q4757652
P1411
Q4220917
USER
What were those people nominated for ?
(Q42101,P1411,c(Q4220917)) (Q4972958,P1411,c(Q4220917)) (Q4757652,P1411,c(Q4220917))
action filter_type
action find
entity prev_answer
relation P1411
type Q4220917
['Q42101', 'P1411', {'concept': 'Q4220917'}] ['Q4972958', 'P1411', {'concept': 'Q4220917'}] ['Q4757652', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q4220917 . ?x property:P1411 ?j . VALUES ( ?x ) { ( resource:Q4757652 ) ( resource:Q433157 ) ( resource:Q42101 ) } }
Denzel Washington Broderick Johnson Andrew Kosove
action filter_type
action find
entity prev_answer
relation nominated for
type film award
['Denzel Washington', 'nominated for', {'concept': 'film award'}] ['Broderick Johnson', 'nominated for', {'concept': 'film award'}] ['Andrew Kosove', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:film_award . ?x property:nominated_for ?j . VALUES ( ?x ) { ( resource:Andrew_Kosove ) ( resource:Susan_Downey ) ( resource:Denzel_Washington ) } }
[]
film award
Q106291 Q1071903 Q103916
SYSTEM
Academy Award for Best Supporting Actor, Chicago Film Critics Association Award for Best Actor, Academy Award for Best Actor
Q1071903 Q103916 Q106291 Q102427 Q102427
(Q42101,P1411,c(Q4220917)) (Q4972958,P1411,c(Q4220917)) (Q4757652,P1411,c(Q4220917))
action filter_type
action find
entity prev_answer
relation P1411
type Q4220917
Those people were nominated for [ANSWERS]
['Q42101', 'P1411', {'concept': 'Q4220917'}] ['Q4972958', 'P1411', {'concept': 'Q4220917'}] ['Q4757652', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q4220917 . ?x property:P1411 ?j . VALUES ( ?x ) { ( resource:Q4757652 ) ( resource:Q433157 ) ( resource:Q42101 ) } }
Chicago Film Critics Association Award for Best Actor Academy Award for Best Actor Academy Award for Best Supporting Actor Academy Award for Best Picture Academy Award for Best Picture
Those people were nominated for Academy Award for Best Supporting Actor, Chicago Film Critics Association Award for Best Actor and Academy Award for Best Actor
Academy Award for Best Supporting Actor Chicago Film Critics Association Award for Best Actor Academy Award for Best Actor
action filter_type
action find
entity prev_answer
relation nominated for
type film award
['Denzel Washington', 'nominated for', {'concept': 'film award'}] ['Broderick Johnson', 'nominated for', {'concept': 'film award'}] ['Andrew Kosove', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:film_award . ?x property:nominated_for ?j . VALUES ( ?x ) { ( resource:Andrew_Kosove ) ( resource:Susan_Downey ) ( resource:Denzel_Washington ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42101
P641
Q349
USER
Which sport did Denzel Washington participate in ?
(Q42101,P641,c(Q349))
action filter_type
action find
entity Q42101
relation P641
type Q349
['Q42101', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q42101 property:P641 ?i . ?i rdf:type ontology:Q349 }
Denzel Washington
action filter_type
action find
entity Denzel Washington
relation sport
type sport
['Denzel Washington', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Denzel_Washington property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q42101,P641,c(Q349))
action filter_type
action find
entity Q42101
relation P641
type Q349
Denzel Washington participated in [ANSWER]
['Q42101', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q42101 property:P641 ?i . ?i rdf:type ontology:Q349 }
basketball
Denzel Washington participated in basketball
basketball
action filter_type
action find
entity Denzel Washington
relation sport
type sport
['Denzel Washington', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Denzel_Washington property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q302041
Q349
USER
And what about Aaron Gavey?
(Q302041,P641,c(Q349))
action filter_type
action find
entity Q302041
relation P641
type Q349
['Q302041', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q302041 property:P641 ?y }
Aaron Gavey
action filter_type
action find
entity Aaron Gavey
relation sport
type sport
['Aaron Gavey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Aaron_Gavey property:sport ?y }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q302041,P641,c(Q349))
action filter_type
action find
entity Q302041
relation P641
type Q349
[ANSWER]
['Q302041', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q302041 property:P641 ?y }
ice hockey
ice hockey
action filter_type
action find
entity Aaron Gavey
relation sport
type sport
['Aaron Gavey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Aaron_Gavey property:sport ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q349 Q2342494
USER
Which sports are the area of greater number of collectables than that sport ?
(c(Q2342494),P101,c(Q349))
action greater
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q41466
relation P101
type Q349
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P101 ?f . ?f rdf:type ontology:Q349 . ?p rdf:type ontology:Q2342494 } GROUP BY ?f } . FILTER ( ?g > ?h ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q41466 property:P101 ?i . ?i rdf:type ontology:Q349 } } }
action greater
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity ice hockey
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:field_of_work ?f . ?f rdf:type ontology:sport . ?p rdf:type ontology:collectable } GROUP BY ?f } . FILTER ( ?g > ?h ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:ice_hockey property:field_of_work ?i . ?i rdf:type ontology:sport } } }
[]
sport collectable
Q1109032
SYSTEM
college football
Q1109032
(c(Q2342494),P101,c(Q349))
action greater
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q41466
relation P101
type Q349
[ANSWER] is the area of greater number of collectables than that sport
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P101 ?f . ?f rdf:type ontology:Q349 . ?p rdf:type ontology:Q2342494 } GROUP BY ?f } . FILTER ( ?g > ?h ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q41466 property:P101 ?i . ?i rdf:type ontology:Q349 } } }
college football
College football is the area of greater number of collectables than that sport
college football
action greater
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity ice hockey
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:field_of_work ?f . ?f rdf:type ontology:sport . ?p rdf:type ontology:collectable } GROUP BY ?f } . FILTER ( ?g > ?h ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:ice_hockey property:field_of_work ?i . ?i rdf:type ontology:sport } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q103916
P1411 P495
Q838948
USER
Which works of art were nominated for Academy Award for Best Actor and originated in United States of America ?
AND((c(Q838948),P1411,Q103916), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q103916
relation P1411
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P1411', 'Q103916'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?r WHERE { ?r property:P1411 resource:Q103916 . ?r property:P495 resource:Q30 . ?r rdf:type ontology:Q838948 }
United States of America Academy Award for Best Actor
action filter_type
action intersection
action find_reverse
entity Academy Award for Best Actor
relation nominated for
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Actor'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?r WHERE { ?r property:nominated_for resource:Academy_Award_for_Best_Actor . ?r property:country_of_origin resource:United_States_of_America . ?r rdf:type ontology:work_of_art }
[]
work of art
Q190086 Q208632 Q1305029 Q165817 Q1143339 Q640387 Q622240 Q211373 Q842073 Q1623002
SYSTEM
Some of them are Some Like It Hot, It Happened One Night, The Country Girl, Saving Private Ryan, Sands of Iwo Jima, I Am Sam, In the Heat of the Night, Driving Miss Daisy, Awakenings, Lenny
Q556967 Q352431 Q1193825 Q501995 Q839042 Q784181 Q2875 Q329131 Q463615 Q193835 Q583525 Q164103 Q463832 Q780350 Q598245 Q233464 Q1048360 Q1508611 Q185888 Q1471849 Q727016 Q46717 Q1345583 Q637180 Q1139454 Q272860 Q1140611 Q223884 Q14918344 Q208204 Q691672 Q508841 Q24815 Q854708 Q134773 Q1210973 Q916287 Q3567686 Q183239 Q1128750 Q621716 Q464111 Q109116 Q1197377 Q2247847 Q25139 Q934036 Q2704665 Q47703 Q775988 Q1216682 Q923925 Q531332 Q496734 Q63009 Q750077 Q1216268 Q183066 Q174371 Q1545838 Q1139023 Q74958 Q211429 Q19347583 Q741878 Q1439574 Q570221 Q1332957 Q319061 Q139326 Q542988 Q62665 Q132689 Q2294168 Q736969 Q105702 Q2558515 Q133654 Q1414527 Q1116991 Q280918 Q488376 Q61696 Q1581723 Q1623002 Q16970789 Q945074 Q518710 Q107270 Q228186 Q32433 Q1518111 Q251997 Q2414837 Q1195631 Q126896 Q832732 Q464653 Q244865 Q475529 Q1523586 Q898840 Q201924 Q212129 Q686533 Q1198073 Q1520430 Q622240 Q1198497 Q527588 Q774800 Q213411 Q334735 Q1194888 Q244315 Q483941 Q1520037 Q426466 Q776337 Q13255497 Q165817 Q201215 Q1412513 Q515572 Q5477105 Q221249 Q679373 Q820867 Q614864 Q184255 Q325643 Q339425 Q679746 Q458656 Q1757216 Q1423854 Q498822 Q632753 Q2698384 Q733627 Q797242 Q1143771 Q128518 Q283586 Q76824 Q669592 Q160618 Q742569 Q1539062 Q818710 Q640387 Q1198269 Q237134 Q177922 Q1063525 Q2296064 Q676039 Q806331 Q1620455 Q1198860 Q204212 Q201687 Q1191093 Q1353441 Q1619752 Q1194613 Q2315913 Q756329 Q1618533 Q627438 Q3207620 Q130769 Q1243374 Q2321222 Q576371 Q1580399 Q1625242 Q193570 Q193577 Q564893 Q2060364 Q647599 Q726823 Q208572 Q2032599 Q752017 Q1113987 Q1579960 Q1171440 Q18547944 Q1232912 Q488041 Q669068 Q645094 Q220780 Q463733 Q221586 Q171669 Q241876 Q1321622 Q188718 Q188652 Q5435430 Q1811134 Q765264 Q190956 Q190086 Q3023357 Q603263 Q623443 Q201674 Q689842 Q478371 Q426517 Q204057 Q1474263 Q1660686 Q1129778 Q1395728 Q176826 Q3520498 Q212041 Q246997 Q1334782 Q300330 Q221594 Q1545071 Q939424 Q713979 Q451603 Q104137 Q734950 Q217627 Q332348 Q3231621 Q1130084 Q241085 Q873186 Q817159 Q841781 Q1305622 Q1579747 Q587891 Q116845 Q1137213 Q761302 Q184768 Q1169951 Q273686 Q466297 Q684150 Q1348423 Q154581 Q644987 Q400985 Q220735 Q63026 Q729991 Q270510 Q1551887 Q1196202 Q1305029 Q866120 Q1304397 Q308929 Q1304965 Q1622751 Q827375 Q1215857 Q18692630 Q151945 Q47221 Q1790093 Q813724 Q1144850 Q470916 Q390097 Q1215865 Q1211819 Q419838 Q1356753 Q384397 Q185048 Q913545 Q172241 Q27149 Q1217612 Q572165 Q974706 Q1143339 Q920105 Q211206 Q329709 Q106316 Q858467 Q207588 Q597239 Q9013673 Q300559 Q1067502 Q309545 Q181776 Q47654 Q463869 Q237116 Q1392744 Q606928 Q15623971 Q657079 Q188845 Q245208 Q918367 Q963045 Q18754959 Q944624 Q694140 Q326114 Q830778 Q564298 Q1156078 Q2264347 Q318169 Q221820 Q18002795 Q860764 Q1323446 Q220515 Q842073 Q204191 Q1428094 Q1114683 Q460664 Q217220 Q1466736 Q638085 Q471159 Q196977 Q524997 Q321561 Q1630422 Q738552 Q1521238 Q671718 Q468877 Q180098 Q608943 Q786585 Q1218542 Q104123 Q1341009 Q771605 Q4430 Q154077 Q179460 Q1500395 Q208632 Q211372 Q211373 Q1430527 Q20456 Q3337646 Q1419980 Q619820
AND((c(Q838948),P1411,Q103916), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q103916
relation P1411
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P1411', 'Q103916'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?r WHERE { ?r property:P1411 resource:Q103916 . ?r property:P495 resource:Q30 . ?r rdf:type ontology:Q838948 }
Chaplin Adaptation Affliction Cape Fear Nixon Cyrano de Bergerac Gone with the Wind Jerry Maguire Capote Good Will Hunting Here Comes Mr. Jordan A Beautiful Mind The Insider Viva Zapata! Bulldog Drummond Annie Hall The Visitor Moulin Rouge The Social Network What's Love Got to Do with It Boys Town Pirates of the Caribbean: The Curse of the Black Pearl The Bad and the Beautiful Heaven Can Wait The Straight Story The Elephant Man Wuthering Heights Hotel Rwanda The Imitation Game Finding Neverland Frost/Nixon House of Sand and Fog Citizen Kane Kotch Forrest Gump Reversal of Fortune The Sand Pebbles When My Baby Smiles at Me The Curious Case of Benjamin Button Crazy Heart Madame Curie The Boys from Brazil The Great Dictator The Devil and Daniel Webster Body and Soul American Beauty Fiddler on the Roof None but the Lonely Heart The Godfather Mourning Becomes Electra Days of Wine and Roses Sue X The Big House Equus The Prince of Tides The People vs. Larry Flynt Absence of Malice The Hurt Locker 127 Hours Night Must Fall The Robe Blood Diamond Up in the Air The Danish Girl Good Morning, Vietnam Johnny Belinda Reuben, Reuben Elmer Gantry Good Night, and Good Luck. The Wrestler Anchors Aweigh The Sting Casablanca Murphy's Romance Guess Who's Coming to Dinner Dr. Strangelove A Song to Remember The Silence of the Lambs Algiers Five Easy Pieces Leaving Las Vegas Anatomy of a Murder Midnight Cowboy The Love Parade Lenny American Sniper Being There The Man in the Glass Booth Lost in Translation Lawrence of Arabia Lincoln Bright Victory Cimarron The Valiant The Man with the Golden Arm In the Valley of Elah The Hurricane The Quiet American Champion Mr. Deeds Goes to Town A Hatful of Rain Gentleman's Agreement The Aviator A Streetcar Named Desire Gods and Monsters Hud The Human Comedy In the Heat of the Night The Thin Man Under the Volcano Disraeli Cast Away Lilies of the Field Twelve O'Clock High There Will Be Blood Schindler's List Separate Tables Skippy In Old Arizona Birdman Saving Private Ryan My Fair Lady Harvey For Whom the Bell Tolls Foxcatcher Tootsie The Verdict Berkeley Square Sayonara Million Dollar Baby Who's Afraid of Virginia Woolf? Random Harvest The Goodbye Girl Dog Day Afternoon The Great Santini Lust for Life The Philadelphia Story Babes in Arms Goodbye, Mr. Chips A Place in the Sun Ray The Guardsman Gladiator The Master Cat Ballou Giant Brokeback Mountain Thunderbolt Broadcast News Zorba the Greek I Am Sam The Old Man and the Sea The Lost Weekend To Kill a Mockingbird The Defiant Ones Love Me or Leave Me The Grapes of Wrath The Rogue Song The Pied Piper The Pride of the Yankees Rebecca Milk Harry and Tonto All That Jazz The Story of Louis Pasteur The Jolson Story Give 'em Hell Atlantic City Alibi Arthur The Last Angry Man San Francisco Conquest Death of a Salesman Round Midnight The Affairs of Cellini The Remains of the Day Sunset Boulevard Kramer vs. Kramer Mr. Holland's Opus Ulee's Gold The China Syndrome The Stunt Man American History X Life with Father Eastern Promises Tender Mercies I Never Sang for My Father The Last Detail The Martian A Double Life Witness The Front Page The Best Years of Our Lives Raging Bull The Champ Mystic River One Flew Over the Cuckoo's Nest Captains Courageous Yankee Doodle Dandy The Bridge on the River Kwai Rocky The Caine Mutiny My Man Godfrey The Magnificent Yankee Amadeus Some Like It Hot 12 Years a Slave True Grit Wag the Dog The Deer Hunter Invictus Mrs. Miniver ...And Justice for All Philadelphia Hustle & Flow Black Fury East of Eden Fanny The Last King of Scotland Dallas Buyers Club Sweeney Todd: The Demon Barber of Fleet Street Before Night Falls The Heart is a Lonely Hunter A Better Life As Good as It Gets Ironweed Sergeant York Cat on a Hot Tin Roof On Golden Pond Unforgiven Julius Caesar The Graduate Wall Street The Keys of the Kingdom The Hustler Bugsy A Star Is Born All the King's Men Gaslight A Star Is Born The Big Pond Dead Man Walking Silver Linings Playbook Runaway Train Quills The Godfather Part II Ship of Fools The Descendants The Fisher King Cool Hand Luke Salvador Gangs of New York Chinatown Missing The French Connection The English Patient Love Story The Apartment Nobody's Fool The Pawnbroker The Country Girl Mr. Smith Goes to Washington My Favorite Year Training Day The Fixer Sounder The Green Goddess The Russians Are Coming, the Russians Are Coming Trumbo In the Bedroom Taxi Driver The Royal Family of Broadway Becket Father of the Bride The Color of Money Cold Mountain Kiss of the Spider Woman The Buddy Holly Story Penny Serenade Stalag 17 The African Queen Dodsworth Ali The Shawshank Redemption The King and I The Yearling Network Wild Is the Wind Sands of Iwo Jima Watch on the Rhine Stand and Deliver Mutiny on the Bounty Dead Poets Society Big From Here to Eternity Reds American Hustle A Single Man Charly Judgment at Nuremberg Bonnie and Clyde Saturday Night Fever The Informer Marty The Wolf of Wall Street Wilson The Sunshine Boys Serpico Rain Man High Noon Mississippi Burning Bad Day at Black Rock Steve Jobs I Am a Fugitive from a Chain Gang Michael Clayton True Grit Dr. Jekyll and Mr. Hyde Flight Half Nelson Sling Blade Abe Lincoln in Illinois Moneyball The Revenant A Free Soul Children of a Lesser God The Pursuit of Happyness Awakenings It's a Wonderful Life Sitting Pretty Coming Home Prizzi's Honor Patton Pollock The Bells of St. Mary's Born on the Fourth of July Witness for the Prosecution Angels with Dirty Faces Scent of a Woman The Hospital The Life of Emile Zola The Hasty Heart The Search Going My Way Ben-Hur Birdman of Alcatraz Sweet and Lowdown The Great White Hope Pulp Fiction Starman Save the Tiger Cleopatra Walk the Line About Schmidt Inherit the Wind It Happened One Night On the Waterfront Driving Miss Daisy Condemned Dances with Wolves Nebraska Sleuth The Apostle
Driving Miss Daisy, Awakenings and Lenny were nominated for Academy Award for Best Actor and originated in United States of America
Some Like It Hot It Happened One Night The Country Girl Saving Private Ryan Sands of Iwo Jima I Am Sam In the Heat of the Night Driving Miss Daisy Awakenings Lenny
action filter_type
action intersection
action find_reverse
entity Academy Award for Best Actor
relation nominated for
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Actor'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?r WHERE { ?r property:nominated_for resource:Academy_Award_for_Best_Actor . ?r property:country_of_origin resource:United_States_of_America . ?r rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1143339
P57
Q502895
USER
Who directed that work of art ?
(Q1143339,P57,c(Q502895))
action filter_type
action find
entity Q1143339
relation P57
type Q502895
['Q1143339', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1143339 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Sands of Iwo Jima
action filter_type
action find
entity Sands of Iwo Jima
relation director
type common name
['Sands of Iwo Jima', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Sands_of_Iwo_Jima property:director ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q165817
SYSTEM
Did you mean Saving Private Ryan ?
Q190086 Q208632 Q1305029 Q165817 Q1143339 Q640387 Q622240 Q211373 Q842073 Q1623002
(Q190086,P57,c(Q502895)) (Q208632,P57,c(Q502895)) (Q1305029,P57,c(Q502895)) (Q165817,P57,c(Q502895)) (Q1143339,P57,c(Q502895)) (Q640387,P57,c(Q502895)) (Q622240,P57,c(Q502895)) (Q211373,P57,c(Q502895)) (Q842073,P57,c(Q502895)) (Q1623002,P57,c(Q502895))
[ANSWER]
['Q190086', 'P57', {'concept': 'Q502895'}] ['Q208632', 'P57', {'concept': 'Q502895'}] ['Q1305029', 'P57', {'concept': 'Q502895'}] ['Q165817', 'P57', {'concept': 'Q502895'}] ['Q1143339', 'P57', {'concept': 'Q502895'}] ['Q640387', 'P57', {'concept': 'Q502895'}] ['Q622240', 'P57', {'concept': 'Q502895'}] ['Q211373', 'P57', {'concept': 'Q502895'}] ['Q842073', 'P57', {'concept': 'Q502895'}] ['Q1623002', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1143339 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Some Like It Hot It Happened One Night The Country Girl Saving Private Ryan Sands of Iwo Jima I Am Sam In the Heat of the Night Driving Miss Daisy Awakenings Lenny
Did you mean Saving Private Ryan ?
Saving Private Ryan
['Some Like It Hot', 'director', {'concept': 'common name'}] ['It Happened One Night', 'director', {'concept': 'common name'}] ['The Country Girl', 'director', {'concept': 'common name'}] ['Saving Private Ryan', 'director', {'concept': 'common name'}] ['Sands of Iwo Jima', 'director', {'concept': 'common name'}] ['I Am Sam', 'director', {'concept': 'common name'}] ['In the Heat of the Night', 'director', {'concept': 'common name'}] ['Driving Miss Daisy', 'director', {'concept': 'common name'}] ['Awakenings', 'director', {'concept': 'common name'}] ['Lenny', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Sands_of_Iwo_Jima property:director ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Sands of Iwo Jima. Could you tell me the answer for that?
(Q1143339,P57,c(Q502895))
Q1143339
['Q1143339', 'P57', {'concept': 'Q502895'}]
['Sands of Iwo Jima', 'director', {'concept': 'common name'}]
[]
Q959677
SYSTEM
Allan Dwan
Q959677
(Q1143339,P57,c(Q502895))
action filter_type
action find
entity Q1143339
relation P57
type Q502895
[ANSWER] directed that work of art
['Q1143339', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1143339 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Allan Dwan
Allan Dwan directed that work of art
Allan Dwan
action filter_type
action find
entity Sands of Iwo Jima
relation director
type common name
['Sands of Iwo Jima', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Sands_of_Iwo_Jima property:director ?w . ?w rdf:type ontology:common_name }
[]