Question: What is the ISO 3166-2 for a US state that contains Hamilton County (the one whose FIPS 6-4 (US counties) is 39061) administration division ?
Choices:
US-NH
GB-ENG
CN-51
GB-NET
FR-H
GB-ESX
US-AL
US-OH
ID-BA
US-MD
Answer: US-OH
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Hamilton County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "39061" . ?e <ISO_3166-2_code> ?pv .  }
Program:
function: Find
inputs: Hamilton County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
39061
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: state of the United States
function: QueryAttr
dependencies: 3
inputs: ISO 3166-2 code