Question: Does Peterborough (the one whose Statistics Canada Geographic code is 3515) or Suva have less elevation (above sea level) ?
Choices:
Suva
Kingston
Santo Domingo
Cork
Kilkenny
Trieste
Peterborough
Abidjan
Dundee
Chihuahua
Answer: Suva
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Peterborough" . ?e <Statistics_Canada_Geographic_code> ?pv_1 . ?pv_1 <pred:value> "3515" . } UNION { ?e <pred:name> "Suva" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Peterborough
function: FilterStr
dependencies: 0
inputs: Statistics Canada Geographic code
3515
function: Find
inputs: Suva
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less