Question: Is the smaller area occupied by Delaware County, population 47980, or Sullivan County (Dewey Decimal Classification 2--74735)?
Choices:
Clinton County
Cayuga County
Albany County
Orange County
Jefferson County
Greene County
Delaware County
Sullivan County
Warren County
Niagara County
Answer: Sullivan County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delaware County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "47980"^^xsd:double . } UNION { ?e <pred:name> "Sullivan County" . ?e <Dewey_Decimal_Classification> ?pv_2 . ?pv_2 <pred:value> "2--74735" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Delaware County
function: FilterNum
dependencies: 0
inputs: population
47980
=
function: Find
inputs: Sullivan County
function: FilterStr
dependencies: 2
inputs: Dewey Decimal Classification
2--74735
function: SelectBetween
dependencies: 1
3
inputs: area
less