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