Question: Which has lower elevation above sea level, Cincinnati or Orange (the one whose population is 136416)?
Choices:
Compton
Orange
Waukegan
Lansing
Cincinnati
Boulder
Oakland
Columbus
New Haven
Greenville
Program:
function: Find
inputs: Cincinnati
function: Find
inputs: Orange
function: FilterNum
dependencies: 1
inputs: population
136416
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cincinnati" . } UNION { ?e <pred:name> "Orange" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "136416"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Orange