Question: Which has higher elevation above sea level, Phoenix whose percent of water area is 0.24 percent or Springfield where Jeff Meckstroth was born?
Choices:
Greenville
Springfield
Phoenix
Compton
Franklin
Columbus
Oakland
Boulder
Lansing
New Haven
Program:
function: Find
inputs: Phoenix
function: FilterNum
dependencies: 0
inputs: water as percent of area
0.24 percentage
=
function: Find
inputs: Jeff Meckstroth
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Springfield
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Phoenix" . ?e <water_as_percent_of_area> ?pv_1 . ?pv_1 <pred:unit> "percentage" . ?pv_1 <pred:value> "0.24"^^xsd:double . } UNION { ?e <pred:name> "Springfield" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Jeff Meckstroth" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Phoenix