Question: Which movie is shorter, The Merry Widow (the one whose original language is German) or A Man for All Seasons (the one that uses the language English)?
Choices:
The Towering Inferno
Training Day
A Man for All Seasons
Pleasantville
Rebecca
The Merry Widow
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
Answer: The Merry Widow
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Merry Widow" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "German" .   } UNION { ?e <pred:name> "A Man for All Seasons" . ?e <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: German
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: language of work or name
backward
function: Find
inputs: A Man for All Seasons
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less