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