Question: Does Raging Bull or Malcolm X that is filmed in Connecticut have the longer running time?
Choices:
Raging Bull
A Prairie Home Companion
Talk to Her
Training Day
The Towering Inferno
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Malcolm X
The Fifth Element
Answer: Malcolm X
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Raging Bull" .  } UNION { ?e <pred:name> "Malcolm X" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Connecticut" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Raging Bull
function: Find
inputs: Connecticut
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: Malcolm X
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater