Question: Does Las Vegas (whose population is 8422) or Des Moines have the lower elevation above sea level?
Choices:
New Haven
Lansing
Des Moines
Waukegan
Las Vegas
Columbus
Greenville
Oakland
Franklin
Compton
Answer: Des Moines
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Las Vegas" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "8422"^^xsd:double . } UNION { ?e <pred:name> "Des Moines" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Las Vegas
function: FilterNum
dependencies: 0
inputs: population
8422
=
function: Find
inputs: Des Moines
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less