Question: Which area is smaller, Livingston County (the one whose inception time is 1821) or Essex County (the one whose inception time is 1799-03-01)?
Choices:
Cayuga County
Niagara County
Jefferson County
Livingston County
Warren County
Clinton County
Rensselaer County
Albany County
Greene County
Essex County
Program:
function: Find
inputs: Livingston County
function: FilterYear
dependencies: 0
inputs: inception
1821
=
function: Find
inputs: Essex County
function: FilterDate
dependencies: 2
inputs: inception
1799-03-01
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Livingston County" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1821 . } UNION { ?e <pred:name> "Essex County" . ?e <inception> ?pv_2 . ?pv_2 <pred:date> "1799-03-01"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Livingston County