Question: Which port city that is the twinned administrative body of Havana (that is the birthplace of Al Jourgensen) has the highest elevation above sea level?
Choices:
Gibraltar
Busan
Basra
Tabu
İzmir
Fremantle
Barcelona
Tianjin
Odessa
Alexandria
Program:
function: Find
inputs: Al Jourgensen
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Havana
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: port city
function: SelectAmong
dependencies: 5
inputs: elevation above sea level
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "port city" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Havana" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Al Jourgensen" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Barcelona