Question: Which area is larger, Columbia County (the one whose area is 1783 square kilometre) or Linn County (the one whose FIPS 6-4 (US counties) is 41043)?
Choices:
Douglas County
Linn County
Lake County
Tillamook County
Yamhill County
Jackson County
Clackamas County
Washington County
Columbia County
Marion County
Program:
function: Find
inputs: Columbia County
function: FilterNum
dependencies: 0
inputs: area
1783 square kilometre
=
function: Find
inputs: Linn County
function: FilterStr
dependencies: 2
inputs: FIPS 6-4 (US counties)
41043
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbia County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1783"^^xsd:double . } UNION { ?e <pred:name> "Linn County" . ?e <FIPS_6-4_(US_counties)> ?pv_2 . ?pv_2 <pred:value> "41043" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Linn County