Question: Between Concord, occupying 174.022217 square km, or Tyler -- which is lower in elevation?
Choices:
Compton
Tyler
Greenville
Oakland
Columbus
Franklin
Concord
New Haven
Lansing
Waukegan
Answer: Concord
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Concord" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "174.022217"^^xsd:double . } UNION { ?e <pred:name> "Tyler" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Concord
function: FilterNum
dependencies: 0
inputs: area
174.022217 square kilometre
=
function: Find
inputs: Tyler
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less