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