Question: Does Florence (whose local dialing code is 520) or West Hartford have the lower elevation above sea level?
Choices:
Amherst
Westport
Bedford
Florence
Greenwich
Uxbridge
Kensington
West Hartford
Brookline
Litchfield
Answer: West Hartford
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Florence" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "520" . } UNION { ?e <pred:name> "West Hartford" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Florence
function: FilterStr
dependencies: 0
inputs: local dialing code
520
function: Find
inputs: West Hartford
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less