Question: Which movie is shorter, Happy-Go-Lucky or Angels & Demons (the one whose original language is German)?
Choices:
Rebecca
The Hunchback of Notre Dame
Happy-Go-Lucky
The Towering Inferno
Pleasantville
A Prairie Home Companion
The Fifth Element
Angels & Demons
Curse of the Golden Flower
Training Day
Answer: Happy-Go-Lucky
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Happy-Go-Lucky" .  } UNION { ?e <pred:name> "Angels & Demons" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "German" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Happy-Go-Lucky
function: Find
inputs: German
function: Relate
dependencies: 1
inputs: original language of film or TV show
backward
function: Find
inputs: Angels & Demons
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less