Question: Which has more area, Fontana whose elevation above sea level is 377 metres or Yakima?
Choices: Franklin
Boulder
Waukegan
Columbus
Fontana
Lansing
Greenville
New Haven
Oakland
Compton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fontana" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "377"^^xsd:double . } UNION { ?e <pred:name> "Yakima" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fontana
function: FilterNum
dependencies: 0
inputs: elevation above sea level
377 metre
=
function: Find
inputs: Yakima
function: SelectBetween
dependencies: 1
2
inputs: area
greater
Answer: Fontana