Question: Which movie is shorter, Diamonds Are Forever (the one whose narrative location is Los Angeles) or The Soloist?
Choices: Training Day
Curse of the Golden Flower
The Soloist
Diamonds Are Forever
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
A Prairie Home Companion
Rebecca
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Diamonds Are Forever" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } UNION { ?e <pred:name> "The Soloist" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Diamonds Are Forever
function: And
dependencies: 1
2
function: Find
inputs: The Soloist
function: SelectBetween
dependencies: 3
4
inputs: duration
less
Answer: The Soloist