Question: Northampton County, designated by FIPS 6-4 (US counties) code 42095, has what relation to Monroe County in Pennsylvania?
Choices:
mascot
shares border with
contains administrative territorial entity
position held
soundtrack album
relative
present in work
series spin-off
seed team
month of the year
Program:
function: Find
inputs: Northampton County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
42095
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Monroe County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Northampton County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "42095" . ?e_2 <pred:name> "Monroe County" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Pennsylvania" . ?e_1 ?p ?e_2 .  }
Answer: shares border with