Question: Is Alexander in Russian or Inland Empire longer?
Choices:
Alexander
A Prairie Home Companion
Talk to Her
The Hunchback of Notre Dame
The Fifth Element
Inland Empire
Curse of the Golden Flower
Training Day
The Towering Inferno
Rebecca
Program:
function: Find
inputs: Russian
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Alexander
function: And
dependencies: 1
2
function: Find
inputs: Inland Empire
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alexander" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Russian" .   } UNION { ?e <pred:name> "Inland Empire" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Inland Empire