Question: Is the smaller area occupied by Jackson County, population 208545, or Lake County that borders Washoe County?
Choices:
Yamhill County
Douglas County
Washington County
Lake County
Jackson County
Lane County
Columbia County
Tillamook County
Clackamas County
Marion County
Answer: Jackson County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackson County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "208545"^^xsd:double . } UNION { ?e <pred:name> "Lake County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Washoe County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jackson County
function: FilterNum
dependencies: 0
inputs: population
208545
=
function: Find
inputs: Washoe County
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: Lake County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less