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