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