Question: What is the UN/LOCODE for the city that has the license plate code of PD?
Choices:
ITMSN
ITBRI
ITTRS
KRPUS
ITPMO
ITBRC
USNYC
ITFLR
ITPDA
DEMHG
Answer: ITPDA
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> "PD" . ?e <UN/LOCODE> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: licence plate code
PD
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: UN/LOCODE