Question: Which one has less elevation above sea level, Salem (whose elevation above sea level is 8 metre) or Providence (the one that is the twinned administrative body of Kiev)?
Choices: New Haven
Columbus
Oakland
Greenville
Lansing
Franklin
Compton
Waukegan
Salem
Boulder
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salem" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "8"^^xsd:double . } UNION { ?e <pred:name> "Providence" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Kiev" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Salem
function: FilterNum
dependencies: 0
inputs: elevation above sea level
8 metre
=
function: Find
inputs: Kiev
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Providence
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less
Answer: Salem