Question: Which area is larger, Bremen (the one whose area is 419.38 square kilometre) or Brandenburg (the one that is the twinned administrative body of Saitama Prefecture)?
Choices:
Lower Saxony
North Rhine-Westphalia
Saxony-Anhalt
Mecklenburg-Vorpommern
Bremen
Saxony
Schleswig-Holstein
Brandenburg
Thuringia
Rhineland-Palatinate
Program:
function: Find
inputs: Bremen
function: FilterNum
dependencies: 0
inputs: area
419.38 square kilometre
=
function: Find
inputs: Saitama Prefecture
function: Relate
dependencies: 2
inputs: twinned administrative body
backward
function: Find
inputs: Brandenburg
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bremen" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "419.38"^^xsd:double . } UNION { ?e <pred:name> "Brandenburg" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Saitama Prefecture" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brandenburg