Question: Which county of Pennsylvania that shares a border with Sullivan County (which has an FIPS 6-4 (US counties) of 42113) has the largest area?
Choices:
Lehigh County
Bucks County
Allegheny County
Lycoming County
Westmoreland County
Franklin County
Luzerne County
Warren County
Fayette County
Cumberland County
Answer: Lycoming 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> "Sullivan County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "42113" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sullivan County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
42113
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Pennsylvania
function: SelectAmong
dependencies: 3
inputs: area
largest