Question: Does Franklin County, with a Dewey Decimal Classification of 2--74422, or Suffolk County, with a population of 735607, have less area?
Choices:
Franklin County
Middlesex County
Suffolk County
Worcester County
Berkshire County
Plymouth County
Essex County
Norfolk County
Hampshire County
Barnstable County
Answer: Suffolk County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Franklin County" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--74422" . } UNION { ?e <pred:name> "Suffolk County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "735607"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Franklin County
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--74422
function: Find
inputs: Suffolk County
function: FilterNum
dependencies: 2
inputs: population
735607
=
function: SelectBetween
dependencies: 1
3
inputs: area
less