Question: Does Adelaide whose elevation above sea level is 1 metre or Beijing have less area?
Choices:
Cork
Bergen
Kilkenny
Abidjan
Dundee
Santo Domingo
Trieste
Beijing
Adelaide
Chihuahua
Answer: Adelaide
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Adelaide" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "Beijing" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Adelaide
function: FilterNum
dependencies: 0
inputs: elevation above sea level
1 metre
=
function: Find
inputs: Beijing
function: SelectBetween
dependencies: 1
2
inputs: area
less