Question: Which zip code designates the city whose FIPS 10-4 (countries and regions) code is SM07?
Choices:
RSM-47890
60655
SR9
06000
90040
39122
20156
NW1 5HT
11530-0701
46235
Answer: RSM-47890
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "SM07" . ?e <postal_code> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
SM07
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: postal code