Question: What is the licence plate code for Shanghai (the one whose ISO 3166-2 code is CN-SH)?
Choices:
RG
SO
KA
JK01
沪A
DY
EAU
RWA
LK
HI
Answer: 沪A
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Shanghai" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "CN-SH" . ?e <licence_plate_code> ?pv .  }
Program:
function: Find
inputs: Shanghai
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
CN-SH
function: QueryAttr
dependencies: 1
inputs: licence plate code