Question: Among the independent German cities which have Weimar Republic as their country, which one has the smallest elevation (above sea level)?
Choices:
Frankfurt (Oder)
Bayreuth
Carlsbad
The Aristocrats
Unforgiven
Baden-Baden
Martin Balsam
Coburg
Weimar
Hollywood
Program:
function: Find
inputs: Weimar Republic
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: independent city of Germany
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city of Germany" . ?e <country> ?e_1 . ?e_1 <pred:name> "Weimar Republic" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Frankfurt (Oder)