Question: Which work was Peter Berg (the one that is the director of Hancock) nominated for Golden Raspberry Award for Worst Director for?
Choices:
The Vagabond King
I Want to Live!
The Miracle of Morgan's Creek
Doctor Zhivago
Duke of Groove
Burlap & Satin
49th Parallel
The Jackie Gleason Show
Afterglow
Battleship
Answer: Battleship
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Peter Berg" . ?e_3 <director> ?e_1 . ?e_3 <pred:name> "Hancock" . ?e_2 <pred:name> "Golden Raspberry Award for Worst Director" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Hancock
function: Relate
dependencies: 0
inputs: director
forward
function: Find
inputs: Peter Berg
function: And
dependencies: 1
2
function: Find
inputs: Golden Raspberry Award for Worst Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work