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