Question: Which movie is shorter, Yankee Doodle Dandy or Looper?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
Looper
Training Day
Talk to Her
The Fifth Element
Curse of the Golden Flower
Pleasantville
Yankee Doodle Dandy
Rebecca
Program:
function: Find
inputs: Yankee Doodle Dandy
function: Find
inputs: Looper
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yankee Doodle Dandy" .  } UNION { ?e <pred:name> "Looper" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Looper