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