Question: Between Spartacus, released in Spain, or The Bridge on the River Kwai, which was more expensive to make?
Choices:
Spartacus
Talk to Her
Rebecca
The Bridge on the River Kwai
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Training Day
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Spartacus
function: And
dependencies: 1
2
function: Find
inputs: The Bridge on the River Kwai
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spartacus" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Spain" .   } UNION { ?e <pred:name> "The Bridge on the River Kwai" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Spartacus