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