Question: Which movie is shorter, The Soloist or David Copperfield (the one that has Daniel Radcliffe as a cast member)?
Choices:
The Towering Inferno
Curse of the Golden Flower
Talk to Her
The Fifth Element
David Copperfield
The Soloist
Training Day
A Prairie Home Companion
Rebecca
Pleasantville
Answer: The Soloist
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Soloist" .  } UNION { ?e <pred:name> "David Copperfield" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Daniel Radcliffe" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Soloist
function: Find
inputs: Daniel Radcliffe
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: David Copperfield
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less