Question: Which administrative territorial entity with the demonym of Pennsylvanian is located in a state of the United States?
Choices:
Sedgwick County
Cache County
Lackawanna County
Pennsylvania's 12th congressional district
Somerset County
Lake Erie
Greene County
Chisago County
Cambria County
Douglas County
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Pennsylvanian
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 3
inputs: administrative territorial entity
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_1 <demonym> ?pv . ?pv <pred:value> "Pennsylvanian" .   }
Answer: Pennsylvania's 12th congressional district