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