Question: What is the postal code of the US city that is the capital of Alaska (the one whose Swedish Anbytarforum is 6115.0)?
Choices:
78401–78402
190000
N9G
99501–99524
94133-2299
50674
99801-99803, 99811-99812, 99824, 99821
140-0002
87158
92052
Answer: 99801-99803, 99811-99812, 99824, 99821
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Alaska" . ?e_1 <Swedish_Anbytarforum> ?pv_1 . ?pv_1 <pred:value> "6115.0" . ?e <postal_code> ?pv .  }
Program:
function: Find
inputs: Alaska
function: FilterStr
dependencies: 0
inputs: Swedish Anbytarforum
6115.0
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttr
dependencies: 3
inputs: postal code