Question: Which has a above sea level greater elevation, Uxbridge or Bryn Mawr?
Choices:
Chapel Hill
Uxbridge
Greenwich
Kensington
Bryn Mawr
Litchfield
Bedford
Westport
Brookline
West Hartford
Program:
function: Find
inputs: Uxbridge
function: Find
inputs: Bryn Mawr
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uxbridge" .  } UNION { ?e <pred:name> "Bryn Mawr" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bryn Mawr