Question: Which area has higher elevation above sea level, Green Bay (the one whose inception time is 1854) or Tallahassee?
Choices:
Green Bay
Lansing
Columbus
Oakland
Boulder
Greenville
Franklin
New Haven
Tallahassee
Waukegan
Program:
function: Find
inputs: Green Bay
function: FilterYear
dependencies: 0
inputs: inception
1854
=
function: Find
inputs: Tallahassee
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Green Bay" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1854 . } UNION { ?e <pred:name> "Tallahassee" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Green Bay