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