Question: Which has greater population, Mecklenburg-Vorpommern or Saxony-Anhalt whose population is 2245470?
Choices: Lower Saxony
Thuringia
Bremen
Schleswig-Holstein
Brandenburg
Saxony-Anhalt
North Rhine-Westphalia
Mecklenburg-Vorpommern
Bavaria
Rhineland-Palatinate
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mecklenburg-Vorpommern" . } UNION { ?e <pred:name> "Saxony-Anhalt" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2245470"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mecklenburg-Vorpommern
function: Find
inputs: Saxony-Anhalt
function: FilterNum
dependencies: 1
inputs: population
2245470
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater
Answer: Saxony-Anhalt