Question: Which first-level administrative-country subdivision, headed by a premier, has the smallest elevation (above sea level)?
Choices:
Eastern Cape
England
Podlaskie Voivodeship
Western Australia
New South Wales
Minas Gerais
Upper Austria
Victoria
South Australia
Queensland
Program:
function: Find
inputs: premier
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "premier" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New South Wales