Question: Which movie is shorter, Rear Window (the one that has Christopher Reeve as a cast member) or Team America: World Police?
Choices: Shackleton
Rear Window
A Streetcar Named Desire
The Goodbye Girl
Team America: World Police
A Christmas Carol
The Late Shift
All Quiet on the Western Front
The Music Man
The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rear Window" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Christopher Reeve" .   } UNION { ?e <pred:name> "Team America: World Police" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Christopher Reeve
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Rear Window
function: And
dependencies: 1
2
function: Find
inputs: Team America: World Police
function: SelectBetween
dependencies: 3
4
inputs: duration
less
Answer: Rear Window