Question: Does Edmonton (official name City of Edmonton) or Abidjan have the lower elevation?
Choices:
Dundee
Santo Domingo
Kilkenny
Abidjan
Trieste
Kingston
Cork
Chihuahua
Bergen
Edmonton
Answer: Abidjan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Edmonton" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "City of Edmonton" . } UNION { ?e <pred:name> "Abidjan" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Edmonton
function: FilterStr
dependencies: 0
inputs: official name
City of Edmonton
function: Find
inputs: Abidjan
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less