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