Question: Which cost more, The World Is Not Enough, narrated in Bilbao, or Tommy, released in the USA?
Choices:
The World Is Not Enough
Talk to Her
Pleasantville
The Fifth Element
Training Day
The Towering Inferno
Curse of the Golden Flower
Rebecca
A Prairie Home Companion
Tommy
Program:
function: Find
inputs: Bilbao
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The World Is Not Enough
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Tommy
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The World Is Not Enough" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Bilbao" .   } UNION { ?e <pred:name> "Tommy" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The World Is Not Enough