Question: Which county of Pennsylvania shares border with Broome County ?
Choices:
Sullivan County
Wayne County
Allegheny County
Franklin County
Lehigh County
Delaware County
Cumberland County
Cambria County
Dauphin County
Erie County
Program:
function: Find
inputs: Broome County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: county of Pennsylvania
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Broome County" .   }
Answer: Wayne County