Question: Was it costlier to make Bedazzled, originating in the USA, or Centurion?
Choices:
A Prairie Home Companion
Talk to Her
Bedazzled
Centurion
Training Day
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
Curse of the Golden Flower
The Fifth Element
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Bedazzled
function: And
dependencies: 1
2
function: Find
inputs: Centurion
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bedazzled" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Centurion" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bedazzled