Question: Which area is smaller, Bristol County (the one whose population is 49875) or County Antrim?
Choices:
County Antrim
Bristol County
Orange County
Greene County
Washoe County
San Juan County
African Union
Cass County
Kent County
Delaware County
Program:
function: Find
inputs: Bristol County
function: FilterNum
dependencies: 0
inputs: population
49875
=
function: Find
inputs: County Antrim
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bristol County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "49875"^^xsd:double . } UNION { ?e <pred:name> "County Antrim" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bristol County