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