Question: Which movie is shorter, Sophie's Choice or The Poseidon Adventure (based on literature)?
Choices:
The Towering Inferno
Rebecca
Talk to Her
A Prairie Home Companion
Training Day
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
Sophie's Choice
The Poseidon Adventure
Answer: The Poseidon Adventure
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sophie's Choice" .  } UNION { ?e <pred:name> "The Poseidon Adventure" . ?e <genre> ?e_1 . ?e_1 <pred:name> "film based on literature" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sophie's Choice
function: Find
inputs: film based on literature
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: The Poseidon Adventure
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less