Question: Which movie is longer, Miracle at St. Anna or Thor (the one that is shot in Los Angeles)?
Choices: Miracle at St. Anna
A Prairie Home Companion
Talk to Her
The Fifth Element
Training Day
The Hunchback of Notre Dame
Pleasantville
Rebecca
The Towering Inferno
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle at St. Anna" .  } UNION { ?e <pred:name> "Thor" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Miracle at St. Anna
function: Find
inputs: Los Angeles
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: Thor
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Miracle at St. Anna