Question: Which has higher elevation above sea level, Brockton or Las Vegas whose population is 583756?
Choices:
Oakland
Greenville
Compton
New Haven
Columbus
Waukegan
Las Vegas
Franklin
Brockton
Boulder
Program:
function: Find
inputs: Brockton
function: Find
inputs: Las Vegas
function: FilterNum
dependencies: 1
inputs: population
583756
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brockton" . } UNION { ?e <pred:name> "Las Vegas" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "583756"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Las Vegas