Question: Which administrative territorial entity is named after the city whose FIPS 10-4, for countries and regions, is UKB7 ?
Choices:
Fayette County
Fairfield County
African Union
Munich
British Virgin Islands
Washoe County
Bristol County
Kent County
Orange County
Cass County
Answer: Bristol County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "UKB7" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
UKB7
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: named after
backward
function: FilterConcept
dependencies: 3
inputs: administrative territorial entity
function: What
dependencies: 4