Question: Was Vertigo, released in Sweden, or Once Upon a Time in America cheaper to make?
Choices:
Training Day
Talk to Her
Once Upon a Time in America
Vertigo
Pleasantville
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
The Fifth Element
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Vertigo
function: And
dependencies: 1
2
function: Find
inputs: Once Upon a Time in America
function: SelectBetween
dependencies: 3
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vertigo" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Sweden" .   } UNION { ?e <pred:name> "Once Upon a Time in America" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Vertigo