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