Question: Was it more expensive to make 300, filmed in Los Angeles, or The Shawshank Redemption?
Choices:
Pleasantville
A Prairie Home Companion
Rebecca
Training Day
Talk to Her
Curse of the Golden Flower
The Fifth Element
The Shawshank Redemption
300
The Towering Inferno
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: 300
function: And
dependencies: 1
2
function: Find
inputs: The Shawshank Redemption
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "300" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } UNION { ?e <pred:name> "The Shawshank Redemption" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: 300