Question: Which area is larger, Sullivan County (the one that shares border with Lycoming County) or Jefferson County (the one whose FIPS 6-4 (US counties) is 42065)?
Choices:
Lehigh County
Sullivan County
Fayette County
York County
Westmoreland County
Allegheny County
Warren County
Jefferson County
Bucks County
Franklin County
Program:
function: Find
inputs: Lycoming County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Sullivan County
function: And
dependencies: 1
2
function: Find
inputs: Jefferson County
function: FilterStr
dependencies: 4
inputs: FIPS 6-4 (US counties)
42065
function: SelectBetween
dependencies: 3
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sullivan County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Lycoming County" . } UNION { ?e <pred:name> "Jefferson County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "42065" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jefferson County