Question: Which has the greater area, Brandenburg (which contains Potsdam) or Bremen (whose above sea level elevation is 0 metres)?
Choices: Rhineland-Palatinate
Thuringia
Bremen
Brandenburg
Saxony-Anhalt
Bavaria
Schleswig-Holstein
Saxony
North Rhine-Westphalia
Mecklenburg-Vorpommern
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brandenburg" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Potsdam" . } UNION { ?e <pred:name> "Bremen" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "0"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Potsdam
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Brandenburg
function: And
dependencies: 1
2
function: Find
inputs: Bremen
function: FilterNum
dependencies: 4
inputs: elevation above sea level
0 metre
=
function: SelectBetween
dependencies: 3
5
inputs: area
greater
Answer: Brandenburg