Question: Which movie cost more to make, 127 Hours or The Godfather (the one that received National Film Registry)?
Choices:
127 Hours
The Fifth Element
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
The Godfather
Training Day
Rebecca
Curse of the Golden Flower
The Towering Inferno
Program:
function: Find
inputs: 127 Hours
function: Find
inputs: National Film Registry
function: Relate
dependencies: 1
inputs: award received
backward
function: Find
inputs: The Godfather
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "127 Hours" .  } UNION { ?e <pred:name> "The Godfather" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "National Film Registry" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: 127 Hours