Question: Of North Carolina counties bordering York County, established in 1798, which occupies the most area?
Choices:
Franklin County
Davidson County
Brunswick County
Polk County
Guilford County
Mecklenburg County
Wake County
Madison County
Gaston County
Cumberland County
Program:
function: Find
inputs: York County
function: FilterYear
dependencies: 0
inputs: inception
1798
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of North Carolina
function: SelectAmong
dependencies: 3
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of North Carolina" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "York County" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:year> 1798 . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mecklenburg County