Question: Does Bradford, which has a 214 metre elevation above sea level, or Quetta have a larger area?
Choices:
Kilkenny
Trieste
Quetta
Cork
Santo Domingo
Chihuahua
Kingston
Bergen
Abidjan
Dundee
Answer: Quetta
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quetta" . } UNION { ?e <pred:name> "Bradford" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "214"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Quetta
function: Find
inputs: Bradford
function: FilterNum
dependencies: 1
inputs: elevation above sea level
214 metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater