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