Question: Which movie is shorter, Hannibal (the one that is shot in North Carolina) or Iris (the one whose original language is French)?
Choices: Pleasantville
The Towering Inferno
Talk to Her
Curse of the Golden Flower
Hannibal
Iris
A Prairie Home Companion
The Hunchback of Notre Dame
The Fifth Element
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hannibal" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "North Carolina" .   } UNION { ?e <pred:name> "Iris" . ?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
Program:
function: Find
inputs: North Carolina
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Hannibal
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: Iris
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Iris