Question: Which movie is shorter, The Artist or High Noon (the one whose producer is Carl Foreman)?
Choices: Curse of the Golden Flower
Talk to Her
Pleasantville
A Prairie Home Companion
The Hunchback of Notre Dame
Training Day
The Artist
The Fifth Element
High Noon
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Artist" .  } UNION { ?e <pred:name> "High Noon" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Carl Foreman" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Artist
function: Find
inputs: Carl Foreman
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: High Noon
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: High Noon