Question: What Maryland county shares a border with Howard County, which has an area of 657 square kilometers, and has an FIPS 6-4 (US counties) equal to 24013?
Choices:
Carroll County
Cecil County
Frederick County
Baltimore County
Howard County
Kent County
Montgomery County
Charles County
Allegany County
Anne Arundel County
Answer: Carroll County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maryland" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Howard County" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "657"^^xsd:double .  ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "24013" .  }
Program:
function: Find
inputs: Howard County
function: FilterNum
dependencies: 0
inputs: area
657 square kilometre
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Maryland
function: FindAll
function: FilterStr
dependencies: 4
inputs: FIPS 6-4 (US counties)
24013
function: FilterConcept
dependencies: 5
inputs: county of Maryland
function: And
dependencies: 3
6
function: What
dependencies: 7