Question: What is the FIPS 10-4 (countries and regions) of the town whose NUTS code is UKD61?
Choices:
PP
CA08
UKB7
RPF2
FRB2
RS66
UKH4
UKP2
MI
US16
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: NUTS code
UKD61
function: FilterConcept
dependencies: 1
inputs: town
function: QueryAttr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "UKD61" . ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }
Answer: UKP2