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