Question: I need to know which one has the smallest elevation (over sea level) among the port city that is called the administrative body of Varna.
Choices:
Busan
Basra
Gibraltar
Odessa
Fremantle
Barcelona
Tianjin
printmaking
İzmir
Alexandria
Program:
function: Find
inputs: Varna
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 1
inputs: port city
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "port city" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Varna" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Barcelona