Question: Which area is smaller, DeKalb County (the one whose FIPS 6-4 (US counties) is 17037) or Peoria County?
Choices:
Logan County
Madison County
McLean County
Montgomery County
Clinton County
Monroe County
McHenry County
Peoria County
DeKalb County
DuPage County
Program:
function: Find
inputs: DeKalb County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
17037
function: Find
inputs: Peoria County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "DeKalb County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "17037" . } UNION { ?e <pred:name> "Peoria County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Peoria County