Question: What is the official name of the United States city that is the capital of Idaho (whose FIPS 5-2 numeric code for US states is 16)?
Choices:
Province of South Australia
中華人民共和國
Boise
Neuilly-sur-Seine
Dorpat
Estado de la Ciudad del Vaticano
Naciones Unidas
Malawi
جمهورية جيبوتي
주식회사 에스.엠.엔터테인먼트
Answer: Boise
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Idaho" . ?e_1 <FIPS_5-2_numeric_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> "16" . ?e <official_name> ?pv .  }
Program:
function: Find
inputs: Idaho
function: FilterStr
dependencies: 0
inputs: FIPS 5-2 numeric code (US states)
16
function: Relate
dependencies: 1
inputs: capital
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttr
dependencies: 3
inputs: official name