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