Question: Does Oklahoma city or Manhattan which was founded in 1855 have a greater above sea level elevation?
Choices:
Manhattan
Oakland
New Haven
Greenville
Franklin
Oklahoma City
Columbus
Compton
Lansing
Waukegan
Program:
function: Find
inputs: Oklahoma City
function: Find
inputs: Manhattan
function: FilterYear
dependencies: 1
inputs: inception
1855
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oklahoma City" . } UNION { ?e <pred:name> "Manhattan" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1855 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oklahoma City