Question: Is the running time of The Black Dahlia or The Dreamers the shorter of the two?
Choices:
Talk to Her
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
The Dreamers
The Towering Inferno
Program:
function: Find
inputs: The Black Dahlia
function: Find
inputs: The Dreamers
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Black Dahlia" .  } UNION { ?e <pred:name> "The Dreamers" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Dreamers