Question: Which one, Skopje or Tokyo (the one that is the headquarter location of Bandai Namco Entertainment),  has less elevation (above sea level)?
Choices:
Dundee
Kingston
Santo Domingo
Cork
Trieste
Abidjan
Kilkenny
Tokyo
Chihuahua
Skopje
Program:
function: Find
inputs: Skopje
function: Find
inputs: Bandai Namco Entertainment
function: Relate
dependencies: 1
inputs: headquarters location
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> "Skopje" .  } UNION { ?e <pred:name> "Tokyo" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Bandai Namco Entertainment" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tokyo