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