Question: Which area has lower elevation above sea level, Fort Collins or Lima (the one whose country is United States of America)?
Choices:
Compton
Lima
Oakland
Lansing
Greenville
Columbus
New Haven
Waukegan
Boulder
Fort Collins
Program:
function: Find
inputs: Fort Collins
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Lima
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fort Collins" .  } UNION { ?e <pred:name> "Lima" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lima