Question: What is the ISO 3166-2 code for the metropolitan borough that has a TOID of 7000000000005974?
Choices:
GB-BPL
FR-BRE
IT-52
DE-BE
GB-LIV
RS-00
GB-ESS
CZ-PR
IE-KE
FR-M
Answer: GB-LIV
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "7000000000005974" . ?e <ISO_3166-2_code> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
7000000000005974
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: QueryAttr
dependencies: 2
inputs: ISO 3166-2 code