Question: Which area is smaller, Allegany County (the one whose population is 73869) or Carroll County (the one whose inception time is 1837)?
Choices:
Baltimore County
Anne Arundel County
Allegany County
Harford County
Kent County
Prince George's County
Cecil County
Howard County
Frederick County
Charles County
Program:
function: Find
inputs: Allegany County
function: FilterNum
dependencies: 0
inputs: population
73869
=
function: Find
inputs: Carroll County
function: FilterYear
dependencies: 2
inputs: inception
1837
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Allegany County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "73869"^^xsd:double . } UNION { ?e <pred:name> "Carroll County" . ?e <inception> ?pv_2 . ?pv_2 <pred:year> 1837 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Allegany County