Question: Does Barnstable County or Bristol County, population 550856, occupy a larger area?
Choices:
Norfolk County
Middlesex County
Bristol County
Worcester County
Suffolk County
Berkshire County
Barnstable County
Plymouth County
Franklin County
Hampshire County
Program:
function: Find
inputs: Barnstable County
function: Find
inputs: Bristol County
function: FilterNum
dependencies: 1
inputs: population
550856
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barnstable County" . } UNION { ?e <pred:name> "Bristol County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "550856"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Barnstable County