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