Question: Is the area greater for Washington County, whose area is 1880 square kilometres, or Clackamas County?
Choices:
Jackson County
Marion County
Douglas County
Lane County
Clackamas County
Linn County
Columbia County
Lake County
Washington County
Yamhill County
Answer: Clackamas County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clackamas County" . } UNION { ?e <pred:name> "Washington County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1880"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Clackamas County
function: Find
inputs: Washington County
function: FilterNum
dependencies: 1
inputs: area
1880 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater