Question: Is the longer work Master and Commander: The Far Side of the World or Out of Sight, with Viola Davis as a cast member?
Choices:
Curse of the Golden Flower
The Hunchback of Notre Dame
Master and Commander: The Far Side of the World
The Towering Inferno
Training Day
A Prairie Home Companion
Out of Sight
Talk to Her
Pleasantville
Rebecca
Answer: Out of Sight
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Master and Commander: The Far Side of the World" .  } UNION { ?e <pred:name> "Out of Sight" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Viola Davis" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Master and Commander: The Far Side of the World
function: Find
inputs: Viola Davis
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Out of Sight
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less