Question: Is the elevation lower in North Rhine-Westphalia or in Brandenburg, at 0 meters above sea level?
Choices:
Bavaria
Lower Saxony
Schleswig-Holstein
Bremen
Saxony-Anhalt
North Rhine-Westphalia
Rhineland-Palatinate
Mecklenburg-Vorpommern
Brandenburg
Thuringia
Answer: Brandenburg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North Rhine-Westphalia" . } UNION { ?e <pred:name> "Brandenburg" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "0"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: North Rhine-Westphalia
function: Find
inputs: Brandenburg
function: FilterNum
dependencies: 1
inputs: elevation above sea level
0 metre
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less