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