Question: Out of the counties in Maryland that share a border with Lancaster County, which has an area of 2548 sq km, which is the largest in area?
Choices: Allegany County
Frederick County
Carroll County
Harford County
Charles County
Howard County
Baltimore County
Kent County
Anne Arundel County
Prince George's County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maryland" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Lancaster County" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "2548"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lancaster County
function: FilterNum
dependencies: 0
inputs: area
2548 square kilometre
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Maryland
function: SelectAmong
dependencies: 3
inputs: area
largest
Answer: Harford County