Question: What FIPS 10-4 (countries and regions) is applicable to the twinned administrative body of Duisburg known as Portsmouth?
Choices:
RP51
PL82
UKO7
AS07
US24
UKK6
IN36
CA12
EG
UKU8
Program:
function: Find
inputs: Duisburg
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Portsmouth
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Portsmouth" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Duisburg" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }
Answer: UKK6