Question: Which area has lower elevation above sea level, Como or San Marino (the one whose native label is Città di San Marino)?
Choices:
Kilkenny
Kingston
Como
Bergen
San Marino
Dundee
Trieste
Santo Domingo
Chihuahua
Cork
Program:
function: Find
inputs: Como
function: Find
inputs: San Marino
function: FilterStr
dependencies: 1
inputs: native label
Città di San Marino
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Como" . } UNION { ?e <pred:name> "San Marino" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Città di San Marino" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Como