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