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