Question: Does the Saxony in Germany or Bavaria have the larger nominal GDP value?
Choices: Rhineland-Palatinate
Saxony-Anhalt
Saxony
Thuringia
Bavaria
Schleswig-Holstein
Bremen
Brandenburg
Mecklenburg-Vorpommern
North Rhine-Westphalia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saxony" . ?e <country> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Bavaria" .  } ?e <nominal_GDP> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Saxony
function: And
dependencies: 1
2
function: Find
inputs: Bavaria
function: SelectBetween
dependencies: 3
4
inputs: nominal GDP
greater
Answer: Bavaria