Question: What is the ISO 3166-2 code for the landform whose country is the Bahamas (whose citizens are the باهامي people)?
Choices:
FR-78
US-FL
CN-HN
BS-LI
IE-KE
KR-27
IE-MH
DE-HH
CN-MO
MY-07
Answer: BS-LI
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" . ?e <country> ?e_1 . ?e_1 <pred:name> "Bahamas" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "باهامي" . ?e <ISO_3166-2_code> ?pv .  }
Program:
function: Find
inputs: Bahamas
function: FilterStr
dependencies: 0
inputs: demonym
باهامي
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: landform
function: QueryAttr
dependencies: 3
inputs: ISO 3166-2 code