Question: Which place has a larger area, out of Bucks County or Lancaster County (with a FIPS 6-4 (US counties) of 42071)?
Choices:
Bucks County
Lehigh County
Cumberland County
Allegheny County
Fayette County
Westmoreland County
Franklin County
Lancaster County
Warren County
York County
Program:
function: Find
inputs: Lancaster County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
42071
function: Find
inputs: Bucks County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lancaster County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "42071" . } UNION { ?e <pred:name> "Bucks County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lancaster County