Question: Is there a greater elevation above sea level in Columbia (population 103683) or Brno?
Choices:
Wigan
Macclesfield
Royal Tunbridge Wells
Columbia
Colchester
South Shields
Edmonton
Brno
Blackburn
Doncaster
Answer: Brno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbia" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "103683"^^xsd:double . } UNION { ?e <pred:name> "Brno" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Columbia
function: FilterNum
dependencies: 0
inputs: population
103683
=
function: Find
inputs: Brno
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater