Question: Regarding the port city that is an administrative division of South Korea tell me the UN/LOCODE.
Choices:
ITMSN
USCMI
ITPDA
ITTRV
ITPMF
DEESS
ITTRS
ITNAP
FRMRS
KRPUS
Answer: KRPUS
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "port city" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "South Korea" .  ?e <UN/LOCODE> ?pv .  }
Program:
function: Find
inputs: South Korea
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: port city
function: QueryAttr
dependencies: 2
inputs: UN/LOCODE