Question: What administrative territorial entity is the capital of the Pennsylvania county that contains Lincoln University?
Choices:
West Midlands
Norristown
Sullivan County
African Union
Orange County
British Virgin Islands
West Chester
Cass County
Kent County
Delaware County
Program:
function: Find
inputs: Lincoln University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: county of Pennsylvania
function: Relate
dependencies: 2
inputs: capital
forward
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_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of Pennsylvania" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Lincoln University" .   }
Answer: West Chester