Question: Which has greater cost, The Producers that received National Film Registry or Carrie that was shot in Los Angeles?
Choices: Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
Carrie
A Prairie Home Companion
The Towering Inferno
Talk to Her
The Producers
Pleasantville
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Producers" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "National Film Registry" .   } UNION { ?e <pred:name> "Carrie" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "Los Angeles" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: National Film Registry
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Producers
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: Carrie
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater
Answer: Carrie