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