Question: Which has less area, Baltimore County or Allegany County founded on 1789-01-01?
Choices:
Anne Arundel County
Baltimore County
Carroll County
Cecil County
Charles County
Harford County
Frederick County
Allegany County
Prince George's County
Howard County
Program:
function: Find
inputs: Baltimore County
function: Find
inputs: Allegany County
function: FilterDate
dependencies: 1
inputs: inception
1789-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Baltimore County" . } UNION { ?e <pred:name> "Allegany County" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1789-01-01"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Allegany County