Question: Which movie is longer, Jerusalem (the one whose original language is Swedish) or An Ideal Husband?
Choices:
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
Jerusalem
Pleasantville
Training Day
The Fifth Element
An Ideal Husband
A Prairie Home Companion
Rebecca
Answer: An Ideal Husband
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jerusalem" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Swedish" .   } UNION { ?e <pred:name> "An Ideal Husband" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Swedish
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Jerusalem
function: And
dependencies: 1
2
function: Find
inputs: An Ideal Husband
function: SelectBetween
dependencies: 3
4
inputs: duration
less