Question: Does New York City or Chengdu have lower elevation above sea level?
Choices:
Kingston
New York City
Santo Domingo
Abidjan
Bergen
Chengdu
Kilkenny
Chihuahua
Dundee
Cork
Program:
function: Find
inputs: New York City
function: Find
inputs: Chengdu
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New York City" .  } UNION { ?e <pred:name> "Chengdu" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New York City