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