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