Question: When was the Pennsylvania county that borders Frederick County whose FIPS 6-4 (US counties) is 24021 founded?
Choices:
1843-01-01
1818-03-01
1950-08-15
1905-02-01
2001-07-01
1140
1854-01-01
1828-10-17
1784-01-01
1867-01-01
Answer: 1784-01-01
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Frederick County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "24021" . ?e <inception> ?pv .  }
Program:
function: Find
inputs: Frederick County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
24021
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Pennsylvania
function: QueryAttr
dependencies: 3
inputs: inception