Question: Does Broadcast News or The Town (whose release region is the United States of America) have the higher cost?
Choices:
Pleasantville
Curse of the Golden Flower
The Towering Inferno
Training Day
The Fifth Element
A Prairie Home Companion
Talk to Her
The Town
Rebecca
The Hunchback of Notre Dame
Program:
function: Find
inputs: Broadcast News
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: The Town
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Broadcast News" .  } UNION { ?e <pred:name> "The Town" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Town