Question: Which movie is shorter, Vertigo (the one whose release region is Spain) or Styx (the one that origins from Austria)?
Choices:
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
Styx
A Prairie Home Companion
Pleasantville
Curse of the Golden Flower
Training Day
Talk to Her
Rebecca
Answer: Styx
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vertigo" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Spain" .   } UNION { ?e <pred:name> "Styx" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "Austria" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Vertigo
function: And
dependencies: 1
2
function: Find
inputs: Austria
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Styx
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less