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