Question: Which area is larger, Erie County (the one whose inception time is 1821) or Rensselaer County?
Choices:
Cayuga County
Clinton County
Niagara County
Chautauqua County
Orange County
Warren County
Jefferson County
Erie County
Greene County
Albany County
Program:
function: Find
inputs: Erie County
function: FilterYear
dependencies: 0
inputs: inception
1821
=
function: Find
inputs: Rensselaer County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Erie County" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1821 . } UNION { ?e <pred:name> "Rensselaer County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Erie County