Question: Which has less cost, spy film The World Is Not Enough or The Vow released in New Zealand?
Choices:
Talk to Her
The Hunchback of Notre Dame
The World Is Not Enough
Training Day
The Vow
Curse of the Golden Flower
Pleasantville
Rebecca
A Prairie Home Companion
The Fifth Element
Program:
function: Find
inputs: spy film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The World Is Not Enough
function: And
dependencies: 1
2
function: Find
inputs: New Zealand
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: The Vow
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The World Is Not Enough" . ?e <genre> ?e_1 . ?e_1 <pred:name> "spy film" .   } UNION { ?e <pred:name> "The Vow" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "New Zealand" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Vow