Question: Is the duration greater for Tehran (the one that origins from United Kingdom) or Legends of the Fall?
Choices: The Hunchback of Notre Dame
Legends of the Fall
Talk to Her
The Towering Inferno
A Prairie Home Companion
Rebecca
Pleasantville
Curse of the Golden Flower
The Fifth Element
Tehran
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tehran" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "Legends of the Fall" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Tehran
function: And
dependencies: 1
2
function: Find
inputs: Legends of the Fall
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Legends of the Fall