Question: Which movie is shorter, The Expendables 2 or Maid in Manhattan?
Choices:
Maid in Manhattan
Curse of the Golden Flower
The Expendables 2
The Hunchback of Notre Dame
Rebecca
The Towering Inferno
Training Day
Talk to Her
A Prairie Home Companion
Pleasantville
Program:
function: Find
inputs: The Expendables 2
function: Find
inputs: Maid in Manhattan
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Expendables 2" .  } UNION { ?e <pred:name> "Maid in Manhattan" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Maid in Manhattan