Question: Which movie is shorter in length, Queen of the Damned or Willy Wonka & the Chocolate Factory?
Choices:
Talk to Her
Rebecca
The Towering Inferno
A Prairie Home Companion
The Hunchback of Notre Dame
Pleasantville
Queen of the Damned
Willy Wonka & the Chocolate Factory
Curse of the Golden Flower
Training Day
Program:
function: Find
inputs: Queen of the Damned
function: Find
inputs: Willy Wonka & the Chocolate Factory
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Queen of the Damned" .  } UNION { ?e <pred:name> "Willy Wonka & the Chocolate Factory" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Willy Wonka & the Chocolate Factory