Question: Which administrative territorial entity shares borders with Beaver County?
Choices:
Hancock County
Washington County
Orange County
Allegheny County
Washoe County
Zaragoza
Munich
Hampshire County
African Union
Fife
Program:
function: Find
inputs: Beaver County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Beaver County" .   }
Answer: Hancock County