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