Question: Which area is smaller, Columbia County (the one whose area is 1269 square kilometre) or Clinton County (the one whose population is 39232)?
Choices:
Fayette County
Cumberland County
Warren County
Allegheny County
Franklin County
Columbia County
Clinton County
Lehigh County
Westmoreland County
Bucks County
Answer: Columbia County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbia County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1269"^^xsd:double . } UNION { ?e <pred:name> "Clinton County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "39232"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Columbia County
function: FilterNum
dependencies: 0
inputs: area
1269 square kilometre
=
function: Find
inputs: Clinton County
function: FilterNum
dependencies: 2
inputs: population
39232
=
function: SelectBetween
dependencies: 1
3
inputs: area
less