Question: What Pennsylvania county has a FIPS 6-4 (US counties) of 42119 and shares a border with Lycoming County?
Choices:
Franklin County
Sullivan County
Lehigh County
Union County
Columbia County
Warren County
Clinton County
Allegheny County
Westmoreland County
Cumberland County
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
42119
function: FilterConcept
dependencies: 1
inputs: county of Pennsylvania
function: Find
inputs: Lycoming County
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: county of Pennsylvania
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "42119" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Lycoming County" .  }
Answer: Union County