Question: Which has a lesser duration, The Prize or The Fast and the Furious (whose narrative location is Mexico)?
Choices:
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
The Fast and the Furious
The Towering Inferno
Talk to Her
The Hunchback of Notre Dame
The Prize
The Fifth Element
Program:
function: Find
inputs: The Prize
function: Find
inputs: Mexico
function: Relate
dependencies: 1
inputs: narrative location
backward
function: Find
inputs: The Fast and the Furious
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Prize" .  } UNION { ?e <pred:name> "The Fast and the Furious" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Mexico" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Fast and the Furious