Question: Which movie is shorter, The Cardinal (the one whose color is black-and-white) or Coming Home (the one whose original language is English)?
Choices:
A Prairie Home Companion
Curse of the Golden Flower
Training Day
Pleasantville
Talk to Her
Coming Home
The Hunchback of Notre Dame
The Cardinal
The Fifth Element
The Towering Inferno
Answer: The Cardinal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cardinal" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } UNION { ?e <pred:name> "Coming Home" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: The Cardinal
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: Coming Home
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less