Question: Which has the lowest elevation above sea level among the port cities that are in or next to the Mediterranean Sea?
Choices:
Busan
Gibraltar
Odessa
Fremantle
Alexandria
İzmir
Basra
Super 35
Barcelona
Tianjin
Program:
function: Find
inputs: Mediterranean Sea
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
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 <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Mediterranean Sea" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Barcelona