Question: Were production costs higher for Harry Potter and the Goblet of Fire, which originated in the USA, or for W.?
Choices:
Training Day
The Hunchback of Notre Dame
W.
Harry Potter and the Goblet of Fire
The Towering Inferno
Rebecca
The Fifth Element
Pleasantville
Curse of the Golden Flower
Talk to Her
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Harry Potter and the Goblet of Fire
function: And
dependencies: 1
2
function: Find
inputs: W.
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Harry Potter and the Goblet of Fire" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "W." .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Harry Potter and the Goblet of Fire