Question: How long is the movie which received Academy Award for Best Actress (the winner of this statement is Patricia Neal)?
Choices:
112 minute
182 minute
224 minute
128 minute
380 minute
173 minute
167 minute
141 minute
81 minute
235 minute
Answer: 112 minute
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actress" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "Patricia Neal" . ?e <duration> ?pv .  }
Program:
function: Find
inputs: Academy Award for Best Actress
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
Patricia Neal
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttr
dependencies: 3
inputs: duration