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