Question: Which movie is shorter, They Shoot Horses, Don't They? or The Aviator (the one that has Christopher Reeve as a cast member)?
Choices:
The Towering Inferno
The Fifth Element
They Shoot Horses, Don't They?
Training Day
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
The Aviator
The Hunchback of Notre Dame
Rebecca
Answer: The Aviator
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "They Shoot Horses, Don't They?" .  } UNION { ?e <pred:name> "The Aviator" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Christopher Reeve" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: They Shoot Horses, Don't They?
function: Find
inputs: Christopher Reeve
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Aviator
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less