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