Question: Which has the greater cost, Total Recall (whose release region is Portugal) or Kill Bill Volume 1?
Choices:
The Hunchback of Notre Dame
Kill Bill Volume 1
Pleasantville
Curse of the Golden Flower
Talk to Her
The Fifth Element
The Towering Inferno
Total Recall
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: Portugal
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Total Recall
function: And
dependencies: 1
2
function: Find
inputs: Kill Bill Volume 1
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Total Recall" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Portugal" .   } UNION { ?e <pred:name> "Kill Bill Volume 1" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Total Recall