Question: Is Darwin, population 127532, or Breda lower in elevation?
Choices:
Chihuahua
Kingston
Breda
Santo Domingo
Darwin
Trieste
Cork
Kilkenny
Abidjan
Bergen
Program:
function: Find
inputs: Darwin
function: FilterNum
dependencies: 0
inputs: population
127532
=
function: Find
inputs: Breda
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Darwin" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "127532"^^xsd:double . } UNION { ?e <pred:name> "Breda" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Darwin