Question: Does Delaware County (the one whose FIPS 6-4 (US counties) is 42045) or Allegheny County have less area?
Choices:
Warren County
Fayette County
Lehigh County
Westmoreland County
Franklin County
Delaware County
Erie County
Allegheny County
Bucks County
Cumberland County
Program:
function: Find
inputs: Delaware County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
42045
function: Find
inputs: Allegheny County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delaware County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "42045" . } UNION { ?e <pred:name> "Allegheny County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Delaware County