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