Question: Which movie is longer, The Count of Monte Cristo (the one whose original language is Italian) or Juno (the one that received Satellite Awards 2007)?
Choices:
Talk to Her
Pleasantville
Juno
Training Day
Curse of the Golden Flower
The Count of Monte Cristo
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Program:
function: Find
inputs: Italian
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: The Count of Monte Cristo
function: And
dependencies: 1
2
function: Find
inputs: Satellite Awards 2007
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: Juno
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Count of Monte Cristo" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Italian" .   } UNION { ?e <pred:name> "Juno" . ?e <award_received> ?e_2 . ?e_2 <pred:name> "Satellite Awards 2007" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Juno