Question: What Maryland county shares a border with Chester County?
Choices:
Charles County
Lancaster County
Frederick County
Carroll County
Kent County
New Castle County
Cecil County
Berks County
Allegany County
Delaware County
Program:
function: Find
inputs: Chester County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: county of Maryland
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maryland" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Chester County" .   }
Answer: Cecil County