Question: Which is lower relative to sea level: Hanover, founded in 1761, or Florence, with an elevation of 454 meters?
Choices:
Hanover
Westport
Chapel Hill
Florence
West Hartford
Kensington
Bedford
Brookline
Uxbridge
Greenwich
Program:
function: Find
inputs: Hanover
function: FilterYear
dependencies: 0
inputs: inception
1761
=
function: Find
inputs: Florence
function: FilterNum
dependencies: 2
inputs: elevation above sea level
454 metre
=
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hanover" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1761 . } UNION { ?e <pred:name> "Florence" . ?e <elevation_above_sea_level> ?pv_2 . ?pv_2 <pred:unit> "metre" . ?pv_2 <pred:value> "454"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hanover