Question: What is the duration for the film that received an Academy Award for Best Writing, Original Screenplay (the winner of this statement is William Rose)?
Choices:
849 minute
10 week
119 minute
108 minute
178 minute
130 minute
132 minute
116 minute
103 minute
82 minute
Answer: 108 minute
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Writing, Original Screenplay" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "William Rose" . ?e <duration> ?pv .  }
Program:
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
William Rose
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttr
dependencies: 3
inputs: duration