Question: Which area has higher elevation above sea level, Lubbock or Bangor (the one whose inception time is 1834-02-12)?
Choices:
Waukegan
Columbus
Boulder
Compton
New Haven
Bangor
Lansing
Franklin
Lubbock
Oakland
Answer: Lubbock
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lubbock" . } UNION { ?e <pred:name> "Bangor" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1834-02-12"^^xsd:date . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lubbock
function: Find
inputs: Bangor
function: FilterDate
dependencies: 1
inputs: inception
1834-02-12
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater