Question: What has less area, Muskogee or Jackson (which is at an elevation of 125 meters above sea level)?
Choices:
Greenville
Muskogee
New Haven
Columbus
Lansing
Jackson
Boulder
Compton
Oakland
Waukegan
Program:
function: Find
inputs: Jackson
function: FilterNum
dependencies: 0
inputs: elevation above sea level
125 metre
=
function: Find
inputs: Muskogee
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackson" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "125"^^xsd:double . } UNION { ?e <pred:name> "Muskogee" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Muskogee