Question: Which area of the country Weimar Republic has highest elevation (above sea level) in state of Germany?
Choices:
Mecklenburg-Vorpommern
Saxony-Anhalt
North Rhine-Westphalia
Bremen
Brandenburg
Saxony
Rhineland-Palatinate
Thuringia
Lower Saxony
Bavaria
Answer: Bavaria
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e <country> ?e_1 . ?e_1 <pred:name> "Weimar Republic" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Weimar Republic
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
largest