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