Question: Which movie is longer, Easy Rider or The Green Hornet (the one that is shot in Los Angeles)?
Choices: Pleasantville
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Easy Rider
The Green Hornet
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Easy Rider" .  } UNION { ?e <pred:name> "The Green Hornet" . ?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: Easy Rider
function: Find
inputs: Los Angeles
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: The Green Hornet
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: The Green Hornet