Question: For what work was Zach Galifianakis given a MTV Movie Award for Best Comedic Performance?
Choices: Master and Commander: The Far Side of the World
Stand and Deliver
A.I. Artificial Intelligence
Perfect Witness
Riders of the Purple Sage
Lady for a Day
Ain't It Fun
The Hangover
Shattered Glass
The Hateful Eight
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "MTV Movie Award for Best Comedic Performance" . ?e_2 <pred:name> "Zach Galifianakis" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: MTV Movie Award for Best Comedic Performance
function: Find
inputs: Zach Galifianakis
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work
Answer: The Hangover