Question: Of German states in the German Empire that warred with Austria-Hungary, which is lowest in elevation?
Choices:
Bavaria
Brandenburg
Saxony-Anhalt
Mecklenburg-Vorpommern
Lower Saxony
Saxony
Bremen
Rhineland-Palatinate
Schleswig-Holstein
North Rhine-Westphalia
Program:
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 0
inputs: military conflicts
backward
function: Find
inputs: German Empire
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: SelectAmong
dependencies: 5
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "German Empire" . ?e_1 <military_conflicts> ?e_2 . ?e_2 <pred:name> "Austria-Hungary" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bremen