Question: Which is longer, Dead Ringers or The Namesake?
Choices:
Training Day
The Towering Inferno
Curse of the Golden Flower
Dead Ringers
Rebecca
The Namesake
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
Program:
function: Find
inputs: Dead Ringers
function: Find
inputs: The Namesake
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dead Ringers" .  } UNION { ?e <pred:name> "The Namesake" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Namesake