Question: Which area has higher elevation above sea level, Suffolk (the one whose population is 84585) or Virginia Beach?
Choices: Williamsburg
Fairfax
Charlottesville
Suffolk
Virginia Beach
Winchester
Falls Church
Lynchburg
Hampton
Roanoke
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Suffolk" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "84585"^^xsd:double . } UNION { ?e <pred:name> "Virginia Beach" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Suffolk
function: FilterNum
dependencies: 0
inputs: population
84585
=
function: Find
inputs: Virginia Beach
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Suffolk