Question: Which area is smaller, Jefferson County (the one whose FIPS 6-4 (US counties) is 36045) or Dutchess County?
Choices:
Chautauqua County
Dutchess County
Jefferson County
Greene County
Clinton County
Orange County
Niagara County
Albany County
Rensselaer County
Cayuga County
Program:
function: Find
inputs: Jefferson County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
36045
function: Find
inputs: Dutchess County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "36045" . } UNION { ?e <pred:name> "Dutchess County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dutchess County