Question: What person was nominated for an Academy Award for Best Writing, Adapted Screenplay involving the award-winning work Hugo?
Choices:
Martin Scorsese
Steven Zaillian
John Logan
Aaron Sorkin
Thelma Schoonmaker
Ernest Lehman
Graham King
Steve Coogan
Michael Mann
Terrence Malick
Answer: John Logan
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Hugo" .  }
Program:
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
Hugo
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3