Question: Which movie is longer, Freddy Got Fingered or New York (the one whose original language is Hindi)?
Choices:
Freddy Got Fingered
The Fifth Element
Training Day
New York
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Rebecca
The Towering Inferno
Answer: New York
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Freddy Got Fingered" .  } UNION { ?e <pred:name> "New York" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Hindi" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Freddy Got Fingered
function: Find
inputs: Hindi
function: Relate
dependencies: 1
inputs: original language of film or TV show
backward
function: Find
inputs: New York
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater