Question: Of German states that are administrative divisions of the Weimar Republic, which is lowest in elevation?
Choices:
Lower Saxony
Bavaria
Rhineland-Palatinate
North Rhine-Westphalia
Saxony
Mecklenburg-Vorpommern
Bremen
Thuringia
Brandenburg
Schleswig-Holstein
Program:
function: Find
inputs: Weimar Republic
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Weimar Republic" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bremen