Question: Does Danville, at 300 meters above sea level, or New Rochelle have fewer inhabitants?
Choices:
Danville
Boulder
New Haven
Oakland
Franklin
New Rochelle
Waukegan
Lansing
Greenville
Compton
Answer: Danville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Danville" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "300"^^xsd:double . } UNION { ?e <pred:name> "New Rochelle" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Danville
function: FilterNum
dependencies: 0
inputs: elevation above sea level
300 metre
=
function: Find
inputs: New Rochelle
function: SelectBetween
dependencies: 1
2
inputs: population
less