Question: When did the the North Carolina county that shares a border with Madison County (whose population is 20836) begin?
Choices:
1791-12-05
1632
1965-01-01
1496
1929-02-26
1871-01-18
1816-01-01
1930-12-06
1919
1987-02-20
Answer: 1791-12-05
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of North Carolina" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Madison County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "20836"^^xsd:double . ?e <inception> ?pv .  }
Program:
function: Find
inputs: Madison County
function: FilterNum
dependencies: 0
inputs: population
20836
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of North Carolina
function: QueryAttr
dependencies: 3
inputs: inception