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