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