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