Question: Which movie is longer, Solaris (the one whose original language is Russian) or Death on the Nile (the one whose composer is Nino Rota)?
Choices:
The Hunchback of Notre Dame
Training Day
The Fifth Element
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
The Towering Inferno
Pleasantville
Solaris
Answer: Solaris
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Solaris" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Russian" .   } UNION { ?e <pred:name> "Death on the Nile" . ?e <composer> ?e_2 . ?e_2 <pred:name> "Nino Rota" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Russian
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Solaris
function: And
dependencies: 1
2
function: Find
inputs: Nino Rota
function: Relate
dependencies: 4
inputs: composer
backward
function: Find
inputs: Death on the Nile
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater