Question: Which movie cost less to make, Tacoma (the one that is shot in Washington) or Troy (the one whose release region is United States of America)?
Choices:
The Towering Inferno
Tacoma
The Fifth Element
Rebecca
A Prairie Home Companion
Pleasantville
Training Day
The Hunchback of Notre Dame
Curse of the Golden Flower
Troy
Answer: Tacoma
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tacoma" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Washington" .   } UNION { ?e <pred:name> "Troy" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Washington
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Tacoma
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Troy
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less