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