Question: Which is has a lower elevation above sea level, Ferrara or Oshawa?
Choices:
Santo Domingo
Trieste
Ferrara
Dundee
Cork
Kilkenny
Kingston
Chihuahua
Oshawa
Bergen
Program:
function: Find
inputs: Ferrara
function: Find
inputs: Oshawa
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ferrara" .  } UNION { ?e <pred:name> "Oshawa" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ferrara