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