Question: Which has less elevation above sea level, Tokyo that is the release region of Requiem for a Dream or Monza?
Choices:
Cork
Dundee
Monza
Abidjan
Tokyo
Trieste
Bergen
Santo Domingo
Chihuahua
Kilkenny
Program:
function: Find
inputs: Requiem for a Dream
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: Tokyo
function: And
dependencies: 1
2
function: Find
inputs: Monza
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tokyo" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> "Requiem for a Dream" .   } UNION { ?e <pred:name> "Monza" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tokyo