Simple Question (Direct)
Simple Question
Q1105359
P1411
Q618779
USER
Which awards were Cocktail a recipient of ?
(Q1105359,P1411,c(Q618779))
action filter_type
action find
entity Q1105359
relation P1411
type Q618779
['Q1105359', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . resource:Q1105359 property:P1411 ?z }
Cocktail
action filter_type
action find
entity Cocktail
relation nominated for
type award
['Cocktail', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . resource:Cocktail property:nominated_for ?z }
[]
award
Q1780634 Q1421666 Q602299
SYSTEM
Golden Raspberry Award for Worst Picture, Golden Raspberry Award for Worst Screenplay, Golden Raspberry Award for Worst Actor
Q1780634 Q1421666 Q602299 Q1238714
(Q1105359,P1411,c(Q618779))
action filter_type
action find
entity Q1105359
relation P1411
type Q618779
Cocktail were awarded [ANSWERS]
['Q1105359', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . resource:Q1105359 property:P1411 ?z }
Golden Raspberry Award for Worst Picture Golden Raspberry Award for Worst Screenplay Golden Raspberry Award for Worst Actor Golden Raspberry Award for Worst Director
Cocktail were awarded Golden Raspberry Award for Worst Picture, Golden Raspberry Award for Worst Screenplay and Golden Raspberry Award for Worst Actor
Golden Raspberry Award for Worst Picture Golden Raspberry Award for Worst Screenplay Golden Raspberry Award for Worst Actor
action filter_type
action find
entity Cocktail
relation nominated for
type award
['Cocktail', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . resource:Cocktail property:nominated_for ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1105359
P272
Q43229
USER
Which organizations were the producers of Cocktail ?
(Q1105359,P272,c(Q43229))
action filter_type
action find
entity Q1105359
relation P272
type Q43229
['Q1105359', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q1105359 property:P272 ?o . ?o rdf:type ontology:Q43229 }
Cocktail
action filter_type
action find
entity Cocktail
relation production company
type organization
['Cocktail', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Cocktail property:production_company ?o . ?o rdf:type ontology:organization }
[]
organization
Q6056696 Q3483998
SYSTEM
Interscope Communications, Silver Screen Partners
Q6056696 Q3483998
(Q1105359,P272,c(Q43229))
action filter_type
action find
entity Q1105359
relation P272
type Q43229
[ANSWERS] were the producers of Cocktail
['Q1105359', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q1105359 property:P272 ?o . ?o rdf:type ontology:Q43229 }
Interscope Communications Silver Screen Partners
Interscope Communications and Silver Screen Partners were the producers of Cocktail
Interscope Communications Silver Screen Partners
action filter_type
action find
entity Cocktail
relation production company
type organization
['Cocktail', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Cocktail property:production_company ?o . ?o rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19618377
Q43229
USER
And what about Aquí Paz y después Gloria?
(Q19618377,P272,c(Q43229))
action filter_type
action find
entity Q19618377
relation P272
type Q43229
['Q19618377', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q19618377 property:P272 ?u . ?u rdf:type ontology:Q43229 }
Aquí Paz y después Gloria
action filter_type
action find
entity Aquí Paz y después Gloria
relation production company
type organization
['Aquí Paz y después Gloria', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Aquí_Paz_y_después_Gloria property:production_company ?u . ?u rdf:type ontology:organization }
[]
organization
Q6087363
SYSTEM
Producciones Mandarina
Q6087363
(Q19618377,P272,c(Q43229))
action filter_type
action find
entity Q19618377
relation P272
type Q43229
[ANSWER]
['Q19618377', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q19618377 property:P272 ?u . ?u rdf:type ontology:Q43229 }
Producciones Mandarina
Producciones Mandarina
action filter_type
action find
entity Aquí Paz y después Gloria
relation production company
type organization
['Aquí Paz y después Gloria', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Aquí_Paz_y_después_Gloria property:production_company ?u . ?u rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
Which awards were around 189 people and works of art a recipient of ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 189
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?k WHERE { { ?q property:P1411 ?k . ?k rdf:type ontology:Q618779 . ?q rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q618779 . ?q rdf:type ontology:Q838948 . ?q property:P1411 ?k } } GROUP BY ?k } . FILTER ( ?j = 189 ) }
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 189
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?k WHERE { { ?q property:nominated_for ?k . ?k rdf:type ontology:award . ?q rdf:type ontology:common_name } UNION { ?k rdf:type ontology:award . ?q rdf:type ontology:work_of_art . ?q property:nominated_for ?k } } GROUP BY ?k } . FILTER ( ?j = 189 ) }
[]
award common name work of art
Q1043985 Q645595 Q24137
SYSTEM
Carnegie Medal, César Award for Best Film, César Award for Best Director
Q7821796 Q640374 Q1723064 Q1445521 Q645595 Q377293 Q1043985 Q1537996 Q627778 Q13449461 Q185299 Q1474410 Q24137 Q3993187
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 189
[ANSWERS] were around 189 people and works of art a recipient of
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?k WHERE { { ?q property:P1411 ?k . ?k rdf:type ontology:Q618779 . ?q rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q618779 . ?q rdf:type ontology:Q838948 . ?q property:P1411 ?k } } GROUP BY ?k } . FILTER ( ?j = 189 ) }
Tony Award for Best Lighting Design Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play César Award for Best Film Tony Award for Best Direction of a Musical Carnegie Medal Tony Award for Best Actress in a Musical Tony Award for Best Featured Actress in a Play Tony Award for Best Scenic Design Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play César Award for Best Director Tony Award for Best Costume Design
Carnegie Medal, César Award for Best Film and César Award for Best Director were around 189 people and works of art a recipient of
Carnegie Medal César Award for Best Film César Award for Best Director
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 189
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?k WHERE { { ?q property:nominated_for ?k . ?k rdf:type ontology:award . ?q rdf:type ontology:common_name } UNION { ?k rdf:type ontology:award . ?q rdf:type ontology:work_of_art . ?q property:nominated_for ?k } } GROUP BY ?k } . FILTER ( ?j = 189 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q103360 Q1780634
P1411
Q838948
USER
Which works of art were nominated for Golden Raspberry Award for Worst Picture or Academy Award for Best Director ?
OR((c(Q838948),P1411,Q1780634), (c(Q838948),P1411,Q103360))
action filter_type
action union
action find_reverse
entity Q1780634
relation P1411
action find_reverse
entity Q103360
relation P1411
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P1411', 'Q1780634'], [{'concept': 'Q838948'}, 'P1411', 'Q103360']]}
SELECT DISTINCT ?q WHERE { { ?q property:P1411 ?m . VALUES ( ?m ) { ( resource:Q1780634 ) ( resource:Q103360 ) } } . ?q rdf:type ontology:Q838948 }
Academy Award for Best Director Golden Raspberry Award for Worst Picture
action filter_type
action union
action find_reverse
entity Golden Raspberry Award for Worst Picture
relation nominated for
action find_reverse
entity Academy Award for Best Director
relation nominated for
type work of art
{'OR': [[{'concept': 'work of art'}, 'nominated for', 'Golden Raspberry Award for Worst Picture'], [{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Director']]}
SELECT DISTINCT ?q WHERE { { ?q property:nominated_for ?m . VALUES ( ?m ) { ( resource:Golden_Raspberry_Award_for_Worst_Picture ) ( resource:Academy_Award_for_Best_Director ) } } . ?q rdf:type ontology:work_of_art }
[]
work of art
Q133654 Q1045165 Q645094 Q190086 Q1336107 Q104123 Q643811 Q244257 Q720724 Q617997
SYSTEM
Some of them are The Silence of the Lambs, Shane, The Best Years of Our Lives, Some Like It Hot, Moonstruck, Pulp Fiction, War and Peace, The Tree of Life, Babe, Room at the Top
Q400093 Q152456 Q651722 Q497311 Q202326 Q1624413 Q79503 Q207588 Q2875 Q34414 Q1129534 Q125076 Q193570 Q2579784 Q193835 Q583525 Q201293 Q1425815 Q463832 Q233464 Q267866 Q251997 Q1508611 Q44578 Q185888 Q182692 Q727016 Q1824959 Q162729 Q637180 Q214801 Q272860 Q1140611 Q1052260 Q203574 Q14918344 Q182944 Q691672 Q1166180 Q24815 Q284686 Q134773 Q1210973 Q458629 Q59073 Q206124 Q180098 Q391172 Q205321 Q1532392 Q1621402 Q976149 Q301649 Q1551573 Q25139 Q269331 Q934036 Q272599 Q47703 Q165651 Q750077 Q183063 Q183066 Q103474 Q463615 Q211429 Q309545 Q220741 Q1471328 Q1439574 Q913389 Q1020603 Q747570 Q2345 Q190643 Q43228 Q244448 Q171669 Q814778 Q1360124 Q132689 Q736969 Q1207936 Q503313 Q952142 Q1141460 Q1218959 Q988004 Q280918 Q61696 Q1581723 Q1623002 Q19355 Q658204 Q241085 Q1027212 Q131074 Q188000 Q107270 Q228186 Q32433 Q182727 Q127367 Q302490 Q1045165 Q237116 Q1122688 Q50714 Q475529 Q648977 Q1620416 Q658041 Q898840 Q201924 Q258647 Q606928 Q195274 Q6090671 Q174284 Q463620 Q1198073 Q1520430 Q622240 Q18407 Q200827 Q1198497 Q707986 Q141359 Q1365174 Q191074 Q200299 Q244315 Q159063 Q483941 Q105702 Q426466 Q776337 Q13255497 Q741823 Q165817 Q157044 Q201215 Q641061 Q185214 Q5477105 Q646031 Q570567 Q221249 Q679373 Q1326026 Q614864 Q152780 Q659843 Q627157 Q184255 Q325643 Q339425 Q458656 Q133654 Q19850715 Q466781 Q784812 Q498822 Q728485 Q733627 Q466186 Q797242 Q128518 Q1809616 Q24871 Q223367 Q232000 Q319061 Q669592 Q160618 Q1168233 Q273978 Q818710 Q237134 Q177922 Q1063525 Q188718 Q165713 Q1213396 Q17738 Q577757 Q1195531 Q577754 Q11593 Q1336107 Q165392 Q207921 Q630132 Q463869 Q204212 Q42047 Q201687 Q845057 Q775970 Q1033497 Q605226 Q114115 Q3521099 Q1353441 Q139258 Q18002795 Q826494 Q720724 Q756882 Q323472 Q494582 Q130769 Q696057 Q1625242 Q117315 Q1811134 Q193577 Q1536746 Q617997 Q304074 Q222720 Q115760 Q632718 Q1620831 Q271830 Q1025096 Q1113987 Q274167 Q620731 Q1232912 Q488041 Q504157 Q669068 Q645094 Q649165 Q11621 Q150804 Q825079 Q1140171 Q160060 Q1323132 Q190956 Q612540 Q221586 Q1621941 Q494085 Q1620549 Q961403 Q896103 Q1342900 Q1634805 Q1321622 Q244257 Q676039 Q188652 Q18416 Q261403 Q1056698 Q136605 Q463733 Q126183 Q190086 Q1198545 Q778696 Q3023357 Q1722631 Q153723 Q1436798 Q172975 Q1619389 Q201674 Q478371 Q272608 Q18154496 Q1129778 Q643811 Q1125384 Q375594 Q517265 Q278513 Q221491 Q181555 Q1170179 Q375855 Q939424 Q208266 Q1071169 Q713979 Q12018 Q451603 Q104137 Q181086 Q773964 Q323827 Q217627 Q756329 Q451558 Q1130084 Q183239 Q313315 Q873186 Q1218318 Q817159 Q220955 Q189889 Q62665 Q471716 Q185071 Q587891 Q1004531 Q1305546 Q339876 Q637835 Q116845 Q669749 Q184768 Q287536 Q798692 Q1423540 Q273686 Q1412037 Q1146570 Q154581 Q2349200 Q644987 Q220735 Q63026 Q470560 Q270510 Q1779938 Q183081 Q218999 Q1305029 Q1105359 Q866120 Q1091580 Q18428 Q1195311 Q726823 Q220780 Q1571464 Q166462 Q1424258 Q813724 Q174699 Q1166360 Q1217057 Q1306380 Q737065 Q909816 Q1215865 Q729991 Q1356753 Q384397 Q185048 Q470218 Q27149 Q273704 Q206576 Q1217612 Q320588 Q572165 Q212775 Q1724081 Q4103201 Q1111228 Q282804 Q746574 Q329709 Q106316 Q304488 Q135315 Q597239 Q209170 Q1300420 Q2302213 Q251559 Q9013673 Q916645 Q478209 Q830874 Q1282209 Q181776 Q565643 Q171861 Q1137856 Q565231 Q275187 Q152493 Q1392744 Q660950 Q212129 Q781608 Q188845 Q245208 Q918363 Q918367 Q963045 Q694140 Q605867 Q18703032 Q326114 Q814296 Q729026 Q472600 Q60072 Q1543253 Q1193261 Q860764 Q1757288 Q753107 Q20456 Q221384 Q204191 Q1114683 Q460664 Q217220 Q731082 Q638085 Q471159 Q196977 Q524997 Q321561 Q917469 Q163038 Q675937 Q142292 Q1581633 Q738552 Q1142877 Q27178 Q671718 Q468877 Q1419980 Q1141493 Q478780 Q202211 Q208632 Q637820 Q564802 Q211372 Q164103 Q3337646 Q180214 Q104123
OR((c(Q838948),P1411,Q1780634), (c(Q838948),P1411,Q103360))
action filter_type
action union
action find_reverse
entity Q1780634
relation P1411
action find_reverse
entity Q103360
relation P1411
type Q838948
[ANSWERS] were nominated for Golden Raspberry Award for Worst Picture or Academy Award for Best Director
{'OR': [[{'concept': 'Q838948'}, 'P1411', 'Q1780634'], [{'concept': 'Q838948'}, 'P1411', 'Q103360']]}
SELECT DISTINCT ?q WHERE { { ?q property:P1411 ?m . VALUES ( ?m ) { ( resource:Q1780634 ) ( resource:Q103360 ) } } . ?q rdf:type ontology:Q838948 }
The Citadel Munich Quiz Show Spellbound The Godfather Part III Hope and Glory Juno From Here to Eternity Gone with the Wind Rear Window Norbit Slumdog Millionaire Sunset Boulevard Gravity Good Will Hunting Here Comes Mr. Jordan Roman Holiday Captain Blood The Insider Annie Hall Little Nicky Cimarron Moulin Rouge Titanic The Social Network Apocalypse Now Boys Town Lili Braveheart Heaven Can Wait The Truman Show The Elephant Man Wuthering Heights New Year's Eve A Room with a View The Imitation Game Shakespeare in Love Frost/Nixon Julia Citizen Kane National Velvet Forrest Gump Reversal of Fortune Billy Elliot Places in the Heart Midnight in Paris Ben-Hur Secrets & Lies The Killers Peyton Place Friendly Persuasion Laura Lady for a Day The Player American Beauty Precious Fiddler on the Roof All Quiet on the Western Front The Godfather Fanny and Alexander The People vs. Larry Flynt The Sixth Sense The Hurt Locker 2001: A Space Odyssey Capote Up in the Air Judgment at Nuremberg City of God Kitty Foyle Johnny Belinda Howards End Stage Door An American in Paris 12 Angry Men Platoon Goodbye, Mr. Chips How Green Was My Valley One Flew Over the Cuckoo's Nest Deliverance Sunday, Bloody Sunday Casablanca Guess Who's Coming to Dinner The Woman in the Dunes Ordinary People Three Colors: Red Striptease The Last Picture Show A Letter to Three Wives Leaving Las Vegas Midnight Cowboy The Love Parade Lenny Life Is Beautiful Blowup Bugsy Revolution The Lord of the Rings: The Return of the King Crash Lost in Translation Lawrence of Arabia Lincoln The Crying Game The Lord of the Rings: The Fellowship of the Ring The Mission Shane Marty The Postman Stagecoach Mr. Deeds Goes to Town The Cider House Rules Kings Row Thelma & Louise Gentleman's Agreement The Aviator Il Postino: The Postman Wilson Little Women It's Pat Raiders of the Lost Ark The Broadway Melody Hud The Human Comedy In the Heat of the Night La Dolce Vita The Wicker Man The Thin Man The Diary of Anne Frank Oliver! Divorce, Italian Style Babel All About Eve There Will Be Blood The Reader Schindler's List Dr. Strangelove Skippy In Old Arizona Birdman JFK Saving Private Ryan The Hours My Fair Lady The Greatest Show on Earth Anna Christie Foxcatcher The Last Temptation of Christ Last Tango in Paris Tootsie The Verdict Tess Sayonara Life of Pi The Snake Pit The Collector Million Dollar Baby Who's Afraid of Virginia Woolf? Random Harvest Dog Day Afternoon The Silence of the Lambs The Big Short All the President's Men The Battle of Algiers The Philadelphia Story The Asphalt Jungle A Place in the Sun A Fish Called Wanda Ray Gladiator I Want to Live! Avatar The Queen Butch Cassidy and the Sundance Kid Good Night, and Good Luck. Giant Brokeback Mountain The Letter Crouching Tiger, Hidden Dragon Zorba the Greek The Lost Weekend To Kill a Mockingbird The Defiant Ones The Bridge on the River Kwai Star Wars: Episode I – The Phantom Menace The Inn of the Sixth Happiness Star Wars Episode IV: A New Hope Gigi The Southerner Morocco The Last Airbender Moonstruck Gosford Park Chariots of Fire Women in Love The Informer Rebecca Goodfellas Milk Hannah and Her Sisters The Full Monty Speed Zone! Short Cuts Henry V The Grand Budapest Hotel All That Jazz The Lives of a Bengal Lancer The Revenant Shine Babe The Guns of Navarone The Fighter The Killing Fields San Francisco Around the World in 80 Days The Remains of the Day The Piano My Man Godfrey Kramer vs. Kramer Four Daughters Room at the Top In the Name of the Father Fargo Catwoman Crossfire Battleground The Third Man Caddyshack II Tender Mercies The Exorcist The Dresser A Double Life Witness Fatal Attraction The Front Page The Best Years of Our Lives Being John Malkovich E.T. the Extra-Terrestrial The Pianist Madame X They Shoot Horses, Don't They? The King's Speech A Passage to India Amadeus The Good Earth Mystic River Sons and Lovers MASH The More the Merrier Interiors Boyz n the Hood My Life as a Dog Seven Beauties Yankee Doodle Dandy The Tree of Life The Grapes of Wrath Rocky Satyricon A Man and a Woman Newsies Z The Champ Working Girl Some Like It Hot The Sundowners La Cage aux Folles 12 Years a Slave In Cold Blood Inglourious Basterds The Bishop's Wife The Departed One Night of Love The Deer Hunter Mrs. Miniver Mulholland Drive Spotlight East of Eden War and Peace Master and Commander: The Far Side of the World Born Yesterday Romeo and Juliet The Awful Truth The Thin Red Line Crimes and Misdemeanors Lifeboat American Graffiti Sergeant York Out of Africa Rhinestone Cat on a Hot Tin Roof 8½ On Golden Pond Unforgiven A Clockwork Orange The High and the Mighty Doctor Zhivago The Graduate Atlantic City The Turning Point The Hustler The Curious Case of Benjamin Button Tom Jones A Star Is Born The Professionals All the King's Men Erin Brockovich Chicago The Sting Barry Lyndon Terms of Endearment Dead Man Walking Bullets Over Broadway Heaven Can Wait L.A. Confidential You Can't Take It With You Silver Linings Playbook The Song of Bernadette The Godfather Part II The Miracle Worker Bad Girl Never on Sunday The Descendants Silkwood Howard the Duck Gangs of New York The Fallen Idol Chinatown The French Connection The English Patient The Quiet Man The Apartment Alice's Restaurant No Country for Old Men A Man for All Seasons The Country Girl Cocktail Mr. Smith Goes to Washington The Island of Dr. Moreau Amarcord The Lion in Winter The Stunt Man Raging Bull Hallelujah! Beasts of the Southern Wild Nashville Becket Midnight Express Darling America America A Woman Under the Influence The Cardinal Day for Night Kiss of the Spider Woman Love Story Stalag 17 The African Queen Dodsworth The Great Ziegfeld The King and I West Side Story Hugo The Yearling Close Encounters of the Third Kind Network The Last Emperor Romance Boyhood Color of Night United 93 My Left Foot Mutiny on the Bounty Dead Poets Society The Grifters The Sweet Hereafter Reds Mary Poppins Picnic Summertime The Treasure of the Sierra Madre American Hustle Vera Drake Double Indemnity Cries and Whispers Great Expectations Bonnie and Clyde The Little Foxes The Artist Spice World Ran Letters from Iwo Jima Sabrina The Wolf of Wall Street Blue Velvet A Streetcar Named Desire The Nun's Story Rain Man High Noon Cabaret Mississippi Burning Bad Day at Black Rock Michael Clayton Detective Story Room True Grit Brief Encounter Broadway Danny Rose The Diving Bell and the Butterfly The Sound of Music Shanghai Express 5 Fingers A Free Soul Mad Max: Fury Road Cavalcade Dances with Wolves Black Hawk Down It's a Wonderful Life Coming Home Prizzi's Honor Patton Breaking Away 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 Divorcee Psycho Sideways Traffic Wake Island The Life of Emile Zola Weary River Hamlet The Search Going My Way Sleuth The Heiress Talk to Her Gandhi It Happened One Night Amour The Emigrants On the Waterfront A Beautiful Mind Nebraska Black Swan Pulp Fiction
The Silence of the Lambs, Shane, The Best Years of Our Lives, Some Like It Hot, Moonstruck, Pulp Fiction, War and Peace, The Tree of Life, Babe and Room at the Top were nominated for Golden Raspberry Award for Worst Picture or Academy Award for Best Director
The Silence of the Lambs Shane The Best Years of Our Lives Some Like It Hot Moonstruck Pulp Fiction War and Peace The Tree of Life Babe Room at the Top
action filter_type
action union
action find_reverse
entity Golden Raspberry Award for Worst Picture
relation nominated for
action find_reverse
entity Academy Award for Best Director
relation nominated for
type work of art
{'OR': [[{'concept': 'work of art'}, 'nominated for', 'Golden Raspberry Award for Worst Picture'], [{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Director']]}
SELECT DISTINCT ?q WHERE { { ?q property:nominated_for ?m . VALUES ( ?m ) { ( resource:Golden_Raspberry_Award_for_Worst_Picture ) ( resource:Academy_Award_for_Best_Director ) } } . ?q rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1045165
P2554
Q502895
USER
Which person created the production designs of that work of art ?
(Q1045165,P2554,c(Q502895))
action filter_type
action find
entity Q1045165
relation P2554
type Q502895
['Q1045165', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1045165 property:P2554 ?x . ?x rdf:type ontology:Q502895 }
Shane
action filter_type
action find
entity Shane
relation production designer
type common name
['Shane', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Shane property:production_designer ?x . ?x rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q617997
SYSTEM
Did you mean Room at the Top ?
Q133654 Q1045165 Q645094 Q190086 Q1336107 Q104123 Q643811 Q244257 Q720724 Q617997
(Q133654,P2554,c(Q502895)) (Q1045165,P2554,c(Q502895)) (Q645094,P2554,c(Q502895)) (Q190086,P2554,c(Q502895)) (Q1336107,P2554,c(Q502895)) (Q104123,P2554,c(Q502895)) (Q643811,P2554,c(Q502895)) (Q244257,P2554,c(Q502895)) (Q720724,P2554,c(Q502895)) (Q617997,P2554,c(Q502895))
[ANSWER]
['Q133654', 'P2554', {'concept': 'Q502895'}] ['Q1045165', 'P2554', {'concept': 'Q502895'}] ['Q645094', 'P2554', {'concept': 'Q502895'}] ['Q190086', 'P2554', {'concept': 'Q502895'}] ['Q1336107', 'P2554', {'concept': 'Q502895'}] ['Q104123', 'P2554', {'concept': 'Q502895'}] ['Q643811', 'P2554', {'concept': 'Q502895'}] ['Q244257', 'P2554', {'concept': 'Q502895'}] ['Q720724', 'P2554', {'concept': 'Q502895'}] ['Q617997', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1045165 property:P2554 ?x . ?x rdf:type ontology:Q502895 }
The Silence of the Lambs Shane The Best Years of Our Lives Some Like It Hot Moonstruck Pulp Fiction War and Peace The Tree of Life Babe Room at the Top
Did you mean Room at the Top ?
Room at the Top
['The Silence of the Lambs', 'production designer', {'concept': 'common name'}] ['Shane', 'production designer', {'concept': 'common name'}] ['The Best Years of Our Lives', 'production designer', {'concept': 'common name'}] ['Some Like It Hot', 'production designer', {'concept': 'common name'}] ['Moonstruck', 'production designer', {'concept': 'common name'}] ['Pulp Fiction', 'production designer', {'concept': 'common name'}] ['War and Peace', 'production designer', {'concept': 'common name'}] ['The Tree of Life', 'production designer', {'concept': 'common name'}] ['Babe', 'production designer', {'concept': 'common name'}] ['Room at the Top', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Shane property:production_designer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Shane. Could you tell me the answer for that?
(Q1045165,P2554,c(Q502895))
Q1045165
['Q1045165', 'P2554', {'concept': 'Q502895'}]
['Shane', 'production designer', {'concept': 'common name'}]
[]
Q1229499
SYSTEM
Hal Pereira
Q1229499
(Q1045165,P2554,c(Q502895))
action filter_type
action find
entity Q1045165
relation P2554
type Q502895
[ANSWER] created the production designs of that work of art
['Q1045165', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1045165 property:P2554 ?x . ?x rdf:type ontology:Q502895 }
Hal Pereira
Hal Pereira created the production designs of that work of art
Hal Pereira
action filter_type
action find
entity Shane
relation production designer
type common name
['Shane', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Shane property:production_designer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1229499
P2554
Q838948
USER
Which works of art have that person as the creator of production designs ?
(c(Q838948),P2554,Q1229499)
action filter_type
action find_reverse
entity Q1229499
relation P2554
type Q838948
[{'concept': 'Q838948'}, 'P2554', 'Q1229499']
SELECT DISTINCT ?o WHERE { ?o property:P2554 resource:Q1229499 . ?o rdf:type ontology:Q838948 }
Hal Pereira
action filter_type
action find_reverse
entity Hal Pereira
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Hal Pereira']
SELECT DISTINCT ?o WHERE { ?o property:production_designer resource:Hal_Pereira . ?o rdf:type ontology:work_of_art }
[]
work of art
Q1045165 Q201293 Q232222
SYSTEM
Shane, Roman Holiday, Gunfight at the O.K. Corral
Q3549030 Q974706 Q3280612 Q147068 Q1526796 Q7958836 Q2185596 Q1262076 Q1045165 Q34414 Q2348773 Q232222 Q940786 Q2394370 Q201293 Q258795 Q1906840 Q3618120 Q326428 Q3282128 Q1305029 Q869669
(c(Q838948),P2554,Q1229499)
action filter_type
action find_reverse
entity Q1229499
relation P2554
type Q838948
[ANSWERS] have that person as the creator of production designs
[{'concept': 'Q838948'}, 'P2554', 'Q1229499']
SELECT DISTINCT ?o WHERE { ?o property:P2554 resource:Q1229499 . ?o rdf:type ontology:Q838948 }
A Breath of Scandal Wild Is the Wind Off Limits Funny Face Girls! Girls! Girls! Waco Hollywood or Bust Ministry of Fear Shane Rear Window Heller in Pink Tights Gunfight at the O.K. Corral Summer and Smoke Too Late Blues Roman Holiday Hell Is for Heroes Career Project X Paradise, Hawaiian Style Red Garters The Country Girl King Creole
Shane, Roman Holiday and Gunfight at the O.K. Corral have that person as the creator of production designs
Shane Roman Holiday Gunfight at the O.K. Corral
action filter_type
action find_reverse
entity Hal Pereira
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Hal Pereira']
SELECT DISTINCT ?o WHERE { ?o property:production_designer resource:Hal_Pereira . ?o rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q1229499
P364 P2554
Q838948
USER
Which works of art were designed by Hal Pereira and were originally created in English language ?
AND((c(Q838948),P2554,Q1229499), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1229499
relation P2554
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P2554', 'Q1229499'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?k WHERE { ?k property:P2554 resource:Q1229499 . ?k property:P364 resource:Q1860 . ?k rdf:type ontology:Q838948 }
English Hal Pereira
action filter_type
action intersection
action find_reverse
entity Hal Pereira
relation production designer
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'production designer', 'Hal Pereira'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?k WHERE { ?k property:production_designer resource:Hal_Pereira . ?k property:original_language_of_work resource:English . ?k rdf:type ontology:work_of_art }
[]
work of art
Q3280612 Q7958836 Q1045165 Q201293 Q869669 Q232222 Q258795 Q2185596 Q1305029 Q34414
SYSTEM
Some of them are Off Limits, Waco, Shane, Roman Holiday, King Creole, Gunfight at the O.K. Corral, Hell Is for Heroes, Hollywood or Bust, The Country Girl, Rear Window
Q3549030 Q974706 Q3280612 Q147068 Q1526796 Q7958836 Q2185596 Q232222 Q1045165 Q34414 Q2348773 Q1262076 Q940786 Q2394370 Q201293 Q258795 Q1906840 Q3618120 Q326428 Q3282128 Q1305029 Q869669
AND((c(Q838948),P2554,Q1229499), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1229499
relation P2554
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] were designed by Hal Pereira and were originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P2554', 'Q1229499'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?k WHERE { ?k property:P2554 resource:Q1229499 . ?k property:P364 resource:Q1860 . ?k rdf:type ontology:Q838948 }
A Breath of Scandal Wild Is the Wind Off Limits Funny Face Girls! Girls! Girls! Waco Hollywood or Bust Gunfight at the O.K. Corral Shane Rear Window Heller in Pink Tights Ministry of Fear Summer and Smoke Too Late Blues Roman Holiday Hell Is for Heroes Career Project X Paradise, Hawaiian Style Red Garters The Country Girl King Creole
Off Limits, Waco, Shane, Roman Holiday, King Creole, Gunfight at the O.K. Corral, Hell Is for Heroes, Hollywood or Bust, The Country Girl and Rear Window were designed by Hal Pereira and were originally created in English language
Off Limits Waco Shane Roman Holiday King Creole Gunfight at the O.K. Corral Hell Is for Heroes Hollywood or Bust The Country Girl Rear Window
action filter_type
action intersection
action find_reverse
entity Hal Pereira
relation production designer
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'production designer', 'Hal Pereira'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?k WHERE { ?k property:production_designer resource:Hal_Pereira . ?k property:original_language_of_work resource:English . ?k rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
How many awards were around 277 works of art or people nominated for ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 277
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?v WHERE { { ?g rdf:type ontology:Q502895 . ?v rdf:type ontology:Q618779 . ?g property:P1411 ?v } UNION { ?g property:P1411 ?v . ?v rdf:type ontology:Q618779 . ?g rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?u = 277 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 277
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?v WHERE { { ?g rdf:type ontology:common_name . ?v rdf:type ontology:award . ?g property:nominated_for ?v } UNION { ?g property:nominated_for ?v . ?v rdf:type ontology:award . ?g rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?u = 277 ) }
[]
award work of art common name
SYSTEM
4
Q1445521 Q627778 Q185299 Q1474410
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 277
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?v WHERE { { ?g rdf:type ontology:Q502895 . ?v rdf:type ontology:Q618779 . ?g property:P1411 ?v } UNION { ?g property:P1411 ?v . ?v rdf:type ontology:Q618779 . ?g rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?u = 277 ) }
Tony Award for Best Actor in a Play Tony Award for Best Featured Actress in a Play Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play
4
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 277
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?v WHERE { { ?g rdf:type ontology:common_name . ?v rdf:type ontology:award . ?g property:nominated_for ?v } UNION { ?g property:nominated_for ?v . ?v rdf:type ontology:award . ?g rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?u = 277 ) }
[]