Question: Which has lower elevation above sea level, San Mateo or Longview (the one whose area is 55.8 square mile)?
Choices: New Haven
Lansing
Waukegan
Oakland
San Mateo
Columbus
Compton
Franklin
Longview
Boulder
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Mateo" . } UNION { ?e <pred:name> "Longview" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square mile" . ?pv_1 <pred:value> "55.8"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: San Mateo
function: Find
inputs: Longview
function: FilterNum
dependencies: 1
inputs: area
55.8 square mile
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
Answer: San Mateo