Question: For Pennsylvania counties sharing a border with Warren County, which one is characterized by the smallest amount of area and also has a FIPS 6-4 (US counties) of 34041?
Choices:
Warren County
Bucks County
Fayette County
Lehigh County
Northampton County
Franklin County
Monroe County
Allegheny County
Cumberland County
Westmoreland County
Answer: Northampton County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Warren County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "34041" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Warren County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
34041
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Pennsylvania
function: SelectAmong
dependencies: 3
inputs: area
smallest