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