Question: What is the FIPS 10-4 (countries and regions) of Sheffield (the one that is the headquarter location of University of Sheffield)?
Choices:
UKP2
KE
RPG5
JA11
UKL9
IT18
NL02
IZ
UKL2
MY16
Program:
function: Find
inputs: University of Sheffield
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Sheffield
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Sheffield" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "University of Sheffield" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }
Answer: UKL9