Question: What film has a duration greater than 50 minutes and has the producer Johnnie To?
Choices: Rachel Getting Married
The Wizard of Oz
The Flowers of War
A Prairie Home Companion
Any Given Sunday
Election
Radio Days
The Mission
Rebecca
Pleasantville
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v > "50"^^xsd:double ) . ?e <producer> ?e_1 . ?e_1 <pred:name> "Johnnie To" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
50 minute
>
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Johnnie To
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: The Mission