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