Question: Does Tehran (that originates in the United Kingdom) or The Iron Lady have the longer running time?
Choices:
The Fifth Element
Training Day
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
The Iron Lady
The Towering Inferno
Tehran
Curse of the Golden Flower
Answer: The Iron Lady
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tehran" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "The Iron Lady" .  } ?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: The Iron Lady
function: SelectBetween
dependencies: 3
4
inputs: duration
greater