Question: Is The Dark Knight released in Canada or the french version of Robin Hood shorter?
Choices:
The Towering Inferno
Training Day
Pleasantville
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
Robin Hood
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Dark Knight
function: And
dependencies: 1
2
function: Find
inputs: French
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: Robin Hood
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Dark Knight" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Canada" .   } UNION { ?e <pred:name> "Robin Hood" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "French" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Robin Hood