Question: Does Joplin or Chicago, elevation 176 meters, occupy the smaller area?
Choices: Greenville
Columbus
Lansing
Franklin
New Haven
Compton
Joplin
Boulder
Chicago
Waukegan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joplin" . } UNION { ?e <pred:name> "Chicago" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "176"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Joplin
function: Find
inputs: Chicago
function: FilterNum
dependencies: 1
inputs: elevation above sea level
176 metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
Answer: Joplin