Question: Does West Hartford or Florence (whose elevation above sea level is 454 meters) have the larger population?
Choices: Florence
Uxbridge
Chapel Hill
Brookline
Westport
Amherst
West Hartford
Kensington
Greenwich
Litchfield
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Hartford" . } UNION { ?e <pred:name> "Florence" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "454"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: West Hartford
function: Find
inputs: Florence
function: FilterNum
dependencies: 1
inputs: elevation above sea level
454 metre
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater
Answer: West Hartford