Question: What is the Maryland county whose FIPS 6-4 (US counties) is 24043 and that shares a border with Fulton County (whose population is 14629)?
Choices: Baltimore County
Washington County
Allegany County
Harford County
Frederick County
Kent County
Charles County
Cecil County
Prince George's County
Carroll County
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> "Fulton County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "14629"^^xsd:double .  ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "24043" .  }
Program:
function: Find
inputs: Fulton County
function: FilterNum
dependencies: 0
inputs: population
14629
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Maryland
function: FindAll
function: FilterStr
dependencies: 4
inputs: FIPS 6-4 (US counties)
24043
function: FilterConcept
dependencies: 5
inputs: county of Maryland
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: Washington County