Question: Which movie is longer, Jerusalem (the one that origins from Sweden) or The Treasure of the Sierra Madre?
Choices: Pleasantville
Training Day
The Fifth Element
The Treasure of the Sierra Madre
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
Jerusalem
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jerusalem" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Sweden" .   } UNION { ?e <pred:name> "The Treasure of the Sierra Madre" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Jerusalem
function: And
dependencies: 1
2
function: Find
inputs: The Treasure of the Sierra Madre
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Jerusalem