Question: Which movie is shorter, The Trouble with Harry or Bruce Almighty?
Choices:
Pleasantville
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
Curse of the Golden Flower
Bruce Almighty
The Trouble with Harry
Rebecca
The Fifth Element
Training Day
Program:
function: Find
inputs: The Trouble with Harry
function: Find
inputs: Bruce Almighty
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Trouble with Harry" .  } UNION { ?e <pred:name> "Bruce Almighty" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Trouble with Harry