Question: Which area is smaller, Hampshire County (the one whose population is 158080) or Plymouth County (the one whose population is 494919)?
Choices: Franklin County
Essex County
Norfolk County
Hampshire County
Berkshire County
Suffolk County
Plymouth County
Middlesex County
Bristol County
Barnstable County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hampshire County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "158080"^^xsd:double . } UNION { ?e <pred:name> "Plymouth County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "494919"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hampshire County
function: FilterNum
dependencies: 0
inputs: population
158080
=
function: Find
inputs: Plymouth County
function: FilterNum
dependencies: 2
inputs: population
494919
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
Answer: Hampshire County