Question: Which North Carolina county borders Guilford County?
Choices:
Cumberland County
Mecklenburg County
Wake County
Brunswick County
Madison County
Franklin County
Gaston County
Guilford County
Polk County
Davidson County
Program:
function: Find
inputs: Guilford County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: county of North Carolina
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of North Carolina" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Guilford County" .   }
Answer: Davidson County